Hi -
In Access 2000, I have a form I want to filter, but I can't get the syntax right in the code.
Form: [JOB filtered]
Subform: [P PRODUCT]
Control on [P PRODUCT]: txtStart
Nested Subform on [P PRODUCT]: [Survey Form]
Control on [Survey Form]: txtSDate
Both controls are dates.
I want to filter the form "On Open" to show only records in which txtStart is not null and txtSDate is null.
I've figured out how to reference the controls:
Forms![JOB filtered]![P PRODUCT].Form![txtStart]
and
Forms![JOB filtered]![P PRODUCT].Form![Survey Form].Form![txtSDate]
... but I can't figure out the null/not null part.
How would I write this?
Angi
In Access 2000, I have a form I want to filter, but I can't get the syntax right in the code.
Form: [JOB filtered]
Subform: [P PRODUCT]
Control on [P PRODUCT]: txtStart
Nested Subform on [P PRODUCT]: [Survey Form]
Control on [Survey Form]: txtSDate
Both controls are dates.
I want to filter the form "On Open" to show only records in which txtStart is not null and txtSDate is null.
I've figured out how to reference the controls:
Forms![JOB filtered]![P PRODUCT].Form![txtStart]
and
Forms![JOB filtered]![P PRODUCT].Form![Survey Form].Form![txtSDate]
... but I can't figure out the null/not null part.
How would I write this?
Angi
Comment