Help with the Insert Query in VBA

dimanche 19 avril 2015

DoCmd.RunSQL (" Insert into TblTicketReservation (ID, BookingID, AirlineID) values (" & Nz(DMax("ID", "TblTicketReservation"), 0) + 1 & " , " & bookingID & ", " & CmbAirline.Value & " );")



Gives me the following error



Run-time error 3134



Syntax error in Insert Into Statment

Help with the Insert Query in VBA

0 commentaires:

Enregistrer un commentaire

Labels