kevininpsu
Nov 9th, 2004, 02:45 PM
I am attempting to set a recordset in vb for crystal reports. When I test...my recordset has 1 record but the report is still returning all records.
Dim ReportDret As New rptDret 'rptDret.dsr
ReportDret.Database.SetDataSource rstList '1 record in rstList
rptDret.dsr is my viewable report in vb. linked to the database but doesnt seem to be using my recordset. What could I be doing wrong?
Dim ReportDret As New rptDret 'rptDret.dsr
ReportDret.Database.SetDataSource rstList '1 record in rstList
rptDret.dsr is my viewable report in vb. linked to the database but doesnt seem to be using my recordset. What could I be doing wrong?