Results 1 to 2 of 2
  1. #1
    Kivan is offline Novice
    Windows 7 64bit Access 2010 64bit
    Join Date
    Jul 2012
    Posts
    27

    Sort data automatically after adding new record

    Hi,



    In my form data is sorted by date (the newest are at top). You can enter new records in that form, the type is continuous form. I would like to know if few things are possible.

    1. After you open a form, you always see a list of records and 1 clear record (it is supposed to be a new record). First of all I want this record to be on top, not on the bottom. Secondly, I want to make this empty record to be not visible for user, however if user pushes the "New" button that record should be revealed, to let the user enter new record, then dissapear after entering new record.

    2. How to sort data in form automatically after adding new record?

    I'm new to access, so if it is possible to this things without VBA It would be great.

    Thank you for your time .

  2. #2
    pbaldy's Avatar
    pbaldy is offline Who is John Galt?
    Windows XP Access 2007
    Join Date
    Feb 2010
    Location
    Nevada, USA
    Posts
    22,642
    1) Can't be done natively. The two workarounds I've seen involve either unbound textboxes with a button to add the record, or a data entry subform stacked on top of an existing records subform.

    2) The data should resort if you requery the form:

    Me.Requery
    Paul (wino moderator)
    MS Access MVP 2007-2019
    www.BaldyWeb.com

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

Similar Threads

  1. Replies: 7
    Last Post: 01-31-2024, 09:57 AM
  2. Replies: 3
    Last Post: 12-19-2011, 11:18 AM
  3. Adding selections to some sort of table
    By shabbaranks in forum Access
    Replies: 15
    Last Post: 10-18-2011, 07:45 PM
  4. adding a sort control button
    By darklite in forum Forms
    Replies: 5
    Last Post: 01-24-2011, 03:32 PM
  5. Automatically Adding New Data to Tables
    By aquarius in forum Import/Export Data
    Replies: 1
    Last Post: 09-15-2010, 07:27 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