G
Guest
I have a report named rptBrian, which is run with a command button
cmdreportBrian. (Access 2003 user).
This report is based on a query named qryBriantodo, which is a subquery of
the query qryBrian1
QryBrian1 is based on two related tables, tblCases and tblnotes. tblnotes
is table that is created with a make-table query named qrynotes.
So, whenever I want to run the report rptBrian, I will first run the
qrynotes table, then answer "yes" to the Access prompt "The existing table
‘tblnotes' will be deleted before you run the query. Do you want to continue
anyway?"
Then, I will run the report rptBrian with the cmdreportBrian command button.
Can anyone advise the VBA command/code that would be required as an onclick
event procedure in the cmdreportBrian command button to both (1) automate
the running of the make-table query ‘qrynotes', and (2) eliminate the need to
answer Yes to the prompt, prior to it then calling up the report rptBrian?
Any help would be greatly appreciated.
cmdreportBrian. (Access 2003 user).
This report is based on a query named qryBriantodo, which is a subquery of
the query qryBrian1
QryBrian1 is based on two related tables, tblCases and tblnotes. tblnotes
is table that is created with a make-table query named qrynotes.
So, whenever I want to run the report rptBrian, I will first run the
qrynotes table, then answer "yes" to the Access prompt "The existing table
‘tblnotes' will be deleted before you run the query. Do you want to continue
anyway?"
Then, I will run the report rptBrian with the cmdreportBrian command button.
Can anyone advise the VBA command/code that would be required as an onclick
event procedure in the cmdreportBrian command button to both (1) automate
the running of the make-table query ‘qrynotes', and (2) eliminate the need to
answer Yes to the prompt, prior to it then calling up the report rptBrian?
Any help would be greatly appreciated.