Hi,
If my app has a database open, stored somewhere in a LAN and the connection goes down, I get error 1104 "Error reading file". In my error handler, I would like to take care of this and shutdown nicely without error messages and "file open" dialogs. Any example on how to do this? The app may have dialogs open with code in the unload events that does something with the tables. I have tried different variants of closing the database in the error handler an even re-directing the aliases to dummy tables but nothing works.
BR,
Micael
If my app has a database open, stored somewhere in a LAN and the connection goes down, I get error 1104 "Error reading file". In my error handler, I would like to take care of this and shutdown nicely without error messages and "file open" dialogs. Any example on how to do this? The app may have dialogs open with code in the unload events that does something with the tables. I have tried different variants of closing the database in the error handler an even re-directing the aliases to dummy tables but nothing works.
BR,
Micael