Results 1 to 3 of 3
  1. #1
    Trichmond is offline Novice
    Windows 7 32bit Access 2010 32bit
    Join Date
    Oct 2012
    Posts
    2

    Navigation Forms and Filters

    Hope this question makes sense. I am very very new to Access. I am attempting to create a Navigation Form that can be used for Employees Forms, Customer Forms, etc. It is for a graduate school class extra credit assignment.



    I have the Navigation Form done. The problem then asks to create a filter button so that only certain employees are displayed based on their PositionID value (1 to 7). When I open and set up the frmEmployeeData (without using the Navigation Form) with the filter using the Access 2010 Macro feature, it works as expected on the frmEmployeeData.

    The issue is when I access this same Employee form using the Navigation Form and then select a Filter button, I get the error:

    "The action or method is invalid because the form or report isn't bound to a table or query"

    I tried to select the object first in the Macro, but then I got a different error about the object not being open. I don't want to open it because then I would be using that object and not the form itself anymore.

    My text is fairly vague whether this can be done through the Navigation Form or not. The problem requires I use the Macro feature of Access, not VBA.

  2. #2
    June7's Avatar
    June7 is online now VIP
    Windows XP Access 2010 32bit
    Join Date
    May 2011
    Location
    The Great Land
    Posts
    53,613
    Review http://social.msdn.microsoft.com/For...a-c4c2a67f39c0

    I think key point made in the thread is: when you drop in a form into a Navagtion form, then it becomes "nested" below as a sub form

    Referencing subform on a normal form is tricky enough. I haven't used Navigation form so not sure about syntax.
    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
    Trichmond is offline Novice
    Windows 7 32bit Access 2010 32bit
    Join Date
    Oct 2012
    Posts
    2
    Stumbled upon my own solution.

    No idea why this worked, but when I used the "Set Filter" Macro command instead of "Apply Filter", it worked fine.

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

Similar Threads

  1. Sync Sub Forms on Navigation Form
    By moirakalichman in forum Programming
    Replies: 15
    Last Post: 03-03-2013, 02:01 PM
  2. Carrying data throughout Navigation Forms
    By drrob1983 in forum Forms
    Replies: 2
    Last Post: 09-06-2011, 12:57 AM
  3. Combo Box Filters for custom navigation
    By hobsondm01 in forum Forms
    Replies: 1
    Last Post: 07-05-2011, 09:58 AM
  4. Navigation Pane will not accept any forms
    By Alexandre Cote in forum Forms
    Replies: 0
    Last Post: 02-08-2011, 09:16 PM
  5. Replies: 1
    Last Post: 01-04-2011, 05:04 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