Results 1 to 5 of 5
  1. #1
    KingOf206 is offline Competent Performer
    Windows 7 64bit Access 2010 64bit
    Join Date
    Apr 2013
    Location
    Seattle
    Posts
    153

    Question Trying to add the "parameter" values of a report to the report header...

    Ok, So I am Trying to add the "parameter" values of a report to the report header... I am able to do it, however, when I did it the way I thought should work I am asked to enter the parameter values TWICE. It is asking me for the "Enter the Start Date" box twice. And the 2nd box is the one that actually appears on the report.



    How Can I get past this to only ask me the parameter values 1 time and then will show the parameter values on the report header?

    This shows my report in design view

    Click image for larger version. 

Name:	Untitled.jpg 
Views:	10 
Size:	222.3 KB 
ID:	21424

    This one shows the order of the Search Parameters that it asks me (it should only ask me 3 of those questions, not 4)

    Click image for larger version. 

Name:	Untitled3.png 
Views:	10 
Size:	81.8 KB 
ID:	21422



    Here is the Query that this report is based off of
    Click image for larger version. 

Name:	Untitled1.jpg 
Views:	10 
Size:	120.6 KB 
ID:	21423


    How can I get this report to only ask me the parameter values 1 time?

  2. #2
    June7's Avatar
    June7 is offline VIP
    Windows 7 64bit Access 2010 32bit
    Join Date
    May 2011
    Location
    The Great Land
    Posts
    53,632
    Possibly because one has more characters than the other. Looks like an additional space in the second Start Date prompt string after the colon.

    I would not use popups for this dynamic user input. Cannot validate the entry resulting in much frustration for users. I NEVER use dynamic parameterized queries.

    Have users input parameters on a form where validation can be managed. Then report would reference the form controls. Apply filter criteria when report is opened using WHERE CONDITION argument of OpenReport method.

    Review http://www.allenbrowne.com/ser-62.html
    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
    KingOf206 is offline Competent Performer
    Windows 7 64bit Access 2010 64bit
    Join Date
    Apr 2013
    Location
    Seattle
    Posts
    153
    I have other reports in which I do this a very similar way and it only shows up once, like normal. IS there a way i could still use this and it only show up once? I honestly am not quite sure what you are asking me. I am sorry, I wish I knew more....

  4. #4
    June7's Avatar
    June7 is offline VIP
    Windows 7 64bit Access 2010 32bit
    Join Date
    May 2011
    Location
    The Great Land
    Posts
    53,632
    Did you check the strings? Are they exactly the same? As noted, looks like an additional space after colon in the second Start Date prompt.
    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.

  5. #5
    KingOf206 is offline Competent Performer
    Windows 7 64bit Access 2010 64bit
    Join Date
    Apr 2013
    Location
    Seattle
    Posts
    153
    yes that was it! I renamed the "Strings" and ensured they match. Now it only asks 1 time.

    June7... You are the WHOA-Man!! Lol See I remembered!

    Case CLOSED

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

Similar Threads

  1. Replies: 8
    Last Post: 07-15-2014, 05:56 PM
  2. Replies: 30
    Last Post: 09-27-2013, 01:34 PM
  3. "Enter Parameter Value" At Report Run Time?
    By JeffGeorge in forum Access
    Replies: 5
    Last Post: 06-13-2013, 08:44 AM
  4. Export "Query or Report" to a "Delimited Text File"
    By hawzmolly in forum Import/Export Data
    Replies: 3
    Last Post: 08-31-2012, 08:00 AM
  5. Replies: 1
    Last Post: 08-23-2012, 08:32 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