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

Access stucks in Before Update

Hello,
I'm moving an Access application to .net +sql server.
First step is to make Access front-end for sql server.
I've moved the tables to the SQL Server and linked them through ODBC.
Mostly it works alright, but ometimes it stucks. It happens like this:
all records on the forms have BeforeUpdate that call SaveChanges
function and it displays "changes ok" message box. Only sometimes it
doesn't get to the message and is stuck.
The strange things are that it happens only once in a while and
sometimes works ok on the same record. And the strangest is that if it
is stuck, but I run some over Access application it continues working
and shows no errors and no sign of problems.

Please help
PS I might crosspost this, sorry. but it is very urgent wince this is
my new job

Nov 13 '05 #1
1 1249
I can only ask you is there an error handler in the BeforeUpdate event as:

On Error GoTo ErrorHandler

ErrorHandler:

MsgBox Err.Number &" "& Err.Description

Resume next

Maybe this will help to find out way your application is running into a
trap.

<li*********@gmail.com> schreef in bericht
news:11*********************@f14g2000cwb.googlegro ups.com...
Hello,
I'm moving an Access application to .net +sql server.
First step is to make Access front-end for sql server.
I've moved the tables to the SQL Server and linked them through ODBC.
Mostly it works alright, but ometimes it stucks. It happens like this:
all records on the forms have BeforeUpdate that call SaveChanges
function and it displays "changes ok" message box. Only sometimes it
doesn't get to the message and is stuck.
The strange things are that it happens only once in a while and
sometimes works ok on the same record. And the strangest is that if it
is stuck, but I run some over Access application it continues working
and shows no errors and no sign of problems.

Please help
PS I might crosspost this, sorry. but it is very urgent wince this is
my new job




Nov 13 '05 #2

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

Similar topics

3
by: Fie Fie Niles | last post by:
In my ASP (IIS 5.1), when I use oFile.OpenTextFile to open a file, the code stucks. How can I fix this problem? Thanks. set oFile = CreateObject("Scripting.FileSystemObject") strServerFileName...
2
by: Irvin | last post by:
I new to ASP.net and am using the following code to attempt to update an Access 2000 mdb. The code does make it through the code following "try". NO rows are updated. There is a row with the...
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...
2
by: aaj | last post by:
Hi all I have a continuous bound form and on each record is a tick box. The user ticks the boxes and these boxes define the batch. for future operations before they leave the page I count...
15
by: Cheryl Langdon | last post by:
Hello everyone, This is my first attempt at getting help in this manner. Please forgive me if this is an inappropriate request. I suddenly find myself in urgent need of instruction on how to...
17
by: rdemyan via AccessMonster.com | last post by:
With A2003, I'm having trouble accessing files in a folder on another computer where back-end files, update files, etc are located. Here's the scenario: 1) Computer #1 - A2003 2) Computer #2 -...
4
by: alexandre.brisebois | last post by:
Hi, I am using access 2003, I would like to know if there is an option to reorganize the tables in a maner that is readable, as we can do in sql sever 2000 or 2005. I have been given a database...
15
by: chaseexchange | last post by:
First, a brief explanation of why this has happened. I purchased, what I thought, was a fully functional program written in Access last year from a local programmer. This program was to be used as...
0
by: sumitsant | last post by:
We have some process which imports data from comma separated, plain text file into word template. Upon initiating ActiveDocument.MailMerge.OpenDataSource the process stucks some times (no error...
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: 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...
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
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
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.