R
Randy K.
I have several reports that take > 30 minutes to run and would like to have
them run at night and be ready when staff comes in for work. I have a
machine that runs 24/7 to use and have seen code to use vbscript and 'at' to
do this. BUT, most of these reports use queries that use global variables
as criteria (the globals get set by controls on several forms and/or
functions that get called when changing a value on a form) and I have yet to
get it to accept values at runtime so the report always comes out blank.
How do I set global variables via vbscript OR another way of using my
existing .mdb (I don't want to have to make another copy using different
criteria style) to schedule the running of reports. I have VB6/VB.NET
available to me as well.
TIA,
Randy K.
them run at night and be ready when staff comes in for work. I have a
machine that runs 24/7 to use and have seen code to use vbscript and 'at' to
do this. BUT, most of these reports use queries that use global variables
as criteria (the globals get set by controls on several forms and/or
functions that get called when changing a value on a form) and I have yet to
get it to accept values at runtime so the report always comes out blank.
How do I set global variables via vbscript OR another way of using my
existing .mdb (I don't want to have to make another copy using different
criteria style) to schedule the running of reports. I have VB6/VB.NET
available to me as well.
TIA,
Randy K.