Quote from
Gaev on July 4, 2021, 1:34 am
@s7shanbe
@vadim
To copy Tables ...
dbpExecSQL "nameOfYourDatabaseIdHere" "syntax of SQL goes here" ""
Syntax of SQL ...
a) make a copy of a table in the same database ...
SELECT * INTO nameOfYourNewTable FROM nameOfTheTableToBeCopied;
b) make a copy of a table in another (existing) database ...
SELECT * INTO nameOfYourNewTable IN 'anotherDatabase.mdb' FROM nameOfTheTableToBeCopied;
If you run into problems, just holler.
@s7shanbe
@vadim
To copy Tables ...
dbpExecSQL "nameOfYourDatabaseIdHere" "syntax of SQL goes here" ""
Syntax of SQL ...
a) make a copy of a table in the same database ...
SELECT * INTO nameOfYourNewTable FROM nameOfTheTableToBeCopied;
b) make a copy of a table in another (existing) database ...
SELECT * INTO nameOfYourNewTable IN 'anotherDatabase.mdb' FROM nameOfTheTableToBeCopied;
If you run into problems, just holler.
Vadim has reacted to this post.