G Guest Oct 29, 2004 #1 I keep getting the above error on this code DoCmd.OpenForm "frmDealerLog", , , "IDLog = " & IDLog
G Guest Oct 29, 2004 #2 sorry the full error is syntax error (missing operator) DoCmd.OpenForm "frmDealerLog", , , "IDLog =" & IDLog
sorry the full error is syntax error (missing operator) DoCmd.OpenForm "frmDealerLog", , , "IDLog =" & IDLog
M Marshall Barton Oct 30, 2004 #4 Infected04 said: I keep getting the above error on this code DoCmd.OpenForm "frmDealerLog", , , "IDLog = " & IDLog Click to expand... That seems to imply that there's something funky about the value of IDLog. What kind of field is it, text, numeric or date? If it's text, then you should use: "IDLog = """ & IDLog & """" or an equivalent.
Infected04 said: I keep getting the above error on this code DoCmd.OpenForm "frmDealerLog", , , "IDLog = " & IDLog Click to expand... That seems to imply that there's something funky about the value of IDLog. What kind of field is it, text, numeric or date? If it's text, then you should use: "IDLog = """ & IDLog & """" or an equivalent.