Help | Site Map
Connecting Tech Pros Worldwide
 
 
LinkBack Thread Tools
  #1  
Old January 19th, 2006, 10:05 PM
steve@galoob.co.uk
Guest
 
Posts: n/a
Default Multiple users, selecting unique record from table

Hi all,

Come across a situation I cannot figure how to work out. Im relatively
new to access but have looked around and tried everything to my
knowledge.

I've developed an application whereby users load up the database and
open a form, this form issues them with work to complete, the work is
completed and the next record is offered.

There is a 'pot' of work that is loaded into a linked table every day,
when new work is given to the agent the row is taken from the pot and
stored in a local table (row in the pot then deleted) where over 10
minutes is regularly updated with outcomes and then moved to the
completed table.

Im having problems making sure unique work is given to each agent if
they were to click for another account at the same time.

At the moment two seperate queries do the above
1) retrieves the top 1 record from the pot into local table
2) deletes the record downloaded from the pot

between 1 and 2 the work form is refreshed and query 2 uses the job_id
field in the form to delete the remote record based on this field in
the form.

Does anyone have any ideas how to stop two being issued at once because
this happened almost numerous times whilst testing today.

Cheers for any help/pointers
Steve

 

Bookmarks

Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are Off
[IMG] code is Off
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On

What is Bytes?

We are a network of experts and professionals in IT and software development that help one another with answers to tough questions and share insights. Get the best answers to your questions from over network members.
Post your question now . . .
It's fast and it's free

Popular Articles