|
-
Oct 19th, 2007, 03:04 AM
#1
Thread Starter
Lively Member
ADO and Datareport
Hi everyone!
A am developing a visual basic 6 application that uses many database types so... I can't create dataenvironment to create easy datareports....
For the begining I use access database file....and I try to make miscellaneous reports and I really don't know how to build them...
I have to create them at runtime....
-
Oct 19th, 2007, 01:17 PM
#2
Re: ADO and Datareport
You can use ADO recordset as report datasource.
Code:
'display Invoice Listing report
With rptInvlisting
' Bind the Recordset to the Report
Set .DataSource = rsR
.DataMember = rsR.DataMember
.Show vbModal
End With
rsR is ADO recordset
-
Oct 19th, 2007, 03:22 PM
#3
Thread Starter
Lively Member
Re: ADO and Datareport
Thanks a lot.....but I also want to build them at startup....add controls that manage my data
-
Oct 20th, 2007, 11:10 AM
#4
Re: ADO and Datareport
Build what at startup? I thought you wanted to print a Datareport.
-
Oct 20th, 2007, 12:01 PM
#5
Re: ADO and Datareport
Do you mean add controls to the datareport at runtime? If yes, don't bother trying because you can't.
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|