Link to home
Start Free TrialLog in
Avatar of javagair
javagairFlag for United States of America

asked on

MESSAGE error near where

I can not for the life of me see an error in this sql statement

insertprinterm = "insert into printer_maintanence (photoconductor, cartridge_yellow, cartridge_cyan, cartridge_magenta, cartridge_black, maintanence_kit, transfer_belt, wastebox, duplexer)  values(" & photo & "," & yellow & "," & cyan & "," & magenta & "," & black & "," & maint & "," & transfer & "," & waste & "," & duplexor & ")  where whatip = '" & thisip & "' AND whatdate = '" & thisdate & "'  "

thanks
gary
Avatar of p_davis
p_davis

you have the '" on either side of your where statement but not for each parameter.
ASKER CERTIFIED SOLUTION
Avatar of CtrlAltDl
CtrlAltDl
Flag of United States of America image

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial