By using this site, you agree to our updated Privacy Policy and our Terms of Use. Manage your Cookies Settings.
454,968 Members | 1,226 Online
Bytes IT Community
+ Ask a Question
Need help? Post your question and get tips & solutions from a community of 454,968 IT Pros & Developers. It's quick & easy.

2046 error in A97?

P: n/a
MLH
The following unexpected error occurred in AppSpecific Module's Sub
Check4PastSaleDates(), line #350 when called from Cron Form:

2046: "The command or action 'SetWarnings' isn't available now."

My error handler captured the problem condition and reported what
you see above. Clicking OK in the msgbox led to other 2046 errors
with other built in VBA commands. What went wrong? I had to close
the app at the system level & restart it.
Oct 11 '08 #1
Share this Question
Share on Google+
3 Replies


P: n/a
ARC
Are you using the docmd.setwarnings (true or false) command?
"MLH" <CR**@NorthState.netwrote in message
news:te********************************@4ax.com...
The following unexpected error occurred in AppSpecific Module's Sub
Check4PastSaleDates(), line #350 when called from Cron Form:

2046: "The command or action 'SetWarnings' isn't available now."

My error handler captured the problem condition and reported what
you see above. Clicking OK in the msgbox led to other 2046 errors
with other built in VBA commands. What went wrong? I had to close
the app at the system level & restart it.
Oct 13 '08 #2

P: n/a
MLH
Yes.
xxxxxxxxxxxxx

On Sun, 12 Oct 2008 22:35:37 -0500, "ARC" <PC*****@PCESoft.invalid>
wrote:
>Are you using the docmd.setwarnings (true or false) command?
"MLH" <CR**@NorthState.netwrote in message
news:te********************************@4ax.com.. .
>The following unexpected error occurred in AppSpecific Module's Sub
Check4PastSaleDates(), line #350 when called from Cron Form:

2046: "The command or action 'SetWarnings' isn't available now."

My error handler captured the problem condition and reported what
you see above. Clicking OK in the msgbox led to other 2046 errors
with other built in VBA commands. What went wrong? I had to close
the app at the system level & restart it.
Oct 15 '08 #3

P: n/a
ARC
Paste the entire proc into a reply, and I'll have a look.

Take care,
Andy
"MLH" <CR**@NorthState.netwrote in message
news:e5********************************@4ax.com...
Yes.
xxxxxxxxxxxxx

On Sun, 12 Oct 2008 22:35:37 -0500, "ARC" <PC*****@PCESoft.invalid>
wrote:
>>Are you using the docmd.setwarnings (true or false) command?
"MLH" <CR**@NorthState.netwrote in message
news:te********************************@4ax.com. ..
>>The following unexpected error occurred in AppSpecific Module's Sub
Check4PastSaleDates(), line #350 when called from Cron Form:

2046: "The command or action 'SetWarnings' isn't available now."

My error handler captured the problem condition and reported what
you see above. Clicking OK in the msgbox led to other 2046 errors
with other built in VBA commands. What went wrong? I had to close
the app at the system level & restart it.
Oct 17 '08 #4

This discussion thread is closed

Replies have been disabled for this discussion.