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!

Bind Ado-RS to an Report in VB6

Status
Not open for further replies.

murratore

Programmer
Oct 24, 2002
10
0
0
CH
Hi there...
I've the following problem:
I have en Recordset which is dynamically builded upon the inputs from the user.
Now I want to bind this Recordset to an report. During my researches I've found severel examples to do this, but in all of them were the reports integrated into VB6. In my case the reports were openend with Application.Openreport(filename) and therefore the possibility to work with unbound fields are not there, aren't they? Do I have to work with a Field Definition File?

Does anybody have an examples or something like that?

Thx in advance....
 
Using .dsr files or .rpt files the call should be the same since they are the same thing. Only diff is that the .dsr will be compiled into the .exe and the .rpt will not.

Report.Database.SetDatasource rsName, 3[, 1 ]
'.SetDataSource (rs, data tag, [tableindex])






Cheers,

SurfingGecko
Home of Crystal Ease
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top