originalxavier
Programmer
I am trying to set up a form that will progressively filter records. There are two fields
Type:
Description:
When a user selects the type and leaves that field, I have the "On Exit" event that requeries the Description Field. So far I am having nothing but trouble. The error msg is "The syntax of the subquery in this expression is incorrect. Check the subquery's syntax and enclose the subquery in parentheses."
The expression:
Select [EQUIPMENT].[DESCRIPTION] FROM EQUIPMENT WHERE ((([EQUIPMENT].[Type]=[Forms]![frm_Parent]![subfrm_Equipment]!Type)) ORDER BY EQUIPMENT.DESCRIPTION
WhenI don't get this error message, it prompts me for the "[Forms]![frm_Parent]![subfrm_Equipment]!Type" value instead of using what is on the form.
Thanks in advance
Xavier
----------------------------------------
"Programming today is a race between software engineers striving to build bigger and better idiot-proof programs, and the Universe trying to produce bigger and better idiots. So far the Universe is winning."
Rick Cook
----------------------------------------
Type:
Description:
When a user selects the type and leaves that field, I have the "On Exit" event that requeries the Description Field. So far I am having nothing but trouble. The error msg is "The syntax of the subquery in this expression is incorrect. Check the subquery's syntax and enclose the subquery in parentheses."
The expression:
Select [EQUIPMENT].[DESCRIPTION] FROM EQUIPMENT WHERE ((([EQUIPMENT].[Type]=[Forms]![frm_Parent]![subfrm_Equipment]!Type)) ORDER BY EQUIPMENT.DESCRIPTION
WhenI don't get this error message, it prompts me for the "[Forms]![frm_Parent]![subfrm_Equipment]!Type" value instead of using what is on the form.
Thanks in advance
Xavier
----------------------------------------
"Programming today is a race between software engineers striving to build bigger and better idiot-proof programs, and the Universe trying to produce bigger and better idiots. So far the Universe is winning."
Rick Cook
----------------------------------------