Data Report (Display Data Programically)
Posted on 2001-06-22
VB6(SP5), ADO, Access 97
I would like to use MS Data report. In addition, I'd like to display the data in the report programically. I tried to display data using the following when the report is initatized:
Me.DataMember = strMember 'Global Variable
Me.dataSource = strDataSource 'Global Variable
I keep receiving two error messages:
1. Invalid Data Source
2. Method or DataMember not found.
Do I have to have a "Data Environment" created?
What's the better report to use? VB6 Data Report or the Crystal Report(CR) Control that comes with VB6? Can I programically control CR?