runtime error??

krc777

Registered User.
Local time
Today, 16:09
Joined
Nov 29, 2005
Messages
70
I have the following line of code:

CurrentDb.Execute "INSERT INTO ChartTableC (ordernum, program) SELECT (" & kordernum & ", '" & kprogram & "') from trendanalysis"

I'm getting a runtime error - syntax error (comma) in query expression. I just don't see the problem.
m
 
What is the value of variable kprogram at the time that the error occurs?
 

Users who are viewing this thread

Back
Top Bottom