D
dougsdir24
I have written a database for a garage to handle its invoicing and to
record work.
It is currently single user and only runs on one PC but I have had a
request to see if it can be put on another PC in a multiuser
environment. Now i understand that this could cause a few problems,
record locking etc.
The database is split in two. One DB holds the data and the other
holds the forms, reports, queries etc.
The main table is the vehicle table which holds the Car Reg, car
details, customer details etc
Another table is the work table which holds a record of the work done
of which Car Reg is a key
now my question is, is there any VB code I can use to flag up a
warning, say if User 2 has edited or is editing a field in a record
and User 1 navigates to that record I would like a msgbox to appear
for User 1 to say "Another user has made changes to this record" etc
etc
I know Access 2000 can handle locking but from what Ive seen the
warning message only comes up when an attempt to Save the record is
done which gives the user a chance to cancel or go ahead an make the
changes.
But I would like say a msgbox for now to pop up a warning beforehand
Ive never written any error trapping in a multiuser DB before so Im a
bit new to this.
TIA
Doug
record work.
It is currently single user and only runs on one PC but I have had a
request to see if it can be put on another PC in a multiuser
environment. Now i understand that this could cause a few problems,
record locking etc.
The database is split in two. One DB holds the data and the other
holds the forms, reports, queries etc.
The main table is the vehicle table which holds the Car Reg, car
details, customer details etc
Another table is the work table which holds a record of the work done
of which Car Reg is a key
now my question is, is there any VB code I can use to flag up a
warning, say if User 2 has edited or is editing a field in a record
and User 1 navigates to that record I would like a msgbox to appear
for User 1 to say "Another user has made changes to this record" etc
etc
I know Access 2000 can handle locking but from what Ive seen the
warning message only comes up when an attempt to Save the record is
done which gives the user a chance to cancel or go ahead an make the
changes.
But I would like say a msgbox for now to pop up a warning beforehand
Ive never written any error trapping in a multiuser DB before so Im a
bit new to this.
TIA
Doug