473,404 Members | 2,187 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,404 software developers and data experts.

Converting from Access 2000 to Access 2003, execute for a sql insert, update not working

Hi all,

I'm sure someone knows about this problem. I have an Access database
designed in Access 2000, connected to an ORACLE 8i back end. On the
ORACLE side I have stored procedures, triggers and views that kick off
at different times. My Access 2000 database works well.

Problem:
I converted the database to Access 2003 am using ORACLE again as my
back end (they have updated the drivers in Oracle to 9i). I an trying
to execute a querydef, when I follow both programs in 2000 the .Execute
executes, when I run it in 2003 it hits the .execute and seems to goto
the On Error GoTo proc_err procedure which brings up a message that
there is someone putting the same information into the table. Can
anyone tell me why the .execute works in 2000 but not 2003 and is this
a problem with XP compared to 2000.
Set qdf = CurrentDb.CreateQueryDef("", strSQL)
With qdf
.Connect = strConnect
.ReturnsRecords = False

'Perform the insertion, allowing 3 retries on error in case of
contention
intRetry = 0
On Error GoTo proc_retry
.Execute
On Error GoTo proc_err

Feb 13 '06 #1
2 2419
Gox
Ch***************@pw.utc.com wrote:
Hi all,

I'm sure someone knows about this problem. I have an Access database
designed in Access 2000, connected to an ORACLE 8i back end. On the
ORACLE side I have stored procedures, triggers and views that kick off
at different times. My Access 2000 database works well.

Problem:
I converted the database to Access 2003 am using ORACLE again as my
back end (they have updated the drivers in Oracle to 9i). I an trying
to execute a querydef, when I follow both programs in 2000 the .Execute
executes, when I run it in 2003 it hits the .execute and seems to goto
the On Error GoTo proc_err procedure which brings up a message that
there is someone putting the same information into the table. Can
anyone tell me why the .execute works in 2000 but not 2003 and is this
a problem with XP compared to 2000.
Set qdf = CurrentDb.CreateQueryDef("", strSQL)
With qdf
.Connect = strConnect
.ReturnsRecords = False

'Perform the insertion, allowing 3 retries on error in case of
contention
intRetry = 0
On Error GoTo proc_retry
.Execute
On Error GoTo proc_err


Hi Christine,

I have a same problem like you, but in my case this not work:

db.QueryDefs.Delete NameOfQuery

On some client machine (Win XP + SP2, Office 2003) works well, but on
others machine (same config -> Win XP + SP2, Office 2003) not work.
I think problem is Access config or Jet

People help us!!

Feb 14 '06 #2
Hi,

I do know that we have the updated SP for Jet the latest one. Some of
my digging I found there is another SP for Office 2003, I know my
company needs to install Office 2003 SP2. Is there a work around for
converting an Access 2000 program to an Access 2003 program? Do I need
to import the forms, modules, reports & classes, like we had to from 97
to 2000? Do I need to rewrite this program in 2003 or can I convert &
then redo the forms & reports?

Thanks,
Chris

Feb 15 '06 #3

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

Similar topics

7
by: jason | last post by:
Is there a way - possibly a disconnected rs? - to update the contents of an existing pulldown on a page without having to re-submit the page for the user to see the pulldown populated with an...
11
by: Wolfgang Kaml | last post by:
Hello All, I have been working on this for almost a week now and I haven't anything up my sleeves anymore that I could test in addition or change.... Since I am not sure, if this is a Windows...
23
by: JustMe | last post by:
I don't know if this has anything to do with AccessXP running on Terminal Services with Access97/2000 also installed, but here is one example of a query that does not work any longer: SELECT...
3
by: ILCSP | last post by:
Hello, I'm fairly new to the concept of running action pass through queries (insert, update, etc.) from Access 2000. I have a SQL Server 2000 database and I'm using a Access 2K database as my...
32
by: robert d via AccessMonster.com | last post by:
I'm looking at converting DAO to ADO in my app. All of my DAO connections are of the following structure: Dim wsName As DAO.Workspace Dim dbName As DAO.Database Dim rsName As DAO.Recordset ...
0
by: CWogksch | last post by:
Hello, Everyone... My name is Chris Wogksch. I have a point of sale application developed in VB6 using MS Access 2003 as the database. I've been running versions of this app for over eight...
6
by: venmore | last post by:
Hi Can someone please point in the right direction. I have an XML file that gets updated every 4 hours on a web server. I can check the XML modification time in ASP and compare to the databse....
6
by: jsacrey | last post by:
Hello everybody, I've got a bit of a situation that I could use some guidance with if possible. I work for an auditing firm where my users audit electronic shipping data for customers to see if...
2
by: raghunadhs | last post by:
Hi All, i have some simple scripts( which may have some insert statements, update statements etc). these scripts were written in Sql server 2000. now i want to use the same scripts in Access. (since...
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
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
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...
0
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows...
0
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome a new...

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.