M
Monty
Can some one tell me what's wrong with this line?
DoCmd RunSQL "INSERT INTO Packages ([Package Name], [Serial Number])
VALUES (' " & Me.Package_name & " ',' " & Me.Serial_number & " ')"
(The single quotes deliberately have spaces inserted for clarity here)
I keep getting and "End of Line Expected" error after VALUES (' ", and
I can't find a good guide. This statement is similar to others I've
used before without problem, as far as I can tell.
Thanks
DoCmd RunSQL "INSERT INTO Packages ([Package Name], [Serial Number])
VALUES (' " & Me.Package_name & " ',' " & Me.Serial_number & " ')"
(The single quotes deliberately have spaces inserted for clarity here)
I keep getting and "End of Line Expected" error after VALUES (' ", and
I can't find a good guide. This statement is similar to others I've
used before without problem, as far as I can tell.
Thanks