I need to prepare a different set of records for Report Writer to printout.
I can find a few sample of how to use VBA and I managed to retrieve SQL tables and pass to recordset, However, I do not managed to find VBA samples on how to do define parameters for SQL stored procedure, especially for date field.
Please find the attached is my VBA coding and I wish to get return into recordset returned from a Stored Procedure with parameter (date field).
http://img806.imageshack.us/img806/9209/20100719083552.png
In the VBA, I unable to get the receordset correct. Please advise.
Can you please provide me more samples & examples for VBA call Stored Procedure with parameter, return with recordset.
Thank you so much.
*This post is locked for comments
I have the same question (0)