I don't know if this should be here or in an Access forum but here goes
I have a VB6 program that uses an access database to record competitors and scores from a competion this works fine and i will call this database (A)
after each update is made database (A) copies itself to a preset location which I will call database (B)
so far everything is fine
at a remote location there is another computer with a cut down version of the main program which only allows competitors to view the results this uses a database I will call (C)
database (C) is a copy of database (B) and it also updates every time you return to the main selection screen
everything works fine for 99% of the time until database (C) attempts to copy (B) just at the point (A) is copying to (B) and the program on the remote computer crashes
and now to the question
does anyone know of a way of trapping the error caused by (C) trying to copy the database (B) when it is locked by (A) updating (B)
All I would require is for the remote computer to skip the update and just try again next time
I hope this makes sense and someone may be able to help me get past this annoyance as simply as possible
Many thank in advance
Regards Rob
I have a VB6 program that uses an access database to record competitors and scores from a competion this works fine and i will call this database (A)
after each update is made database (A) copies itself to a preset location which I will call database (B)
so far everything is fine
at a remote location there is another computer with a cut down version of the main program which only allows competitors to view the results this uses a database I will call (C)
database (C) is a copy of database (B) and it also updates every time you return to the main selection screen
everything works fine for 99% of the time until database (C) attempts to copy (B) just at the point (A) is copying to (B) and the program on the remote computer crashes
and now to the question
does anyone know of a way of trapping the error caused by (C) trying to copy the database (B) when it is locked by (A) updating (B)
All I would require is for the remote computer to skip the update and just try again next time
I hope this makes sense and someone may be able to help me get past this annoyance as simply as possible
Many thank in advance
Regards Rob
Comment