G
Gus
Hi everyone, I have an Access 2002 ADP file with a report that calls
on a SQL Server 2000 stored procedure. The report is opened from a
form named frmReportList. The report's Report_Open event should be
setting the parameters for the procedure call, but when I call on the
report, Access still prompts me for values to the stored procedure. Am
I setting the input parameters correctly? Is Report_Open the right
place to do this? How can I stop Access from prompting me to enter
stored procedure parameters and set those parameter values instead
from VBA? Thanks everyone!
Private Sub Report_Open(Cancel As Integer)
Me.InputParameters = "@StartDate
datetime=Forms!frmReportList!txtStartDate, @EndDate
datetime=Forms!frmReportList!txtEndDate"
End Sub
Gus
on a SQL Server 2000 stored procedure. The report is opened from a
form named frmReportList. The report's Report_Open event should be
setting the parameters for the procedure call, but when I call on the
report, Access still prompts me for values to the stored procedure. Am
I setting the input parameters correctly? Is Report_Open the right
place to do this? How can I stop Access from prompting me to enter
stored procedure parameters and set those parameter values instead
from VBA? Thanks everyone!
Private Sub Report_Open(Cancel As Integer)
Me.InputParameters = "@StartDate
datetime=Forms!frmReportList!txtStartDate, @EndDate
datetime=Forms!frmReportList!txtEndDate"
End Sub
Gus