Results 1 to 8 of 8
  1. #1
    leamas is offline Novice
    Windows Vista Access 2010 32bit
    Join Date
    May 2012
    Posts
    21

    Report Parameter Prompt

    I'm still very much in the learning stages-



    I'm attempting to prompt the user of my database with a parameter for "unit location" when opening a "unit report". Currently, it prompts for "item number", "condition" and "description" when the report is opened. I do not have any macros for opening the report.

    In design view, these fields share the property of having a green triangle in the top left corner. I'm assuming this is what causes the prompt? Am I mistaken in this?

    Is there a way to assign this property to another field, which is "unit location" as stated above?

    Thank you all, appreciate any help.

    Regards,

    Leamas

  2. #2
    pbaldy's Avatar
    pbaldy is offline Who is John Galt?
    Windows XP Access 2007
    Join Date
    Feb 2010
    Location
    Nevada, USA
    Posts
    22,641
    If you click on the control you should then get a popup you can click on to get the actual issue. My guess is that they are invalid control sources, which will throw the parameter prompt (which is Access saying "I don't know what this is").
    Paul (wino moderator)
    MS Access MVP 2007-2019
    www.BaldyWeb.com

  3. #3
    leamas is offline Novice
    Windows Vista Access 2010 32bit
    Join Date
    May 2012
    Posts
    21
    Quote Originally Posted by pbaldy View Post
    If you click on the control you should then get a popup you can click on to get the actual issue. My guess is that they are invalid control sources, which will throw the parameter prompt (which is Access saying "I don't know what this is").
    I think this is exactly what I want though, which is to be prompted for a 'value' before running a report. How can I get Access to say "I don't know what 'Location' is?"

    Thanks for your help pbaldy

  4. #4
    pbaldy's Avatar
    pbaldy is offline Who is John Galt?
    Windows XP Access 2007
    Join Date
    Feb 2010
    Location
    Nevada, USA
    Posts
    22,641
    Type in anything as the control source that it won't understand. If it's not prompting, then you must be using an existing field name or something. Can you post the db here?
    Paul (wino moderator)
    MS Access MVP 2007-2019
    www.BaldyWeb.com

  5. #5
    leamas is offline Novice
    Windows Vista Access 2010 32bit
    Join Date
    May 2012
    Posts
    21
    Quote Originally Posted by pbaldy View Post
    Type in anything as the control source that it won't understand. If it's not prompting, then you must be using an existing field name or something. Can you post the db here?
    Ok I see exactly what you are saying. Unfortunately I'm not able to post the db. Do you have any suggestions on the best method for running a report based on the asset's location? As opposed to a report that lists all locations and all assets within the location?

    Thank you!

  6. #6
    pbaldy's Avatar
    pbaldy is offline Who is John Galt?
    Windows XP Access 2007
    Join Date
    Feb 2010
    Location
    Nevada, USA
    Posts
    22,641
    Typically either basing it on a parameter query or this type of thing:

    BaldyWeb wherecondition

    I never use the parameter prompt; I always have the user enter the criteria on a form. You have more control that way. Generally speaking, if a query/report will always be filtered by something, I'll include a criteria in the query. If a filter will only be used sometimes, I'm more likely to use the wherecondition method in the link. I actually just created a report that uses both techniques. It will always be filtered to a date range, so that's in the query. Sometimes they want to be able to filter by driver, so that's in the wherecondition when needed.
    Paul (wino moderator)
    MS Access MVP 2007-2019
    www.BaldyWeb.com

  7. #7
    leamas is offline Novice
    Windows Vista Access 2010 32bit
    Join Date
    May 2012
    Posts
    21
    My forms are autopopulated with all that unit's details, by entering the criteria "unit #", so what would this other form look like would you suggest?

  8. #8
    pbaldy's Avatar
    pbaldy is offline Who is John Galt?
    Windows XP Access 2007
    Join Date
    Feb 2010
    Location
    Nevada, USA
    Posts
    22,641
    It would have controls (text box, combo box, etc) for whatever criteria were required for the report, and a button to run it.
    Paul (wino moderator)
    MS Access MVP 2007-2019
    www.BaldyWeb.com

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

Similar Threads

  1. Web Report doesn't prompt for parameters
    By coverman in forum SharePoint
    Replies: 1
    Last Post: 03-09-2012, 04:16 PM
  2. Parameter Report Problem
    By keatsy_040489 in forum Reports
    Replies: 3
    Last Post: 02-04-2012, 08:00 AM
  3. Get parameter prompt
    By yawalias in forum Queries
    Replies: 1
    Last Post: 12-22-2011, 09:25 AM
  4. prompt for orderby in report
    By nkuebelbeck in forum Access
    Replies: 2
    Last Post: 08-18-2011, 12:57 PM
  5. Run Report with Prompt for Field Criteria
    By diane802 in forum Reports
    Replies: 4
    Last Post: 01-15-2010, 02:31 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