A Microsoft Office (Excel, Word) forum. OfficeFrustration

If this is your first visit, be sure to check out the FAQ by clicking the link above. You may have to register before you can post: click the register link above to proceed. To start viewing messages, select the forum that you want to visit from the selection below.

Go Back   Home » OfficeFrustration forum » Microsoft Access » Setting Up & Running Reports
Site Map Home Register Authors List Search Today's Posts Mark Forums Read  

One Parameter to open 2 Reports



 
 
Thread Tools Display Modes
  #1  
Old August 22nd, 2006, 01:14 AM posted to microsoft.public.access.reports
TanyO
external usenet poster
 
Posts: 1
Default One Parameter to open 2 Reports

I have two reports Chem1 and Chem2 that ask for a parameter value upon
opening. How do I write a Macro that says when opening Chem1 using lets say
parameter value of 44 to also open Chem2 using the same value.
--
TanyO
  #2  
Old August 22nd, 2006, 04:26 AM posted to microsoft.public.access.reports
Ken Snell \(MVP\)
external usenet poster
 
Posts: 2,506
Default One Parameter to open 2 Reports

Do this by having a form open that asks the user to enter/select the value,
then let each report's query read the value from that form's control that
has the value:

Forms!FormName!ControlName

--

Ken Snell
MS ACCESS MVP

"TanyO" wrote in message
...
I have two reports Chem1 and Chem2 that ask for a parameter value upon
opening. How do I write a Macro that says when opening Chem1 using lets
say
parameter value of 44 to also open Chem2 using the same value.
--
TanyO



 




Thread Tools
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

vB code is On
Smilies are On
[IMG] code is Off
HTML code is Off
Forum Jump


All times are GMT +1. The time now is 06:08 PM.


Powered by vBulletin® Version 3.6.4
Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
Copyright ©2004-2024 OfficeFrustration.
The comments are property of their posters.