473,387 Members | 1,882 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,387 software developers and data experts.

Work queue, Multiple Users, prevent showing users same record

I have an Access 2007 application that displays a work queue for approx 4 customer service reps. Each record in the queue represents an existing customer that must be contacted and demographics updated. How do I prevent the same record from being seen by more than one cs rep at a time? I am confident in the row/page locking mechanism once a cs rep starts an update process. It is too late if a second cs rep has seen the same record and has already started a phone call. Is there a data/row property or flag that is changed when the record is viewed in a form? Any suggestions for building that mechanism? One suggestion was to pass OnLoad Filters in the Access RunTime startup that seperate the work queue by the first letter of the customers last name. Is that the best way?
Thank you,
bgroves
Aug 2 '10 #1

✓ answered by NeoPa

That's pretty well what I was coming to, assuming you answered as you now have.

You would need also to save the record immediately the flag has been set (Form_Current event procedure), and you'd probably need another form that allows a rep to review all the items that are already assigned to them.

It sounds like you understand the workings now though :)

9 4950
munkee
374 256MB
Unsure on how useful this would be in your situation however just an idea to throw in to the mix. I would go about this by having a table in the back end which on form opening checks to see if a value is present within a field for that form name. If there is not then write a value there and continue on. If there is a value there then close the form and bring up a message saying a user is already within the record pick the next in the que.

Then on the close of the form the value can be deleted out. Im sure there are other ways of doing it but that is the general principle I would use. Check if a value is assigned in someplace before the record can be opened fully.

Meh just realised you are on about specific records, my idea would get very messy.
Aug 2 '10 #2
Thanks. I'll start looking at this but it does not sound like you are offended if I leave it open for additional suggestions.
Aug 2 '10 #3
NeoPa
32,556 Expert Mod 16PB
I guess you're talking about a queue where items are only assigned to a rep once they go to pick them up? No prior association with the customer is defined?
Aug 2 '10 #4
@NeoPa
That is correct. In essence FIFO. The queue is ordered by ID number and they are displayed in that order. No associations or filtering at this point.
Aug 2 '10 #5
NeoPa
32,556 Expert Mod 16PB
And would there be rules to determine that a lead, once seen by a rep, was automatically assigned to them? Or would it go back into the queue if the first rep decided he didn't like the look of it?

The latter would be pretty messy and harder work, but probably possible.
Aug 2 '10 #6
@NeoPa
We assume once it is viewed, it will be handled / flagged / assigned and out of the queue. I think I should keep it simple until I get a Phase 1 solution.
Thanks,
bgroves
Aug 2 '10 #7
NeoPa
32,556 Expert Mod 16PB
Presumably then, you would have all available items from the FIFO queue showing for each rep. This is not very practical as all items would immediately be assigned to the first rep to open the form.

Alternatively perhaps, a single item view on the form could be used and the item could be assigned to the rep as soon as it's shown. To allow this to work, the query supporting the form would need to return a single item only, otherwise other reps may never have already assigned items removed from their queues. Assigning the displayed item to a rep would involve some code that changed the assignment value (and saved the record) running in the Current event procedure.

Does this sound like the sort of thing you're looking for? It's not an easy thing to implement but it seems there are ways that it can be made to work.
Aug 3 '10 #8
NeoPa - Thanks for the idea. I have some rework to incorporate your idea. The Data Source for my original form was CustomerTable. It would only show 1 of 2000 recs at at time. I migrated into using the word/concept "assigned". When I first posted, I was thinking & hoping for something like a "view lock" but now based on the suggestions from you and munkee,this needs to be handled with specific form queries and flags in the data row.
I will work on:
1.View - Select top 1 from CustomerTable where AssignedFlag is Null
2. Event- On Current - Update CustomerTable
set AssignedFlag = UserId
I believe this is what you are suggesting.
Thanks,
bgroves
Aug 3 '10 #9
NeoPa
32,556 Expert Mod 16PB
That's pretty well what I was coming to, assuming you answered as you now have.

You would need also to save the record immediately the flag has been set (Form_Current event procedure), and you'd probably need another form that allows a rep to review all the items that are already assigned to them.

It sounds like you understand the workings now though :)
Aug 4 '10 #10

Sign in to post your reply or Sign up for a free account.

Similar topics

102
by: me | last post by:
How do I prevent the save/print/email/mypictures toolbar from popping up when IE users place their cursor over photos at my website? Thank you in advance for your help. Signed, me
1
by: Jorge Godoy | last post by:
Hi. I have created an interface where I have a QDataBrowser and all of its editing and navigating controls and one of the displayed controls is in a QSpinBox. I have the navigation from...
4
by: suffrinmick | last post by:
Hi everyone! I (Along with the help of some of you guys!) have managed to get a query working which takes multiple values (types of organisation) from a list box. The query returns a list of...
4
by: Jim M | last post by:
Two questions: 1) I have a scheduling application (Access 2002) that allows multiple staff members to edit notes on their meetings and appointments from their offices. A receptionist views a...
2
by: cbremar | last post by:
Is there a way to do this. Currently, you can have multiple users editing the same record and not until they try to save it does it tell you that the record is being edited by another person. I...
2
by: Womble One | last post by:
Is there any way to get the 'Obsolete' attribute to work across multiple solutions? I currently have 70 solutions, each with 3 projects in them, and would like to change some base architecture,...
1
by: Christopher Lusardi | last post by:
How can I prevent multible people, who use my program at the exact same time, from overwritting textfiles? E.G.: Two users start the same program and one deletes something but the other saves his...
6
by: slider | last post by:
Hey all i am using Access 2003 on Win Xp and i have been trying to make this code send emails to the users stored on each record. So far is works, except in the body of the email i need it to say a...
3
by: Kalaine | last post by:
MSAccess 2003: Users tab through the data entry fields on a form, and accidently tab to the next record thereby erroneously inserting a record. What can I code in the Form_BeforeInsert to prevent...
22
by: paul | last post by:
A crude, unlikely scenario just so I can get my head around this: Split DB; front end back end. Each user has the FE locally the BE is stored on a server. 1. UserA opens customerA's record and...
0
by: taylorcarr | last post by:
A Canon printer is a smart device known for being advanced, efficient, and reliable. It is designed for home, office, and hybrid workspace use and can also be used for a variety of purposes. However,...
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
0
by: ryjfgjl | last post by:
In our work, we often receive Excel tables with data in the same format. If we want to analyze these data, it can be difficult to analyze them because the data is spread across multiple Excel files...
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
0
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...
0
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers,...
0
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.