Results 1 to 4 of 4
  1. #1
    Poohbear0471 is offline Advanced Beginner
    Windows 7 32bit Access 2010 32bit
    Join Date
    Oct 2012
    Posts
    78

    Form Filter not functioning correctly

    I have a form to add new records or to correct records returned for errors. Filter On Load is set as [Status] = "Returned for Correction". When the form opens, it goes directly to a new record. In order to get to the records needing correction, I need to remove filters, then reapply it. I know it's something tiny I'm missing, but for the life of me, I can't figure it out. Suggestions from The Hive?

  2. #2
    Join Date
    May 2018
    Location
    Living in Scotland UK
    Posts
    1,563
    Hi

    Try removing the VB in the On Open , GoToNew Record Event of the Form. You should then be able to navigate through all records "Returned for Correction"

  3. #3
    Micron is online now Virtually Inert Person
    Windows 10 Access 2016
    Join Date
    Jun 2014
    Location
    Ontario, Canada
    Posts
    12,790
    I have a form to add new records
    You might have Data Entry property set to Yes, or are opening the form in that mode by using code somewhere. Or you might have set a filter as you say, but Filter on Load is set to No. Using the same form for multiple purposes is wise, but sometimes the purposes are in conflict with each other. You have to know which properties to affect and often need to do so in code rather than relying on the property sheet.
    Last edited by Micron; 05-21-2019 at 08:20 AM.
    The more we hear silence, the more we begin to think about our value in this universe.
    Paraphrase of Professor Brian Cox.

  4. #4
    Poohbear0471 is offline Advanced Beginner
    Windows 7 32bit Access 2010 32bit
    Join Date
    Oct 2012
    Posts
    78
    Thanks folks! I had to add DoCmd.ApplyFilter to the OnLoad property and it works now.

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

Similar Threads

  1. Insert SQL not functioning
    By doobybug in forum Forms
    Replies: 15
    Last Post: 05-15-2017, 08:55 PM
  2. Replies: 12
    Last Post: 03-04-2016, 04:41 AM
  3. Replies: 15
    Last Post: 12-10-2012, 06:37 PM
  4. After Update/concatenation not functioning
    By tariq1 in forum Programming
    Replies: 4
    Last Post: 08-19-2012, 11:54 AM
  5. DLookup not functioning correctly - any ideas please?
    By shabbaranks in forum Programming
    Replies: 2
    Last Post: 02-02-2012, 09:09 AM

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