Hello,
Right now I have a statement in VB6 that inserts all the contents of one table into another. However, I would like to only select a certain ID from that table.
Here is what I have now:
How can I modify this statement to only select a certain ID from the table?
Thanks, (-:
Brian
Right now I have a statement in VB6 that inserts all the contents of one table into another. However, I would like to only select a certain ID from that table.
Here is what I have now:
Code:
strsql$ = "INSERT INTO table1 SELECT table2.* FROM table2;"
db.Execute strsql$
How can I modify this statement to only select a certain ID from the table?
Thanks, (-:
Brian