So this will just delete the records from the local Access application
right?
Well, *if* "name of table you wanna empy" is a local table, then yes, it
will just delete local data.
Also, keep in mind that instruction only empties *one* table, not all tables
in the application
If you want to empty more than one table, simply repeat that instruction as
many as necessary.
docmd.runsql ("delete * from table1")
docmd.runsql ("delete * from table2")
If you have enforced relationships between tables, you may have to do the
deletes for that group of tables in a specific order (bottom of heirarchy to
top)
Reverse the order when filling those tables again (top of heirarchy to
bottom).
HTH,
thanks for replying..
So this will just delete the records from the local Access application
[quoted text clipped - 16 lines]