Currently I have a front end/ back end over a network that is on about 10 concurrent users. They are using it to call customers, which brings up my problem.
I can't have two reps on the same record at the same time. Otherwise, they might both call the customer at the same time, or the first user be hanging up with the customer while the second user picks up the phone to call them. Probably not a good thing.
So what I did is this, when the user moves to a record, vb code 'stamps', or updates that record with their name and date. This is on the OnCurrent event. When they push the button to move to the next record, the form is requeried to limit out all of the records that have a name and a date. Actually a little more complicated, but that's the gist of it.
The problem is,,,, that the query runs faster than the vb code to update it. Compound that with what I'm guessing is slow network problems, and I have a situation where the first user opens the record and 'stamps' it, but the second user queries and sees that no one is on it before the first user's data is actually updated to the backend. Then I have two users on the same record, which is causing a whole host of problems. So I need the record to be locked even more than pessimistic, not only to keep them from editing the same record, but even from viewing the same record. Any suggestions??? Please?!?
Michael
I can't have two reps on the same record at the same time. Otherwise, they might both call the customer at the same time, or the first user be hanging up with the customer while the second user picks up the phone to call them. Probably not a good thing.
So what I did is this, when the user moves to a record, vb code 'stamps', or updates that record with their name and date. This is on the OnCurrent event. When they push the button to move to the next record, the form is requeried to limit out all of the records that have a name and a date. Actually a little more complicated, but that's the gist of it.
The problem is,,,, that the query runs faster than the vb code to update it. Compound that with what I'm guessing is slow network problems, and I have a situation where the first user opens the record and 'stamps' it, but the second user queries and sees that no one is on it before the first user's data is actually updated to the backend. Then I have two users on the same record, which is causing a whole host of problems. So I need the record to be locked even more than pessimistic, not only to keep them from editing the same record, but even from viewing the same record. Any suggestions??? Please?!?
Michael