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 Mike Lewis on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

parameterfields returns only MainReport parameters

Status
Not open for further replies.

BlackBox

Programmer
Feb 21, 2001
10
0
0
BE
Hi,
Does anybody know what the reason could be why the parameterfields property only returns the parameters of the main report. But it doesn't contain any parameters from the 10 subreports. We use VB6 with CR 8.5 and the CraxDRT.DLL Here is some code;

Dim repReport As CraxDRT.Report
Dim prfDefs As CraxDRT.ParameterFieldDefinitions
Dim prfDef As CraxDRT.ParameterFieldDefinition

Set prfDefs = repReport.ParameterFields
For Each prfDef In prfDefs
msgbox prfDef.Name
Next prfDef

We only get the parameterfieldnames of the mainreport.
Can anybody us?

Thnx
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top