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

run time error 2113

I have a LAN of 7 PCs running Access 2000. Recently the 2 newest PCs
with Athlon XP2000 and XP2400 CPUs have started to generate
intermittent but frequent run time error 2113 ‘data invalid for field'
during order-entry of valid product codes; the problem seems to be
machine-specific as the users can immediately carry on working on any
of the other PCs. As well as updating the software to O2K SR3 and Jet
SP7, and completely rebuilding the database, I've also swapped the
network ports around on the network switch (but I haven't swapped the
cables). I'm wondering whether there could be a problem with the
on-board network adaptors. [Prior to rebuilding the database, there
had been some corruption in the VB code which had been lurking for
several months.] The hardware supplier has concluded the problem is
software-related! All suggestions welcome!
Nov 12 '05 #1
2 8009
TC
If you have access to the sourcecode, the smart move would be to add some
error logging, to find the line of code on which this occurrs. Then take it
from there, and/or, post that line & ask for further help.

HTH,
TC
"Alex Marsh" <ve*****@goosemoor.info> wrote in message
news:82**************************@posting.google.c om...
I have a LAN of 7 PCs running Access 2000. Recently the 2 newest PCs
with Athlon XP2000 and XP2400 CPUs have started to generate
intermittent but frequent run time error 2113 'data invalid for field'
during order-entry of valid product codes; the problem seems to be
machine-specific as the users can immediately carry on working on any
of the other PCs. As well as updating the software to O2K SR3 and Jet
SP7, and completely rebuilding the database, I've also swapped the
network ports around on the network switch (but I haven't swapped the
cables). I'm wondering whether there could be a problem with the
on-board network adaptors. [Prior to rebuilding the database, there
had been some corruption in the VB code which had been lurking for
several months.] The hardware supplier has concluded the problem is
software-related! All suggestions welcome!

Nov 12 '05 #2
This is the subroutine - the code fails on the second line which sets
Wholesale_Rate, and Outer & Split (different prices) are no longer
shown in the list box on the form:

Private Sub Item_BeforeUpdate(Cancel As Integer)

Wholesale_Pack = IIf([Customer.Type] = "R" Or [Customer.Type] =
"S" Or [Customer.Order_Type] = "S", 2, 1)
Wholesale_Rate = IIf(Pack = "1", Outer, Split)
Wholesale_Ratio = Ratio
Wholesale_Unit = Cost_Unit
Wholesale_VAT = Rate
Wholesale_Cost = Deld_Cost

Occurs = 0

End Sub

I have now observed that on the 2 machines that fail, they only fail
if a particular pop-up form is opened and closed - if the pop-up form
is left open then no error occurs. On the other 4 machines, no
failure occcurs even when the pop-up form is closed. This specific
code has been in daily use for 3 years without any problems, but the
system as a whole is regularly updated in-house

Hope someone can help??
"TC" <a@b.c.d> wrote in message news:<1069561305.993989@teuthos>...
If you have access to the sourcecode, the smart move would be to add some
error logging, to find the line of code on which this occurrs. Then take it
from there, and/or, post that line & ask for further help.

HTH,
TC
"Alex Marsh" <ve*****@goosemoor.info> wrote in message
news:82**************************@posting.google.c om...
I have a LAN of 7 PCs running Access 2000. Recently the 2 newest PCs
with Athlon XP2000 and XP2400 CPUs have started to generate
intermittent but frequent run time error 2113 'data invalid for field'
during order-entry of valid product codes; the problem seems to be
machine-specific as the users can immediately carry on working on any
of the other PCs. As well as updating the software to O2K SR3 and Jet
SP7, and completely rebuilding the database, I've also swapped the
network ports around on the network switch (but I haven't swapped the
cables). I'm wondering whether there could be a problem with the
on-board network adaptors. [Prior to rebuilding the database, there
had been some corruption in the VB code which had been lurking for
several months.] The hardware supplier has concluded the problem is
software-related! All suggestions welcome!

Nov 12 '05 #3

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

Similar topics

18
by: Ken | last post by:
Hi. Can anyone refer me to any articles about the compatibility between c++ polymorphism and real-time programming? I'm currently on a real-time c++ project, and we're having a discussion...
5
by: Carmine Cairo | last post by:
Hi, I'm working on a project and today I've note a little problem during the compile fase. Here a little piece of code: // 1st version welldone = 0; size = p->getSize(); backbone = new...
3
by: Jeremy | last post by:
I am creating a form that a person enters a date span in yyyymm form. I want a box to pop up that tells the user "Please enter date in correct format" if the user has entered the data incorrect. I...
2
by: Rebecca Smith | last post by:
I'd like to trap an error if a user inputs a bogus time. The input requires a short time format. If the user enters someting like 20:78, Access will catch that but I'd like something of my own....
1
by: MLH | last post by:
I want to change my system time date each time an A97 app is started. Here's how I've been doing it. Am looking for a better way. Sure some of you have researched this. Function...
1
by: Alfonso Morra | last post by:
Hi I'm compiling some code and need to generate some random numbers. To save time, I decided to use the srand, rand and time functions. My code worked (atleast built fine) until I added time.h,...
9
by: ThunderMusic | last post by:
Hi, I'd like to create a compile time error in my class... maybe there's a way already built in in the framework so I can achieve what I want... I have 2 constructors in my class. One of them...
7
ADezii
by: ADezii | last post by:
One of the most frequently asked questions here at TheScripts is: Can I replace Standard Access Error Messages with my own? The answer is yes under certain circumstances and it involves the placement...
4
by: ahmurad | last post by:
Dear Xperts, In my database table some fault code type records are inserted and the values are like bellows: Error:2/FC:10; 00:15:13 16/03/2009; Error:2/FC:20; 00:15:15 16/03/2009; ...
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
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: 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
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
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing,...

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.