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

Microsoft Access has encountered a problem...

Any help appreciated with this problem --

I have a Microsoft Access 2002 application. The Access
mdb has a refence to DAO 3.6 (not ADO). A form is bound to
a linked table in a second mdb. In the AfterUpdate event
method of a text box, after a SaveRecord, a method is called which is
in a
GlobalMultiuse class in an ActiveX code component that I
compiled in VB6. In this method, a DAO recordset is
opened on the same record in the same database table that
the form is linked to, and then, some
fields of the record are modified with rs.Edit / rs.Update, and
then the recordset is set = Nothing. These
modified fields are also shown on the Access form.

I have tried this technique on a small test app, and all
works fine: the changes appear on the Access form.

However, in my app, the AfterUpdate results in:
"Microsoft Access has encountered a problem and needs to
close. We are sorry for the inconvenience."

Clicking a button brings up s screen that says ModName =
dao3600.dll.

I have seen this message in other Access apps, but
usually I can compact & repair or import all objects into
a new MDB and that fixes it. Here though it happens every
time.

Any ideas how to proceed???

Feb 5 '06 #1
2 3071
Access and the Jet engine are both fully up to date with service packs? If
you're using the db on multiple machines then ensure that that's true for
all of them.
"bo**@4bcx.com" <bc******@ix.netcom.com> wrote in message
news:11**********************@g14g2000cwa.googlegr oups.com...
Any help appreciated with this problem --

I have a Microsoft Access 2002 application. The Access
mdb has a refence to DAO 3.6 (not ADO). A form is bound to
a linked table in a second mdb. In the AfterUpdate event
method of a text box, after a SaveRecord, a method is called which is
in a
GlobalMultiuse class in an ActiveX code component that I
compiled in VB6. In this method, a DAO recordset is
opened on the same record in the same database table that
the form is linked to, and then, some
fields of the record are modified with rs.Edit / rs.Update, and
then the recordset is set = Nothing. These
modified fields are also shown on the Access form.

I have tried this technique on a small test app, and all
works fine: the changes appear on the Access form.

However, in my app, the AfterUpdate results in:
"Microsoft Access has encountered a problem and needs to
close. We are sorry for the inconvenience."

Clicking a button brings up s screen that says ModName =
dao3600.dll.

I have seen this message in other Access apps, but
usually I can compact & repair or import all objects into
a new MDB and that fixes it. Here though it happens every
time.

Any ideas how to proceed???

Feb 6 '06 #2
MDB is crap

DAO is crap

Sqeak SQL or pass it to someone who does

MDB isn't reliable enough for a single user and a single record

Feb 7 '06 #3

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

Similar topics

0
by: Ray | last post by:
Date problem. Using non American date formats with Microsoft Access and Visual Basic. I set my regional settings to English(Ireland) or English(United Kingdom) and my date appears in Access as...
0
by: Ryan Strauss | last post by:
I was wondering if someone could help me out with this exception I'm encountering on a few of our C# reports. The issue occurs sporadically and only to certain users, myself not included. Whenever...
49
by: Yannick Turgeon | last post by:
Hello, We are in the process of examining our current main application. We have to do some major changes and, in the process, are questionning/validating the use of MS Access as front-end. The...
10
by: Bob Darlington | last post by:
I have been getting the above error message intermittently when I open any one of five or six forms in design view, change some control formatting (like backcolor) and try to open the form in form...
7
by: Randy Harris | last post by:
I've run into a nasty problem, can't find a way around it. This line of code: DoCmd.OutputTo acOutputTable, "GSQ_Criteria", acFormatXLS, FileName errors with #2385 - Errors were...
1
by: sticks | last post by:
I hope someone can help with this strange problem I've encountered: I have an Access interface that is used to access a SQL database. The interface uses some stored procedures to display...
1
by: PJ6 | last post by:
Pages were working fine that used Microsoft.ApplicationBlocks.Data.dll, and now, with no changes, we're getting this - Access is denied: 'Microsoft.ApplicationBlocks.Data'. All I can find with...
4
by: Saher | last post by:
Hi, im new on this forum and just joined today. I HAVE A HUGE PROBLEM! My microsoft access does not work. I click on the link, that opens up to microsoft access, its fine untill then. But when i try...
39
by: Martin | last post by:
I have an intranet-only site running in Windows XPPro, IIS 5.1, PHP 5.2.5. I have not used or changed this site for several months - the last time I worked with it, all was well. When I tried it...
0
by: taylorcarr | last post by:
A Canon printer is a smart device known for being advanced, efficient, and reliable. It is designed for home, office, and hybrid workspace use and can also be used for a variety of purposes. However,...
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...
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
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
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers,...
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.