J
johnlute
I'm filtering a query through two controls on a form but I've reached
the point of breakdown trying to resolve it so I figured I'd better
post here before I lose what's left of my mind.
The form is designed so that the user can enter two values into two
unbound controls. The query has a column with this:
Between [Forms]![frmFinishedGoods]![sfrmFGPhysicalAttributes].[Form]!
[MinTUS] And [Forms]![frmFinishedGoods]![sfrmFGPhysicalAttributes].
[Form]![MaxTUS]
I want this to be more flexible.
What if the user has no [MinTUS] value?
What if they have no [MaxTUS] value?
What if they have neither values and want to see all records?
I've been tinkering with this and just can't get it worked out to
answer all of the questions/conditions. I've tried the Like operator
several different ways but to no good end.
Any help would be greatly appreciated!
Thanks!!!
the point of breakdown trying to resolve it so I figured I'd better
post here before I lose what's left of my mind.
The form is designed so that the user can enter two values into two
unbound controls. The query has a column with this:
Between [Forms]![frmFinishedGoods]![sfrmFGPhysicalAttributes].[Form]!
[MinTUS] And [Forms]![frmFinishedGoods]![sfrmFGPhysicalAttributes].
[Form]![MaxTUS]
I want this to be more flexible.
What if the user has no [MinTUS] value?
What if they have no [MaxTUS] value?
What if they have neither values and want to see all records?
I've been tinkering with this and just can't get it worked out to
answer all of the questions/conditions. I've tried the Like operator
several different ways but to no good end.
Any help would be greatly appreciated!
Thanks!!!