G
geraldine Hobley
Hi,
I wish to run a report called myreport from access
code (within an access adp). as it stands the report has
the bound storedprocedure and parameters embedded in it's
properties and is run as follows
DoCmd.OpenReport MyReport, acPreview
DoCmd.PrintOut
DoCmd.Close acReport, MyReport, acSaveNo
.. However I would like to run the report passing the
stored procedure and parameters to it within the code.
also the report has a subreport attached called
Mysubreport which is also bound to a stored procedure
with parameters. I also need to pass this information
within the code, Any help would be greatly appreciated.
Regards
Geri
I wish to run a report called myreport from access
code (within an access adp). as it stands the report has
the bound storedprocedure and parameters embedded in it's
properties and is run as follows
DoCmd.OpenReport MyReport, acPreview
DoCmd.PrintOut
DoCmd.Close acReport, MyReport, acSaveNo
.. However I would like to run the report passing the
stored procedure and parameters to it within the code.
also the report has a subreport attached called
Mysubreport which is also bound to a stored procedure
with parameters. I also need to pass this information
within the code, Any help would be greatly appreciated.
Regards
Geri