Hi there,
I got a Crystal Report with ASP sample, but on it i have to connect by a ODBC, i'll want connect using the string connection.
This is the way of the crystal sample code
Set oADOConnection = Server.CreateObject("ADODB.Connection"
oADOConnection.Open ("Sample Database"
Set oADORecordset = Server.CreateObject("ADODB.Recordset"
Set oADORecordset = oADOConnection.Execute("Select [Employee ID],[First Name], [Last Name] From Employee"
Set oRptTable = session("oRpt"
.Database.Tables.Item(1)
oRptTable.SetPrivateData 3, oADORecordset
Thanks to advance
I got a Crystal Report with ASP sample, but on it i have to connect by a ODBC, i'll want connect using the string connection.
This is the way of the crystal sample code
Set oADOConnection = Server.CreateObject("ADODB.Connection"
oADOConnection.Open ("Sample Database"
Set oADORecordset = Server.CreateObject("ADODB.Recordset"
Set oADORecordset = oADOConnection.Execute("Select [Employee ID],[First Name], [Last Name] From Employee"
Set oRptTable = session("oRpt"
oRptTable.SetPrivateData 3, oADORecordset
Thanks to advance