Results 1 to 3 of 3
  1. #1
    batowl is offline Advanced Beginner
    Windows XP Access 2003
    Join Date
    Dec 2010
    Posts
    86

    Best Way to Filter A Form on Opening


    Hi All,

    I have a database with over 4000 records in it. I do not want my data entry staff presented with all of those records when they are simply entering new data into the system through a form. What is the best way to have the data entry form open up for them with only records from 2014 or later visible? I was going to have them open the form by pushing a macro button so would the best approach be to build an expression in the Where Condition section of the macro builder?

  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,921
    If you don't want any capability for this form to present older records, try setting the form RecordSource to a query that has criteria to filter records by current year or current year -1.

    Could also try setting the Filter property of form and FilterOnLoad to yes - again filter criteria as already described. This will actually allow the filter criteria to be changed programmatically so earlier records could be viewed.
    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.

  3. #3
    CJ_London is online now VIP
    Windows 8 Access 2010 32bit
    Join Date
    Mar 2015
    Posts
    11,428
    if they are simply entering new data and do not need to see the existing records, set the forms dataentry property to true

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

Similar Threads

  1. Replies: 2
    Last Post: 02-27-2015, 02:49 AM
  2. Replies: 9
    Last Post: 02-24-2015, 11:19 AM
  3. Replies: 5
    Last Post: 01-24-2015, 12:59 AM
  4. Filter checkbox upon opening form
    By vickster3659 in forum Programming
    Replies: 9
    Last Post: 11-06-2014, 10:58 AM
  5. Replies: 1
    Last Post: 08-01-2012, 03:56 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