Results 1 to 2 of 2
  1. #1
    latifju is offline Novice
    Windows 8 Access 2013
    Join Date
    Jan 2013
    Posts
    6

    Post How assign auto serial number for each user by certain date?

    My data are here
    ID User TRNUM EntryDate Cash
    1 A 1121 25/10/13 2000
    2 A 1211 25/10/13 2500
    3 B 1211 25/10/13 8470
    4 C 2210 25/10/13 1440
    5 B 1211 26/10/13 1000
    6 A 2540 26/10/13 5400
    7 C 2540 26/10/13 1400
    8 B 1211 26/10/13 1000



    Now i need to find all record of user "A" on date 25/10/2013 with a auto serial number starting from 1. User and Date will come from a table.

    Thanks in advance

  2. #2
    June7's Avatar
    June7 is offline VIP
    Windows 7 64bit Access 2010 32bit
    Join Date
    May 2011
    Location
    The Great Land
    Posts
    52,963
    Thread title doesn't really match the narrative.

    Maybe:

    SELECT * FROM tablename WHERE User="A" AND EntryDate=#10/25/2013# AND TRNUM LIKE "1*";
    How to attach file: http://www.accessforums.net/showthread.php?t=70301 To provide db: copy, remove confidential data, run compact & repair, zip w/Windows Compression.

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

Similar Threads

  1. Replies: 1
    Last Post: 09-06-2011, 05:24 AM
  2. Processor Serial Number
    By Azeez_Andaman in forum Programming
    Replies: 2
    Last Post: 08-16-2011, 11:33 AM
  3. Replies: 1
    Last Post: 06-25-2010, 07:15 PM
  4. Auto Sequence String Serial Number
    By eddyc99 in forum Programming
    Replies: 2
    Last Post: 10-02-2009, 08:11 AM
  5. Replies: 5
    Last Post: 02-08-2006, 08:42 PM

Tags for this Thread

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