Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations biv343 on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

passing variables to reports

Status
Not open for further replies.

DanNorris2000

Technical User
Nov 10, 2000
186
US
Is there a way to pass a variable that has been declared in a form and base a reports data on that variable? I would like to print a report everytime a change is made to a certain file.
thanks
Dan
 
There are number of ways.
1. Declare your variable as public and then in your report - filter the data suitably.
2. Declare the report forms data environment as variable and before calling the report, select the required data bt SQL select statement.. or .. select the work area and get the data filtered.
3. Build a view for the purpose of the report with required parameters and get requery... and there could be more ways..
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top