R & R Doesn^t work
-
- Posts: 6
- Joined: Tue Oct 10, 2017 12:44 pm
R & R Doesn^t work
I am trying to pass a char string parameter from VB 6 using the R & R OCX control for version 9.____R & R doesn^t receive the parameter..____The lasterror message says "undefined job control variable: empId"__These are the steps I have taken...____1. create a calculated field:__a: calculated field name = "employeeid"__b: expression = RIPARAM("empId")____2. Under Database .. Query, I created a query where I set the employee_id = employeeid____... everything checks so far____3. Using the OCX, I set ParametersString = "empId = 101"__4. run the report using RunReport (2) .. ____The empId of 101 is not being passed into the report so therefore nothing prints.____What am I doing wrong??? Did I leave anything out??__
=> RE: R & R Doesn^t work
This code worked in my test VB application____RRReport1.ReportName = "C: estEmpTest.rrw"__RRReport1.ParametersString = "EmpId=101"__RRReport1.Destination = 1__RRReport1.Action = 1____Kathleen__R&R Support
-
- Posts: 6
- Joined: Tue Oct 10, 2017 12:44 pm
==> RE: R & R Doesn^t work
That worked.____I had to remove the spaces in..____ParametersString = "Empid = 101"____TO:____ParametersString = "Empid=101"