[mso] Re: Access 2002: Main/Sub Reports Parameters :VSMail mx4

Cathy,

Try opening the form and adding a button to it.  Then have the button's on
click event launch the report (ideally you should ensure that both fields
have a valid date through some validation in the code to launch the report).
Then when you want to run the report, open the form, fill in  the dates and
click your button.  You appear to have the references correct, but need to
have the form open and filled in when you launch the report.

James

-----Original Message-----
From: Cathy.Evans@xxxxxxxxx [mailto:Cathy.Evans@xxxxxxxxx]
Sent: Tuesday, May 25, 2004 7:02 AM
To: mso@xxxxxxxxxxxxx
Subject: [mso] Re: Access 2002: Main/Sub Reports Parameters :VSMail mx4



Thanks, Peter. I like the idea and am trying to work it out (but may be
screwing it up further!)  I do not know how or if you can link back to the
report start / end date input and wasn't successful doing that, so I
created a form with 2 unbound text boxes called StartDate and EndDate.  My
5 queries now have a field with the following criteria:
'[Forms]![frm_CPM_QTR_Parameter]![StartDate] And
[Forms]![frm_CPM_QTR_Parameter]![EndDate]'

I'm calling the form in the 'On Open' event of the report.  However, I'm
missing something, the form is not actually asking for any dates.  I tried
linking the form to my table and creating Start Date / End Date fields with
my date field, tying those parameter fields to the unbound boxes, but my
report came up blank when I ran it.

Thank you, Cathy


 

                      "Peter Chiavaro"

                      <kp@xxxxxxxx>            To: <mso@xxxxxxxxxxxxx>

                      Sent by:

                      mso-bounce@freelist      cc:

                      s.org

                      05/24/2004 10:06 PM      Subject:  [mso] Re: Access
2002: Main/Sub Reports          
                      Please respond to           Parameters

                      mso

 
..... 
 





Hi Cathy,

I hope I'm not buttin in..

I think what you'll need to do is add two fields on your report menu.

You can name them "StartDate" and "EndDate"

Then, have the criteria in all your queries refer to:

Forms!ReportMenu!StartDate

And=20

Forms!ReportMenu!EndDate

I don't think the syntax above is correct but this is just to give you =
the "idea" of what you need to do.


Hope this helps.

Peter C.
Equine Cooling Technician
John Kimmel Racing Stables
  =20






----------------------------------------------------------------------------
-------------------------
The information transmitted is intended only for the person
or entity to which it is addressed and may contain confidential
and/or privileged material. If you are not the intended recipient 
of this message you are hereby notified that any use, review,
retransmission, dissemination, distribution, reproduction or any
action taken in reliance upon this message is prohibited. If you 
received this in error, please contact the sender and delete the 
material from any computer.  Any views expressed in this message
are those of the individual sender and may not necessarily reflect 
the views of the company.  
----------------------------------------------------------------------------
---------------------------

*************************************************************
You are receiving this mail because you subscribed to mso@xxxxxxxxxxxxx or
MicrosoftOffice@xxxxxxxxxxxxxxxx

To send mail to the group, simply address it to mso@xxxxxxxxxxxxx

To Unsubscribe from this group, send an email to 
mso-request@xxxxxxxxxxxxx with the word "unsubscribe" (without the quotes)
in the subject line.

Or, visit the group's homepage and use the dropdown menu.  This will also
allow you to change your email settings to digest or vacation (no mail).
http://www.freelists.org/webpage/mso

To be able to use the files section for sharing files with the group, send a
request to mso-moderators@xxxxxxxxxxxxx and you will be sent an invitation
with instructions.  Once you are a member of the files group, you can go
here to upload/download files:
http://www.smartgroups.com/vault/msofiles
*************************************************************
*************************************************************
You are receiving this mail because you subscribed to mso@xxxxxxxxxxxxx or 
MicrosoftOffice@xxxxxxxxxxxxxxxx

To send mail to the group, simply address it to mso@xxxxxxxxxxxxx

To Unsubscribe from this group, send an email to 
mso-request@xxxxxxxxxxxxx with the word "unsubscribe" (without the quotes) in 
the subject line.

Or, visit the group's homepage and use the dropdown menu.  This will also allow 
you to change your email settings to digest or vacation (no mail).
http://www.freelists.org/webpage/mso

To be able to use the files section for sharing files with the group, send a 
request to mso-moderators@xxxxxxxxxxxxx and you will be sent an invitation with 
instructions.  Once you are a member of the files group, you can go here to 
upload/download files:
http://www.smartgroups.com/vault/msofiles
*************************************************************

Other related posts: