Bennie47250
Programmer
Prior to repopulating a number of tables with current data, I must first clear the tables of the data from the last processing. I was using delete queries but sometimes data was left in the tables as the field I selected to use as the delete criteria may not have data in it.
I switched to the 4 prong approach of, in a macro, to open the table, use the Run SelectAllRecords, Delete Records, and then close the table.
1) Is there a better method to clearing out the tables?
2) When the macro is running these commands to clear the tables, the screen is flickering as the tables open, select, delete and close. Is there a way to prevent the flickering?
At the beginning of the macro I have used the command ECHO and set it to no, but I don’t see any change in the flickering. (I’m also using the SetWarnings command at the beginning of the macro.
Thanks
Bennie
I switched to the 4 prong approach of, in a macro, to open the table, use the Run SelectAllRecords, Delete Records, and then close the table.
1) Is there a better method to clearing out the tables?
2) When the macro is running these commands to clear the tables, the screen is flickering as the tables open, select, delete and close. Is there a way to prevent the flickering?
At the beginning of the macro I have used the command ECHO and set it to no, but I don’t see any change in the flickering. (I’m also using the SetWarnings command at the beginning of the macro.
Thanks
Bennie