Hello there! This might not be the right section to post in but it's regarding tables. Basically I have some SQL statements that copy data to a new table, which is written in VBcode and operates on the click of a button.
Basically the only problem is the messages:
"You are about to paste # rows into a new table/table"
"The existing table <name> will be deleted before you run the query"
The kind of message depends on the way I organise the SQL (either using it to append data (as in INSERT INTO tablename SELECT blah blah) or overwrite (SELECT blah blah INTO tablename).
I'd rather use the latter because it facilitates the desired wiping of all previous data and replacing it with fresh records. However I don't want to have to click "yes" every time this is done? Is there some VBcode perhaps, like the On Err code that I could use to get access to not pop up these messages?
Basically the only problem is the messages:
"You are about to paste # rows into a new table/table"
"The existing table <name> will be deleted before you run the query"
The kind of message depends on the way I organise the SQL (either using it to append data (as in INSERT INTO tablename SELECT blah blah) or overwrite (SELECT blah blah INTO tablename).
I'd rather use the latter because it facilitates the desired wiping of all previous data and replacing it with fresh records. However I don't want to have to click "yes" every time this is done? Is there some VBcode perhaps, like the On Err code that I could use to get access to not pop up these messages?
