R
rtviper
I have an access 2000 database that has numerous links to other tables in a
Teradata database far away. When I or my users use the database, they press
two buttons sequentially to perform two major functions.
Function 1 is to manipulate the data in the linked tables and create some
local (to this database) tables
Function 2 is to further manipulate this data and create some reports from
the local tables
When the Database is accessed and used by myself or the other users (via
Citrix) everything works fine The system compacts itself and shuts down as it
should, however, when I set it up on the Task scheduler of the remote server
where it resides and use the command line option of "MSACCESS.exe /x
("autoexec macro name") \(location of the file)\(databasename.mdb) and the
program runs at the appropriate time , it runs as it should except that it
does not Compact and shut down it also leaves the .ldb out there. I have the
"Compact on Close" checked and even reset the option in VBA code I also have
a section of the code go along and check for open forms and then close them.
Tools-Options-Advanced are ;
- No Locks
-Shared
- Open Databases using Record Level Locking= unchecked
I have to come in each morning and shut the program down via Citrix and the
Remote TaskMgr.
What am I doing wrong ? it works fine if you run it manually. I even created
a button that runs the Autoexec macro from one of the forms it works right
Help !!
Teradata database far away. When I or my users use the database, they press
two buttons sequentially to perform two major functions.
Function 1 is to manipulate the data in the linked tables and create some
local (to this database) tables
Function 2 is to further manipulate this data and create some reports from
the local tables
When the Database is accessed and used by myself or the other users (via
Citrix) everything works fine The system compacts itself and shuts down as it
should, however, when I set it up on the Task scheduler of the remote server
where it resides and use the command line option of "MSACCESS.exe /x
("autoexec macro name") \(location of the file)\(databasename.mdb) and the
program runs at the appropriate time , it runs as it should except that it
does not Compact and shut down it also leaves the .ldb out there. I have the
"Compact on Close" checked and even reset the option in VBA code I also have
a section of the code go along and check for open forms and then close them.
Tools-Options-Advanced are ;
- No Locks
-Shared
- Open Databases using Record Level Locking= unchecked
I have to come in each morning and shut the program down via Citrix and the
Remote TaskMgr.
What am I doing wrong ? it works fine if you run it manually. I even created
a button that runs the Autoexec macro from one of the forms it works right
Help !!