Passing Parameter to Report
-
- Posts: 12
- Joined: Tue Oct 10, 2017 12:44 pm
Passing Parameter to Report
I am using ReportWorks Latest version, and vb6__I need to send a character parameter to a report which may__vary each time the report is printed. I am unable to put it in a table__as the system is multi user.__The Control is called Report1.____I have set up a calculated field called Rn2__? How do i send say "Cabbage" to the report__? Report1.ReportName="Rep6"__? Report1.???????????? Rn2 = "Cabbage" (is is something like this?)______Regards Robert
=> RE: Passing Parameter to Report
Change the expression of Rn2 in the report to be:__RIPARAM("forRn2")____Then in the control use:__Report1.Parameters(0)="forRn2=Cabbage"____When you execute the report the value of the calculated field will then become Cabbage.____Kathleen__R&R Support__
-
- Posts: 12
- Joined: Tue Oct 10, 2017 12:44 pm
==> RE: Passing Parameter to Report
Kathleen,__Thanks for your help, this worked fine.__Regards Robert