I am using a report loaded in VB as a .dsr. I have successfully used SQL queries within VB to populate the personal particulars fields on the report form. Each persons record is referenced by the database field Employee.EmployID.
I also have a subreport on the report in Details a (Section 5) and I have set up a parameter field in the subreport (PM-Employee.EmployID), value type number.
When the report is 'run' I get prompted for the EmployID variable and data is displayed correctly, however I cannot seem to pass the variable directly (without prompting). How do I write the code in VB to pass the parameter?
Can someone please assist.
I also have a subreport on the report in Details a (Section 5) and I have set up a parameter field in the subreport (PM-Employee.EmployID), value type number.
When the report is 'run' I get prompted for the EmployID variable and data is displayed correctly, however I cannot seem to pass the variable directly (without prompting). How do I write the code in VB to pass the parameter?
Can someone please assist.