I have a problem with a piece of VB coding in one of my programs.
The coding is supposed to run a DOS batch file, and then run a two reports and a query.
The problem is that the first report wants to start printing before the batch file is finished running and I end getting an error that I cannot access the file.
Is there any way that I can get the program to wait until the batch file is finished running before running the reports?
The coding is supposed to run a DOS batch file, and then run a two reports and a query.
The problem is that the first report wants to start printing before the batch file is finished running and I end getting an error that I cannot access the file.
Is there any way that I can get the program to wait until the batch file is finished running before running the reports?