S
Steven
I have the following vb code for a form command button that i wish to open a
report with. The report is fed by a StoredProcedure that asks for the
parameter ScheduleDetailsID, why cant i get the button to pass this
parameter.
Private Sub Print_Roster_Click()
Dim stDocName As String
stDocName = "CourseRoster"
stLinkCriteria = "[ScheduleDetailsID]=" & Me![ScheduleDetailsID]
DoCmd.OpenReport stDocName, acPreview, stLinkCriteria
I've asked this in the past and was directed to look for InputParameter
threads, havent found anything I understand - new to ADP. Thank you for your
help.
report with. The report is fed by a StoredProcedure that asks for the
parameter ScheduleDetailsID, why cant i get the button to pass this
parameter.
Private Sub Print_Roster_Click()
Dim stDocName As String
stDocName = "CourseRoster"
stLinkCriteria = "[ScheduleDetailsID]=" & Me![ScheduleDetailsID]
DoCmd.OpenReport stDocName, acPreview, stLinkCriteria
I've asked this in the past and was directed to look for InputParameter
threads, havent found anything I understand - new to ADP. Thank you for your
help.