473,379 Members | 1,283 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,379 software developers and data experts.

Error with MDB but not with MDE in Runtime

sj
I am using Access 03 to develop a Quotation system and has this
strange enconter.

On computer with Full Access Ver.
---------------------------------------------------
The MDB program works well, and also when simulated of /runtime.

On computer runntion on Runtime
-------------------------------------------------
Error occur with MDB but not with converted MDE.

Detail of error:
--------------------
"Execution of this application has stopped due to a run-time error.
This application can't continue and will be shut down."

Happens after this code:
----------------------------------
DoCmd.Close acReport, stPubDocName

Situation when it happens:
--------------------------------------
When there is more than one QuotationDetails in the Quotation report.
Please help.

May 25 '07 #1
2 4410
ARC
You might want to put an error handling routine in the On_Close event of the
report in question. That way, when it hits in the error in the on_close,
your message will come up, and the system will continue on without erroring
all the way out...

"sj" <se*********@gmail.comwrote in message
news:11********************@z28g2000prd.googlegrou ps.com...
>I am using Access 03 to develop a Quotation system and has this
strange enconter.

On computer with Full Access Ver.
---------------------------------------------------
The MDB program works well, and also when simulated of /runtime.

On computer runntion on Runtime
-------------------------------------------------
Error occur with MDB but not with converted MDE.

Detail of error:
--------------------
"Execution of this application has stopped due to a run-time error.
This application can't continue and will be shut down."

Happens after this code:
----------------------------------
DoCmd.Close acReport, stPubDocName

Situation when it happens:
--------------------------------------
When there is more than one QuotationDetails in the Quotation report.
Please help.

May 25 '07 #2
On May 25, 8:13 am, "ARC" <a...@andyc.comwrote:
You might want to put an error handling routine in the On_Close event of the
report in question. That way, when it hits in the error in the on_close,
your message will come up, and the system will continue on without erroring
all the way out...

"sj" <sengjin....@gmail.comwrote in message

news:11********************@z28g2000prd.googlegrou ps.com...
I am using Access 03 to develop a Quotation system and has this
strange enconter.
On computer with Full Access Ver.
---------------------------------------------------
The MDB program works well, and also when simulated of /runtime.
On computer runntion on Runtime
-------------------------------------------------
Error occur with MDB but not with converted MDE.
Detail of error:
--------------------
"Execution of this application has stopped due to a run-time error.
This application can't continue and will be shut down."
Happens after this code:
----------------------------------
DoCmd.Close acReport, stPubDocName
Situation when it happens:
--------------------------------------
When there is more than one QuotationDetails in the Quotation report.
Please help.- Hide quoted text -

- Show quoted text -
It sound like a corrupt form to me. Anyway, you should rule out a
corrupt form by setting the /decompile switch as a command line
startup option as below:
"C:\Program Files\Microsoft Office\OFFICE11\MSACCESS.EXE" "C:\CTDDT
\CTD.mdb" /wrkgrp "C:\CTDDT\CTD.mdw" /user "Administrator" /Excl /
decompile
If that doesn't work create another form and see if the code runs OK
from it.

As a last ditch measure create a new empty .mdb file and import all
the objects from your current .mdb into it.

Good Luck,
Barry
www.witstoronto.ca

May 30 '07 #3

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

0
by: Don Stevic | last post by:
I am running VS2005 and using VSTO for Word. I keep getting this error saying that there is no source code available for this location when I try and run this application. I am going to...
16
by: | last post by:
Hi all, I have a website running on beta 2.0 on server 2003 web sp1 and I keep getting the following error:- Error In:...
0
by: aartinawani | last post by:
Hi I have an asp.net application running under Windows 2003 Server, IIS 6, for 2 years. Today, suddenly, the site went down at 3:38 pm and the application raised an error entitled "Server too...
2
by: Lonewolf | last post by:
hi all, I realize the example on MSDN for IPCChannel has compile error in VS2005 pro. Either I'm missing something or there's something seriously wrong with MSDN on that section. I reproduce the...
669
by: Xah Lee | last post by:
in March, i posted a essay “What is Expressiveness in a Computer Language”, archived at: http://xahlee.org/perl-python/what_is_expresiveness.html I was informed then that there is a academic...
25
by: dennijr | last post by:
ok, shell always used to be easy for me, now its starting to get annoying cause i dont know wats wrong heres the simplist code possible: Private Sub IExplorer_Click() a = Shell("C:\Program...
0
by: bill gates | last post by:
I was trying to use msbee to build an old project. I don't want to upgrade to dotnet2.0. Is there any way to get this to compile using DevStudio 2005 using dotnet1.1. ? Build FAILED....
0
by: Sebastian | last post by:
Hello I develop my applications in Access 2002. My development system is running Windows XP SP2 and I have Microsoft Office XP Developer. Microsoft Office XP is at SP3. I used Inno Setup (great...
4
by: Miro | last post by:
<i have also added this reply to the other newsgroup - now that I have realizd ( and assuming ) it is not a localized error directly to vb.> I have found this link on the website:...
0
by: pinky22 | last post by:
I am calling SSIS package from a .Net windows UI. Both SSIS & .Net app are created in 2008. The SSIS package is stored in file system. When I ran .Net app I got error- The package failed to...
0
by: Faith0G | last post by:
I am starting a new it consulting business and it's been a while since I setup a new website. Is wordpress still the best web based software for hosting a 5 page website? The webpages will be...
0
by: ryjfgjl | last post by:
In our work, we often need to import Excel data into databases (such as MySQL, SQL Server, Oracle) for data analysis and processing. Usually, we use database tools like Navicat or the Excel import...
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
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...

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.