Hi,
I have a parameter query that works to a point. There are 5 parameters. My problem is that when I enter a parameter, say Vendor, the result not only pulls up all of the records that match that Vendor, but also any records where Vendor is blank. I believe these blank records are zero length and not null. I cannot figure out why the query is returning these records in addition to the correct ones. In the query, my Expression for the criteria for each parameter is essentially (different txtbox for each, of course)
[Forms]![frmDate]![txtVendor] Or [Forms]![frmDate]![txtVendor] Is Null
I am not having a porblem leaving any parametetrs blank as many seem to have encountered.
Any help would be appreciated. Thanks a lot.
Dan
I have a parameter query that works to a point. There are 5 parameters. My problem is that when I enter a parameter, say Vendor, the result not only pulls up all of the records that match that Vendor, but also any records where Vendor is blank. I believe these blank records are zero length and not null. I cannot figure out why the query is returning these records in addition to the correct ones. In the query, my Expression for the criteria for each parameter is essentially (different txtbox for each, of course)
[Forms]![frmDate]![txtVendor] Or [Forms]![frmDate]![txtVendor] Is Null
I am not having a porblem leaving any parametetrs blank as many seem to have encountered.
Any help would be appreciated. Thanks a lot.
Dan