Hi All,
TGIF!
Here is what I want to do:
When user closes database by closing Main Menu (splashscreen)....on close event will do the following:
MsgBox "Would you like to print End of Day reports?" Yes/No
If Yes then
Print reports ( 2 reports that each have a different query as recordsource)
Close application
Else
Close application
So, my questions are:
-Can a MsgBox trigger the next action? If so how.
-The queries that are the recordsource of the reports I want to print have criteria that is driven by "dates" that are on a form. Can the query look at the "dates" even though the form isn't open? (keep in mind that the default value for these "dates" are already set to Date() which is what I want for the end of day report.
-Lastly, I am not strong in VBA (ok, make that pretty much clueless) so, any help with this code would be greatly appreciated!
Kevo