Access 97 changing data

Tech Tip: Click here to run a free scan for Windows Errors and optimize PC performance

From: doglover (anonymous_at_discussions.microsoft.com)
Date: 09/05/04


Date: Sat, 4 Sep 2004 21:55:02 -0700

My database is changing data in fields with wrong
information and I am not exactly sure when this happens.
This is only occuring in one field and two tables are
involved.

table name field with problem
tblworkorders wrk_invno (primary key from tbl
invoice)
tblworkorders wrkno (primary key for this table)
tblinvoice invno(primary key for this table)

The wrk_invno is a one to many relationship (many on the
workorders side). When an invoice is created the
wrk_invno field is updated (automatically)with the invno.
The problem is that sometimes the system places the wrkno
in the wrk_invno field. I compact the database daily. I
have checked the code behind the form that creates the
invoice (invno) and see no errors. This did not start
happening until several weeks ago when we shut down our
server and disconnected because of a hurricane threat.

I thought about adding a field to the work order table
(tblworkorders) to track changes, to help isolate the
source and when the problem actually occurs. Any ideas??



Relevant Pages

  • Re: Split database continued
    ... The code for creating a one off invoice takes 12 seconds with the database ... Private Sub Create_New_Invoice_Click ... Dim Invs As DAO.Recordset ...
    (microsoft.public.access.formscoding)
  • Re: Problem with a template from the MS Office website
    ... noted and have resolve them and reposted them the updated db to our web. ... database. ... I suspect it will be ages before my Access and VBA ... and controls so that the Invoice Report ...
    (microsoft.public.access.reports)
  • Re: A Challenge?
    ... It then creates a new new invoice, ... > that would get updated in the main database and also added to ... An item can be on an uncomplete trade counter invoice when a counter ... >> exponentialy slower as the database grows. ...
    (comp.sys.acorn.apps)
  • Re: Large Lists - Please read and comment
    ... When I explain better techniques used with C/S, ... > upsizing the database. ... I have invoice and payment transactions for over 200 different ... >>> incorrect in a number of ways such as wrong company, wrong customer, ...
    (microsoft.public.fox.programmer.exchange)
  • Re: Invoice Database
    ... Maybe what you really want is to ditch the Excel sheet and go ... Maybe you don't really need a database as such, ... Include such things as the information you need on each invoice, ... , 100 customers, a million, how many? ...
    (microsoft.public.excel)