|
What you wrote upstairs is right!
It's tablename. What do you put in quotation marks?
I didn’t see any problem with the sql written by the host, you can try to add a space before where to see, I use adodataset instead of adoquery
sql.Add('select book number, sales quantity, sales unit price into'+tablename+' from bookout');
sql.Add(' where sale date='+quotedstr(daystr)); |
|