In my access database I have created vba which deletes information in a table and then uploads a .txt file based on it's naming convention.
However if you specific an incorrect naming convention by mistake the vba still deletes all the information in the table so the table is blank and nothing is uploaded.
The next time I try and run the code i get run time error 3011 because there is nothing to delete in the table. What is the best why to resolve this issue?
Regards,
Forrest Gump
However if you specific an incorrect naming convention by mistake the vba still deletes all the information in the table so the table is blank and nothing is uploaded.
The next time I try and run the code i get run time error 3011 because there is nothing to delete in the table. What is the best why to resolve this issue?
Regards,
Forrest Gump
Comment