G
GY2
I want to write a VBscript that will be kicked off by Windows Scheduler. The
script should open an Access 2007 accdb file (via OpenDatabase?) and then
(using currentdb.openRecordset?) shove the results of a saved query into a
recordset through which I can step completely one time.
The query's SQL is fairly long so I wonder is there a way to just refer to
it by its name in the accdb file instead of having to stick the entire string
into my function? Can a command object be a query name? Can the Source
argument be a query name?
I'm guessing this is all less that 5-6 loc. All help really appreciated.
script should open an Access 2007 accdb file (via OpenDatabase?) and then
(using currentdb.openRecordset?) shove the results of a saved query into a
recordset through which I can step completely one time.
The query's SQL is fairly long so I wonder is there a way to just refer to
it by its name in the accdb file instead of having to stick the entire string
into my function? Can a command object be a query name? Can the Source
argument be a query name?
I'm guessing this is all less that 5-6 loc. All help really appreciated.