How to empty a Table?
Posted: 12.07.2013, 22:38
Hi, did some searching here and nothing helps. Read the Help system, same.
tblFiles.EmptyDataSet;
Sometimes it shows tblFiles.RecordCount as = to 0 and other times it does not.
I need to re-use a temporary Table 30-times per run of my application and I need to empty it before EVERY use.
I also tried an SQLQuery
DELETE * FROM tblFiles and it didn't like the *
Tried
DELETE FROM tblFiles and it did nothing.
tblFiles.EmptyDataSet;
Sometimes it shows tblFiles.RecordCount as = to 0 and other times it does not.
I need to re-use a temporary Table 30-times per run of my application and I need to empty it before EVERY use.
I also tried an SQLQuery
DELETE * FROM tblFiles and it didn't like the *
Tried
DELETE FROM tblFiles and it did nothing.