Error catch for TransferText and TransferDatabase

E

ES

My application requires the user to load several txt and mdb files as source
data. I am using TransferText and TransferDatabase to load the selected
files. It works fine as long as the selected file has the correct format.
However, I do not know how to catch an error in the load process if the user
tries to load the incorrect file or if the file does not have the correct
structure. (and I am sure they will try!!!)

I am controlling the type of file they can select for each load process but
I don't know how to check the internal data or to stop the process if the
file is not correct.

Any help?
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top