Dumferling
Member
- Local time
- Today, 16:14
- Joined
- Apr 28, 2020
- Messages
- 102
I have the following code to open a form:
DoCmd.OpenForm "frmCStdContractPOPIA", acNormal, , "[CVName] = " & vblType & " AND [VersionNumber] = " & vblVersion
The variables work fine but it gives a syntax error. It looks right to me. What am I doing wrong?
DoCmd.OpenForm "frmCStdContractPOPIA", acNormal, , "[CVName] = " & vblType & " AND [VersionNumber] = " & vblVersion
The variables work fine but it gives a syntax error. It looks right to me. What am I doing wrong?