Results 1 to 3 of 3
  1. #1
    aldeb47 is offline Novice
    Windows 7 64bit Access 2003
    Join Date
    Jun 2011
    Posts
    6

    Form records to appear in order as they are entered

    I have a form: MTCPointsfrm

    I enter the records one at a time. How can I make the form records show up in the order they are entered and how they appear in the table? The first record I entered might show up as #10 on the form when I want


    it to be #1. The table key is an auto number.

  2. #2
    Rod is offline Expert
    Windows Vista Access 2007
    Join Date
    Jun 2011
    Location
    Metro Manila, Philippines
    Posts
    679
    Add a timestamp to the record. Do this just before it is updated (saved) for the first time. Then when displaying records, order by timestamp. OK the timestamp relies on the date and time being correct in your PC if you use the Now() function.

    Put something like this into the form's BeforeUpdate event:

    If IsNull(Me.varTimeStamp) then
    Me.varTimeStamp = Now()
    End If

  3. #3
    Rod is offline Expert
    Windows Vista Access 2007
    Join Date
    Jun 2011
    Location
    Metro Manila, Philippines
    Posts
    679
    Er ...

    just reviewed my post. Probably varTimeStamp should read dteTimeStamp or dtmTimeStamp.

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

Similar Threads

  1. Replies: 15
    Last Post: 10-01-2015, 10:06 AM
  2. Sorting a form's records in order by date.
    By slikbaz in forum Access
    Replies: 3
    Last Post: 11-20-2010, 01:11 AM
  3. Replies: 7
    Last Post: 10-20-2010, 04:08 PM
  4. How to use Rnd to order records?
    By Gdm in forum Queries
    Replies: 1
    Last Post: 05-26-2010, 09:01 PM
  5. Records change order
    By accessbeginner in forum Access
    Replies: 1
    Last Post: 03-18-2010, 06:38 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