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

Passing Parameters to CrystalReports

Status
Not open for further replies.

complan

Programmer
Apr 18, 2002
1
US
While Not recLoad.EOF
iXValue = rs!XValue
iYValue = rs!YValue

rpt.AddToFieldDetails "CaseSheetName", iXValue,iYValue

rs.MoveNext
Wend

Problem:
"rpt.AddToFieldDetails "CaseSheetName", iXValue,iYValue"

Here, "casesheetName" all the record values are getting loaded, where as i want only one record value to be loaded at a time.

so, i want a statement like this:

"rpt.AddToFieldDetails rs!CaseSheetName, iXValue,iYValue"

(where casesheetname is the field name)

But, unfortunately it's not accepting this..

Please clarify.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top