andrewf10
Registered User.
- Local time
- Today, 18:11
- Joined
- Mar 2, 2003
- Messages
- 114
I'm trying to write a SQL statement on a form called frmForm1 but when I run it, I get a Type Mismatch error message. All the relevant fields are set to text on their tables so I'm out of ideas. Can someone please help?
Many thanks
DoCmd.RunSQL "SELECT tblCollateralPurchasingGroups.[Purchasing Group] FROM tblCollateralPurchasingGroups WHERE (((tblCollateralPurchasingGroups.Material)=[Forms]![frmForm1]![COMPONENT 1]));"
Many thanks
DoCmd.RunSQL "SELECT tblCollateralPurchasingGroups.[Purchasing Group] FROM tblCollateralPurchasingGroups WHERE (((tblCollateralPurchasingGroups.Material)=[Forms]![frmForm1]![COMPONENT 1]));"
Last edited: