G
Guest
Hi, This is a continuation of my previous post on 6/9/2005 "Questions on
Control boxes, Parameter queries and calendars in reports."
As background, I am using Access 2003 on a PC with WIN XP Professional. I
have a report based on a three parameter query with the 3 parameters being 1)
Agency, 2) Beginning Date, and 3) Endng Date. My report works fine but I
wanted something besides just a "parameter" box opening and asking for data.
In fact, I do not even know how to tell the user what data to input. As an
example, when they are prompted for Agency, do they input COE, Corp of
Engineers, or what? When prompted for a date, do they input May 31, 2005,
5/31/05, or what? What if the user inputs the ending date as the beginning
date and vicew versa. How can I tell the user the end date needs to occur
after the beginnign date? So, now that I have created a calendar form
(frmCalendar), how do I get this form to open in the Reports OnOpen event?
How do I get the date selected on the calendar to be the date accepted by the
parameter query? How can I get the user to know what data and the correct
format to enter? I have created a macro that the OnOpen event calls but it
opens the form at the same time as the Agency parameter box pops up, which is
not what I want. The order of what parameter pops up 1st does nto matter as
long as each parameter is entered. Thanks in advance. As always, I am ready
to provide additional info.
Andy
Why not develop a dialog form that you call (as a dialog) in the OnOpen
event of the report?
Control boxes, Parameter queries and calendars in reports."
As background, I am using Access 2003 on a PC with WIN XP Professional. I
have a report based on a three parameter query with the 3 parameters being 1)
Agency, 2) Beginning Date, and 3) Endng Date. My report works fine but I
wanted something besides just a "parameter" box opening and asking for data.
In fact, I do not even know how to tell the user what data to input. As an
example, when they are prompted for Agency, do they input COE, Corp of
Engineers, or what? When prompted for a date, do they input May 31, 2005,
5/31/05, or what? What if the user inputs the ending date as the beginning
date and vicew versa. How can I tell the user the end date needs to occur
after the beginnign date? So, now that I have created a calendar form
(frmCalendar), how do I get this form to open in the Reports OnOpen event?
How do I get the date selected on the calendar to be the date accepted by the
parameter query? How can I get the user to know what data and the correct
format to enter? I have created a macro that the OnOpen event calls but it
opens the form at the same time as the Agency parameter box pops up, which is
not what I want. The order of what parameter pops up 1st does nto matter as
long as each parameter is entered. Thanks in advance. As always, I am ready
to provide additional info.
Andy
Why not develop a dialog form that you call (as a dialog) in the OnOpen
event of the report?