Stored Procedure as Report RecordSource

A

A. Schneider

Hallo,
please excuse my bad English.
We are using Access 2000 and MS SQL-Server 7.0.
I have the following problem:
I must use a Stored Procedure with 5 parameters for
RecordSource in a report.
Can I use the following VBA-Code:

Report_Open:
Report_B_Warenausgangsliste.RecordSource = "EXEC
GP_Warenausgang @VersTermin = '" & Forms![F_Warenausgang]!
[vvVersTermin].Value & "'"

Thanks for your help

A. Schneider
 
Top