I have a batch file that runs a perl script needed to refresh certain table in my Access database. Due to the data and software I am working with, each time I want to run a report (from a single form w/ 3 parameters) I need to delete the tables contents (to avoid redundant data) and run the batch file. I would like to have this occur in the the opening of the form, so that the user will always have the most up to date data. At this point everything works fine, but the user can click ok and proceed to the report before the batch file is finished. The dos window on the screen is the only way to tell the batch has not finished yet (which is not ideal). I am concerned that the user could click OK on the form before the batch file has completed filling the Access table. How should I go about this? I had the idea of either hiding the form or making the button inactive until the batch file is finished, but I am not sure how to execute this. Any other ideas would be great.
Geoff
Geoff
Comment