safarijoe2000
Programmer
Hello All,
I have a Form where I have a dummy table (dummy_table). I use this table throughout the program. I move fields, values, do calculations, etc, with the data in dummy_table.
At the end of the program, I want to delete everything from dummy_table (including records marked for deletion).
I have an Exit button, which contains my CLEAR EVENTS clause.
I also have an Exit option, on my Main Menu bar, which also has the CLEAR EVENTS clause.
My question is: I want to delete everything from dummy_table. Should I use ZAP or PACK ? Which one is more efficient and more appropiate?
I've tried both, and have used the following code:
close databases
open database myDatabase
use dummy_table excl
zap
use
close databases
I have a Form where I have a dummy table (dummy_table). I use this table throughout the program. I move fields, values, do calculations, etc, with the data in dummy_table.
At the end of the program, I want to delete everything from dummy_table (including records marked for deletion).
I have an Exit button, which contains my CLEAR EVENTS clause.
I also have an Exit option, on my Main Menu bar, which also has the CLEAR EVENTS clause.
My question is: I want to delete everything from dummy_table. Should I use ZAP or PACK ? Which one is more efficient and more appropiate?
I've tried both, and have used the following code:
close databases
open database myDatabase
use dummy_table excl
zap
use
close databases