Results 1 to 2 of 2
  1. #1
    asmith78 is offline Novice
    Windows 7 32bit Access 2003
    Join Date
    Aug 2011
    Posts
    15

    Need HELP! Pulling a RANDOM record from table to form

    HI All,

    I have an Access 2003 database built for a quality program (I know, way behind on the version, we are currently upgrading to 2010 now). I have a "sample" table where we load all the files for a group. We then have an "audit" form where we try to pull a random record from the "sample" table to perform the audit then add the info to the "audit" table and the code updates the record on the "sample" table to complete.

    I thought we had the code all figured out but if several auditors are working on the same group, it will pull the exact same audit. It seems this is happening when they click on the "Get Audit" button within seconds of each other.



    I am attaching the code behind the "Get Audit" button that runs the module to pull the random file. If you need any additional info, please ask. Thanks for looking!

  2. #2
    hertfordkc is offline 18 year novice
    Windows XP Access 2007
    Join Date
    Mar 2011
    Posts
    481

    See Randomize

    http://office.microsoft.com/en-us/ac...001228901.aspx

    I didn't see it in your code and I think it might help.

Please reply to this thread with any new information or opinions.

Similar Threads

  1. Random Record pull
    By Madmax in forum Access
    Replies: 2
    Last Post: 06-28-2011, 08:26 PM
  2. Pulling up record ID instead of combo box value
    By edzigns in forum Programming
    Replies: 1
    Last Post: 04-29-2011, 08:03 AM
  3. Replies: 2
    Last Post: 04-02-2010, 07:42 AM
  4. Pulling Record Info From Sub Form
    By redlich23 in forum Forms
    Replies: 1
    Last Post: 09-02-2009, 02:10 PM
  5. random record
    By wasim_sono in forum Programming
    Replies: 1
    Last Post: 02-06-2008, 02:42 PM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
Other Forums: Microsoft Office Forums