473,385 Members | 1,732 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,385 software developers and data experts.

2046 error in A97?

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
3 2046
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
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
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 thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

2
by: AIM | last post by:
Error in msvc in building inheritance.obj to build hello.pyd Hello, I am trying to build the boost 1.31.0 sample extension hello.cpp. I can not compile the file inheritance.cpp because the two...
5
by: Tony Wright | last post by:
Hi, I am having a problem installing an msi for a web site. The error message I am getting is: "The specified path 'http://mipdev05/features/Fas2' is unavailable. The Internet Information...
13
by: deko | last post by:
I use this convention frequently: Exit_Here: Exit Sub HandleErr: Select Case Err.Number Case 3163 Resume Next Case 3376 Resume Next
2
by: Nicolae Fieraru | last post by:
Hi All, I have a table in the database and a Word document saved on the hard disk. I want to mailmerge the content of the table into the word document, all done in vba. Any examples? I...
7
by: p | last post by:
WE had a Crystal 8 WebApp using vs 2002 which we upgraded to VS2003. I also have Crystal 9 pro on my development machine. The web app runs fine on my dev machine but am having problems deploying....
2
by: AboutJAV | last post by:
Hi, In my code, I accept very long string, which may be greater than 2046 bytes. String can not exceed this limit. What else can I use to store these very long string? Thanks,
6
by: tony.abbitt | last post by:
I have recently installed Office 2007 (SP1) retaining the previous installation of Office 2003. I have converted an Access 2003 database to Access 2007. The database contains the VBA code...
2
hyperpau
by: hyperpau | last post by:
Before anything else, I am not a very technical expert when it comes to VBA coding. I learned most of what I know by the excellent Access/VBA forum from bytes.com (formerly thescripts.com). Ergo, I...
0
hyperpau
by: hyperpau | last post by:
Before anything else, I am not a very technical expert when it comes to VBA coding. I learned most of what I know by the excellent Access/VBA forum from bytes.com (formerly thescripts.com). Ergo, I...
0
by: aa123db | last post by:
Variable and constants Use var or let for variables and const fror constants. Var foo ='bar'; Let foo ='bar';const baz ='bar'; Functions function $name$ ($parameters$) { } ...
0
by: ryjfgjl | last post by:
If we have dozens or hundreds of excel to import into the database, if we use the excel import function provided by database editors such as navicat, it will be extremely tedious and time-consuming...
0
by: ryjfgjl | last post by:
In our work, we often receive Excel tables with data in the same format. If we want to analyze these data, it can be difficult to analyze them because the data is spread across multiple Excel files...
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...
0
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
0
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...
0
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.