B
Bruce
I am attempting to develop a complex criteria parameter query (based upon a
form) where Department range is critical. The first, third and fourth lines
execute properly. When I change the data in the form to match line two, no
records are selected. All other conditions will produce the correct results.
What have I coded in error?
Field: Department
First Criteria Line: >=[Forms]![Report Selection].[DeptStart] And
<=[Forms]![Report Selection].[DeptEnd]
Second Criteria Line: <=[Forms]![Report Selection].[DeptEnd]
Third Criteria Line: >=[Forms]![Report Selection].[DeptStart]
Field: DStart: [Forms]![Report Selection].[DeptStart]
First Criteria Line: Is Not Null
Second Criteria Line: Is Null
Third Criteria Line: Is Not Null
Fourth Criteria Line: Is Null
Field: DEnd: [Forms]![Report Selection].[DeptEnd]
First Criteria Line: Is Not Null
Second Criteria Line: Is Not Null
Third Criteria Line: Is Null
Fourth Criteria Line: Is Null
form) where Department range is critical. The first, third and fourth lines
execute properly. When I change the data in the form to match line two, no
records are selected. All other conditions will produce the correct results.
What have I coded in error?
Field: Department
First Criteria Line: >=[Forms]![Report Selection].[DeptStart] And
<=[Forms]![Report Selection].[DeptEnd]
Second Criteria Line: <=[Forms]![Report Selection].[DeptEnd]
Third Criteria Line: >=[Forms]![Report Selection].[DeptStart]
Field: DStart: [Forms]![Report Selection].[DeptStart]
First Criteria Line: Is Not Null
Second Criteria Line: Is Null
Third Criteria Line: Is Not Null
Fourth Criteria Line: Is Null
Field: DEnd: [Forms]![Report Selection].[DeptEnd]
First Criteria Line: Is Not Null
Second Criteria Line: Is Not Null
Third Criteria Line: Is Null
Fourth Criteria Line: Is Null