Hi all,
We run a lot of Access app via Window's Scheduled Tasks functionality. This is Win 2003 server SP2, with Access 2003 SP3.
I have two related issues. First, often Access starts and it immediately goes to a debug window with the yellow line on a totally random line that has never in it's life had a breakpoint, as far as I know. I've read (and it appears to work) that using the /decompile option makes this go away.
First question, does anyone know what *causes* that and how to avoid it?
Second, when this happens when Access runs on a Scheduled Task, I may not know it because the task runs on a separate login than how I log onto the server.
I run a particular report that's emailed via this access app every hour on the hour. So what's happening is when my task timeout comes up, (I usuall set it to 15 min) access is aborted by Task Scheduler, and then the next time it runs, a message comes up (again, I dont' see this because it's in a separate login) saying something like "The last time Access was opened something bad happened, would you like to repair it?".
So this is compounding the issue--once that debug thing happens once, that report will never run for that entire day because now the timeout kills it because it's waiting for a dialog click.
So Second question is--is there an option to supress dialogs and let access *try* to open and hope the debug stop doesn't happen the next time? This is at a higher level than the docmd.setwarnings--it's as the app is opening.
Thanks for any help. I guess a third question would be, is there a third-party scheduler that really works and has more security and flexibility? The Windows version is very cumbersome and has odd security--changing some items require the whole password thing--yet *any* user can open any task and *disable* a critical task with no password prompt. I don't understand that.
Thanks,
--Jim
We run a lot of Access app via Window's Scheduled Tasks functionality. This is Win 2003 server SP2, with Access 2003 SP3.
I have two related issues. First, often Access starts and it immediately goes to a debug window with the yellow line on a totally random line that has never in it's life had a breakpoint, as far as I know. I've read (and it appears to work) that using the /decompile option makes this go away.
First question, does anyone know what *causes* that and how to avoid it?
Second, when this happens when Access runs on a Scheduled Task, I may not know it because the task runs on a separate login than how I log onto the server.
I run a particular report that's emailed via this access app every hour on the hour. So what's happening is when my task timeout comes up, (I usuall set it to 15 min) access is aborted by Task Scheduler, and then the next time it runs, a message comes up (again, I dont' see this because it's in a separate login) saying something like "The last time Access was opened something bad happened, would you like to repair it?".
So this is compounding the issue--once that debug thing happens once, that report will never run for that entire day because now the timeout kills it because it's waiting for a dialog click.
So Second question is--is there an option to supress dialogs and let access *try* to open and hope the debug stop doesn't happen the next time? This is at a higher level than the docmd.setwarnings--it's as the app is opening.
Thanks for any help. I guess a third question would be, is there a third-party scheduler that really works and has more security and flexibility? The Windows version is very cumbersome and has odd security--changing some items require the whole password thing--yet *any* user can open any task and *disable* a critical task with no password prompt. I don't understand that.
Thanks,
--Jim