Home |
Search |
Today's Posts |
#1
Posted to microsoft.public.excel.programming
|
|||
|
|||
Using Readpast to skip records
I have an Access database that contains orders that need to be
processed. The users of this database use an Excel spreadsheet to access the database. Basically, what I'm trying to accomplish is when a user asks for a new order, the SQL query hits the database, locks the record, assigns the record to the person requesting it, pulls the info to excel and displays it. Here's the SQL statement: strSELECT5 = "SELECT * from [RES LNP Production Table] [Readpast] WHERE [LNPSpecName] is NULL ORDER BY [LSRSentDate];" ' New/Unassigned orders What is happening: When simultaneous requests are made, users are getting the same record. I thought that Readpast would skip the locked records. What am I doing wrong? |
Reply |
Thread Tools | Search this Thread |
Display Modes | |
|
|
Similar Threads | ||||
Thread | Forum | |||
Delete records when certain records have duplicate column data | New Users to Excel | |||
using IF to skip | Excel Worksheet Functions | |||
Using vb to paste records from 1 sheet, to related records in another | Excel Programming | |||
Copy Records from Access Database table(more than 5 lakh records in this table) to Excel Sheet | Excel Programming | |||
draw 999 x 8 random records from file with 8614 records | Excel Programming |