Results 1 to 2 of 2
  1. #1
    mslenker is offline Novice
    Windows 7 64bit Access 2010 64bit
    Join Date
    Dec 2012
    Posts
    6

    Report Controlled by a drop box


    Now I know this is a stupid question, because I've done it before but I am drawing a blank on how to do it. I want to use a drop box to select a particular machine and the subreport to show all the open orders for that particular machine.

  2. #2
    rpeare is offline VIP
    Windows XP Access 2003
    Join Date
    Jul 2011
    Posts
    5,441
    if you're talking about using a currently selected item on a form to be the criteria for a query or report the syntax in the query line is:

    [forms]![formname]![fieldname]

    So if your form is named Main_Form and the field you want to use as a criteria is called [Search_Item] your syntax would be:

    [forms]![Main_Form]![Search_Item]

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

Similar Threads

  1. Report Footer - controlled location
    By roaftech in forum Reports
    Replies: 2
    Last Post: 11-03-2012, 01:42 PM
  2. User controlled program/security settings
    By joelmeaders in forum Database Design
    Replies: 4
    Last Post: 10-09-2012, 09:47 AM
  3. Access Level Controlled Forms
    By injanib in forum Forms
    Replies: 4
    Last Post: 06-15-2011, 01:54 PM
  4. Controlled access to forms
    By Rameez in forum Forms
    Replies: 6
    Last Post: 06-18-2009, 02:18 AM
  5. Replies: 0
    Last Post: 06-11-2009, 09:51 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