L
Larry Hodges
Running Access 2002.
I have a query on one form's combo box that's looking to another form,
frmCustomerLumberTally, for criteria. The field BundleQuant it's
referencing is Long Integer, and it's the same table on both forms.
If there is data in BundleQuant, everything is fine and the query returns
results. If the field is Null, there no results are returned. So I've
tried qualifying using another field named TallyType. In other words, if
TallyType = "Bundle", there will be a value in BundleQuant. This is what I
have and doesn't work:
IIf([Forms]![frmCustomerLumberTally]![TallyType]="Bundle",[Forms]![frmCustomerLumberTally]![BundleQuant])
Am I making this too complicated? Is there another way to deal with a Null
value in BundleQuant?
Thanks in advance for your help,
-Larry
I have a query on one form's combo box that's looking to another form,
frmCustomerLumberTally, for criteria. The field BundleQuant it's
referencing is Long Integer, and it's the same table on both forms.
If there is data in BundleQuant, everything is fine and the query returns
results. If the field is Null, there no results are returned. So I've
tried qualifying using another field named TallyType. In other words, if
TallyType = "Bundle", there will be a value in BundleQuant. This is what I
have and doesn't work:
IIf([Forms]![frmCustomerLumberTally]![TallyType]="Bundle",[Forms]![frmCustomerLumberTally]![BundleQuant])
Am I making this too complicated? Is there another way to deal with a Null
value in BundleQuant?
Thanks in advance for your help,
-Larry