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!

vb and cr9 developer edition

Status
Not open for further replies.

WebGuyToo

Programmer
Aug 18, 2004
124
US

Hi all,

Im trying to set some ado recordset fields to some crystal report fields. However, I get stumped on this line...

Report.Database.AddADOCommand ADOrs.ActiveConnection, ADOrs.ActiveCommand

it says "Crystal Reports ActiveX Designer - Create feature not enabled. Someone told me this is a licensing issue with Business Objects.

Is there another way to display a CR report from VB6?

Thanks for any help, WebGuyToo
 
AddADOCommand is part of the Report Creation API, to which addt'l licensing does indeed apply.

If you're simply trying to set a report's data source to an ADO recordset at runtime, the report has to be designed beforehand. Once the report is designed, you use the Report object's SetDataSource method to send it a recordset:

Report.Database.SetDataSource ADOrs

-dave
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top