Results 1 to 2 of 2
  1. #1
    Access::Student is offline Novice
    Windows Vista Access 2007
    Join Date
    May 2009
    Posts
    1

    Display Query Value That Requires Input Parameter


    I have a query that returns a single aggregate value based on the input
    parameter. I can't figure out how to display this on a form. The parameter I
    want to pass to the query is the primary key from the current record. Any
    ideas on how I can do this automatically? Or is there a better way of getting the value, I used a query because it's a distinct count function.

  2. #2
    ansentry's Avatar
    ansentry is offline Advanced Beginner
    Windows 7 64bit Access 2013
    Join Date
    May 2009
    Location
    Melbourne, Australia
    Posts
    67
    Access::Student,

    Please don't be offended but I can understand what you are trying to do;

    If you create a "Single Form", with the control source being a query based on your data table. It will display each primary key record (you can't have duplicate primary keys).

    Now if you want to locate a record quickly then you can add a combo box to the form (using the wizard and select option 3) and that will find the record that you want to view.

    If I have missed the point, please ignore me.

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

Similar Threads

  1. Replies: 6
    Last Post: 02-20-2009, 11:50 AM
  2. Process that requires 2 users on 2 machines
    By Rstarr1 in forum Programming
    Replies: 0
    Last Post: 12-17-2008, 03:14 PM
  3. Replies: 4
    Last Post: 01-05-2006, 02:36 AM
  4. Add combo box to parameter query
    By louisa14 in forum Queries
    Replies: 1
    Last Post: 12-10-2005, 08:38 AM
  5. DISPLAY INPUT PARAMETERS ON THE REPORT
    By fadone in forum Forms
    Replies: 1
    Last Post: 12-09-2005, 10:26 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