jeffcadorette
Jul 9th, 1999, 10:05 PM
I want to make a report from a Com object on my server.
The object return me an ado recordset that work well in a form
but when i try to set the datasource of my report to the object it's ok but how can i set the datamenber properties and How can set the link to the text box with the recordset?
my code in the data report go like this
Private Sub DataReport_Initialize()
Dim objJeff As ExpertClient.Liste
Dim rstJeff As ADODB.Recordset
Set objJeff = New ExpertClient.Liste
Set rstJeff = objJeff.Listing
Set Me.DataSource = rstJeff
End Sub
Maybe it's because i'm not an expert with dataenvironment in visual basic by now i don't know what to do!
I have about 30 object on my server that return me ado recordset
Can any one tell me what i'm doing wrong and can write me code to help me.
Thank's in advance for your help,
Sincerly
Desperate Jeff
The object return me an ado recordset that work well in a form
but when i try to set the datasource of my report to the object it's ok but how can i set the datamenber properties and How can set the link to the text box with the recordset?
my code in the data report go like this
Private Sub DataReport_Initialize()
Dim objJeff As ExpertClient.Liste
Dim rstJeff As ADODB.Recordset
Set objJeff = New ExpertClient.Liste
Set rstJeff = objJeff.Listing
Set Me.DataSource = rstJeff
End Sub
Maybe it's because i'm not an expert with dataenvironment in visual basic by now i don't know what to do!
I have about 30 object on my server that return me ado recordset
Can any one tell me what i'm doing wrong and can write me code to help me.
Thank's in advance for your help,
Sincerly
Desperate Jeff