Any Suggestions Are Welcome!!
I am building a project that uses an Access 97 database as the background table...
The Managers in my call center will be inputting scores for their respective staff into the access database...The way it goes is that for one representative, their could be up to 3 Managers providing scores every month...
So I needed the database to hold just one record per representative, rather than 3 seperate records...so I created the Access form, and limited the editing process....I also inserted parameters within the query that the form is bound to, so that when the Managers open the form it will prompt them for the rep's specific ID...
I thought this way once a Manager is on the record, if another Manager cam in to add scores for the same rep, they would have to wait till the record becomes available...
Well her is the snag, I was testing it, and found that all 3 Managers could very well open the form at the same time, and their could be 3 seperate records again???? I know the probability is high , but just the chance could screw up the results in my vb project...
SO if anyone can think of any other options, please pass them along ....I need to iron this out fairly quick..
THANK YOU!
Re: Any Suggestions Are Welcome!!
Quote:
Originally posted by Salvatore
I thought this way once a Manager is on the record, if another Manager cam in to add scores for the same rep, they would have to wait till the record becomes available...
MSAccess does not do record locking by default. Alot of multi-user setup hoops must be jumped through in order to set this up.
It may be easier to try a "JIT" addition of whatever value the manager wants to add.
If worker A has 0 points, and Manager A wants to add 2 points to his score the same time Manager B wants to add 1 point, the way you have it set up is that whichever Manager sends his UPDATE last will set the value to either 2 or 1.
But if you send the Manager's value as an addition to whatever is in the field, then it should yeild 3 in either case. I hope that made a little sense.
Re: Any Suggestions Are Welcome!!
So I needed the database to hold just one record per representative,
If the representative ID is unique then you can catch the error later on and prevent 3 records from being added. Edits will use the last saved values though.