Wrox Programmer Forums

Need to download code?

View our list of code downloads.

Go Back   Wrox Programmer Forums > Microsoft Office > Access and Access VBA > Access
Password Reminder
Register
| FAQ | Members List | Calendar | Search | Today's Posts | Mark Forums Read
Access Discussion of Microsoft Access database design and programming. See also the forums for Access ASP and Access VBA.
Welcome to the p2p.wrox.com Forums.

You are currently viewing the Access section of the Wrox Programmer to Programmer discussions. This is a community of tens of thousands of software programmers and website developers including Wrox book authors and readers. As a guest, you can read any forum posting. By joining today you can post your own programming questions, respond to other developers’ questions, and eliminate the ads that are displayed to guests. Registration is fast, simple and absolutely free .
DRM-free e-books 300x50
Reply
 
Thread Tools Search this Thread Display Modes
  #1 (permalink)  
Old March 4th, 2004, 09:11 AM
Friend of Wrox
 
Join Date: Aug 2003
Location: Warks, Warks, United Kingdom.
Posts: 137
Thanks: 0
Thanked 0 Times in 0 Posts
Default Parmeter query probs / confusion


I have a report that generates an output based on a parameter query whereby a user specifies the start date for all the courses details a user wants to output. What I want to do is store the value they enter and have this value listed on the report. Is this possible?

Gaz
__________________
Gaz
Reply With Quote
  #2 (permalink)  
Old March 4th, 2004, 10:00 AM
Friend of Wrox
 
Join Date: Jul 2003
Location: Houston, Texas, USA.
Posts: 174
Thanks: 0
Thanked 0 Times in 0 Posts
Default

Are you using a form for the user to input the dates? If so, leave the form open, and pass the values to the report like this in an unbound text box with the control source of:

="Between " & [Forms]![frmName]![StartDate] & " - " & [Forms]![frmName]![EndDate]

When the report closes, close the form which was used for the dates.

Regards,

Beth M
Reply With Quote
  #3 (permalink)  
Old March 4th, 2004, 12:04 PM
Friend of Wrox
 
Join Date: Aug 2003
Location: Warks, Warks, United Kingdom.
Posts: 137
Thanks: 0
Thanked 0 Times in 0 Posts
Default

I am having to keep the database as basic as possible as the end users of the database want to develop the database themselves at a later stage when they get up to speed with Access. Therefore, I am avoiding having to use Macros or VBA as much as possible. I thought it would be easy but making the database as basic as possible have caused no end of set back.

So, in answer to your question I am actually running a basic parameter based query specified in one of the database field values in the query design window

Gaz
Reply With Quote
  #4 (permalink)  
Old March 4th, 2004, 12:10 PM
Friend of Wrox
 
Join Date: Jul 2003
Location: Houston, Texas, USA.
Posts: 174
Thanks: 0
Thanked 0 Times in 0 Posts
Default

Unfortunately, I don't believe you can pass the values used as criteria unless you first use a form which actually holds the values while the report is opened. When you close the report, you would also close the form.

If you want more details, let me know.

Beth M
Reply With Quote
Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off
Trackbacks are Off
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
pass-through query with input parmeter jimmy Access 4 February 8th, 2018 10:21 AM
Pong probs --- Help... ironchef BOOK: Professional XNA Game Programming: For Xbox 360 and Windows ISBN: 978-0-470-12677-6 6 February 21st, 2009 04:12 PM
More session_start() probs LaVey Beginning PHP 13 March 4th, 2007 10:20 AM
Active X Script - Exec St Proc w\ Output Parmeter lwendt33 SQL Server DTS 0 February 1st, 2005 12:30 PM



All times are GMT -4. The time now is 02:40 PM.


Powered by vBulletin®
Copyright ©2000 - 2019, Jelsoft Enterprises Ltd.
© 2013 John Wiley & Sons, Inc.