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

Supplying CrystalReport Datasource

Status
Not open for further replies.

Alkemac

IS-IT--Management
Jun 3, 2003
23
0
0
ZA
Starting out with Crystal..as always, things have to be done in a rush.

I am using Crystal 10 developers edition, with VB6.

I've used the data report writer in VB6, but never the Crystal Report one.

Some questions :-

1) How do I setup the datasource for the crystal report programmatically ?

2) How do I pass the values of the returned fields to the fields on the report ?

Thanks!
 
Hi, There should be examples in the docs for CR, but basically it can use any ADO, OLEDB, ODBC connection/datasource .

The report 'returns' the data in the report - it is not like creating a recordset and then displaying its contents in a hand-coded table or form.

Read the Docs..The RDC for CR is powerful and needs study to be used efficiently..

[profile]
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top