Results 1 to 3 of 3
  1. #1
    Brightspark98 is offline Advanced Beginner
    Windows 7 64bit Access 2013 32bit
    Join Date
    Dec 2016
    Posts
    57

    Query Criteria from form

    Hi,



    I've created a query and the criteria is selected from a form - works exactly as I wanted.

    When I put the form into a navigation form the query dosen't work any more.

    Anyone have any ideas on how I need to change the criteria for the navigation form.


    This works for the standalone form but not for the navigation form.

    [Forms]![frmSectionProfile]![txtSect]


    frmTCControl is the name of the navigation form


    Many Thanks

  2. #2
    ranman256's Avatar
    ranman256 is online now VIP
    Windows Vista Access 2010 32bit
    Join Date
    Apr 2014
    Location
    Kentucky
    Posts
    9,521
    Stop using navigation form. It works perfectly as a normal form.

  3. #3
    Brightspark98 is offline Advanced Beginner
    Windows 7 64bit Access 2013 32bit
    Join Date
    Dec 2016
    Posts
    57
    I found out the correct syntax.

    [Forms] ! [YourNavigationTab] ! [NavigationSubform] . [Form] ! [Field]

    Works well now.

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

Similar Threads

  1. query criteria from form
    By wavequationteledyne in forum Queries
    Replies: 7
    Last Post: 05-27-2015, 04:26 PM
  2. Replies: 1
    Last Post: 11-13-2014, 11:34 PM
  3. Replies: 1
    Last Post: 03-28-2013, 07:54 AM
  4. Replies: 5
    Last Post: 09-20-2012, 03:27 PM
  5. Query criteria in a form
    By sefiroths in forum Queries
    Replies: 1
    Last Post: 12-23-2009, 05:15 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