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

Using Crystal Reports with Visual Basic

Status
Not open for further replies.

eugenia

Technical User
Oct 10, 2000
1
MX
Hi. I am programming with Visual Basic along with Crystal Reports. I try to assign a recordset to the report using unbound fields, but when I run the report, an error is displayed: Run Time Error 9. Subscript Out of Range. The instruction in which the error is generated is:

Report.Database.SetDataSource rs (where rs is a Recordset)

Can somebody help me

Thanks [sig][/sig]
 
Was the report created using the active data driver?
Does the Recordset have the fields in the same order as the report expects them?

If you need more help you should read the FAQ on what to include in your question and post the added information. [sig]<p>Ken Hamady- href= Reports Training by Ken Hamady</a><br>[/sig]
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top