CharlieT302
Instructor
Hi All,
Here is my question.
I have a drop-down box that displays vendors from the same county as the customer whose record is active. The customer record is on a main form and the vendor is on a subform. I use a criteria on the underlying query for the drop down box that looks at the county field on the primary field.
Example:
[forms]![frm Referral Primary].[County Code]
This works great. However, I need a second filter. The drop down box must display only those vendors from the customer's county that provide a specific service.
The Service field and the drop-down box are both on the subform. I can't get the criteria to read the Service field.
I tried using [Service] on the same line as the above criteria to create an "and" statement. Doesn't work.
I tried [Forms]![frm Referral Foreign].[Service] - it also didn't work. I am sure my syntax is wrong.
Any ideas? Thanks much.
Here is my question.
I have a drop-down box that displays vendors from the same county as the customer whose record is active. The customer record is on a main form and the vendor is on a subform. I use a criteria on the underlying query for the drop down box that looks at the county field on the primary field.
Example:
[forms]![frm Referral Primary].[County Code]
This works great. However, I need a second filter. The drop down box must display only those vendors from the customer's county that provide a specific service.
The Service field and the drop-down box are both on the subform. I can't get the criteria to read the Service field.
I tried using [Service] on the same line as the above criteria to create an "and" statement. Doesn't work.
I tried [Forms]![frm Referral Foreign].[Service] - it also didn't work. I am sure my syntax is wrong.
Any ideas? Thanks much.