VB3 Err - Data Has Changed 
Author Message
 VB3 Err - Data Has Changed

Every once in a while this error msg appears when running our VB app.  It
apparently will go away if you exit windows and restart so I am guessing that
a temp file is no longer in sync with what VB expects.

What causes this error?
How can it be fixed during runtime?

I would appreciate any insight anyone could give.

Thanks,  Lyle



Sat, 04 Apr 1998 03:00:00 GMT  
 VB3 Err - Data Has Changed

Quote:

>Every once in a while this error msg appears when running our VB app.  It
>apparently will go away if you exit windows and restart so I am guessing that
>a temp file is no longer in sync with what VB expects.

>What causes this error?
>How can it be fixed during runtime?

You're using an access-db????

Take a good look at db-locking tecniques.
Data has changed means excactly that: the data you are editing has been changed
and written by another user.

It is a couple of good articles about this in the KB.

Hope this helps...

--
=============================================================
Dag Sunde               | This is the standard thing to make
                        | sure nobody thinks my employer are
System Developer        | responsible for any of the {*filter*}I
Jussystemer As          | just said.
St. Olavs Plass 3,      |
OSLO, Norway            |                  T.A.N.S.T.A.A.F.L.
=============================================================



Thu, 09 Apr 1998 03:00:00 GMT  
 VB3 Err - Data Has Changed

Quote:
>Help... this is really starting to become a problem and is no longer isolated
>to VB3, I am getting it when I go into Access as well.  The only cure is to
>restart windows.  Even if there is no cure I sure would like to understand
>what causes this... then I could do what the good doctor says - "Stop doing
>that!"

>Me, again.

I have seen this happen when only part of a database record is corrupted, for e.g.
when a memo or ole field is corrupted but the index field is intact.  We tried
repairing the db but it didn't seem to repair some memo or ole fields.  I think this
happened to us because of bad drives in our file server. What he had to do was
browse the table in Access carefully until we hit the record that causes a "Data has
changed error."  Usually you will be able to figure out which fields where damaged
and could possibly recover them from a backup.

I would repair the database first.  If it happens again, then it could be a bad drive or
some network problem.  Good luck.
--
-----------------
Floro Crisostomo



Sun, 12 Apr 1998 03:00:00 GMT  
 
 [ 3 post ] 

 Relevant Pages 

1. Not getting err 3197: Data has changed

2. VB3 App New Err

3. Change language of err.description?

4. Change language of err.description?

5. Having trouble changing the focus...

6. having vb 5.0 change screen resolution and color depth

7. VB4 Question: Having trouble changing .ScrollBars property

8. having excel send an outlook email message when a field is changed

9. having to pause between writing and reading changes

10. Err 3759 Scaling of decimal value resulted in data truncation

11. Data error event hit err:Column(ordernr)does not exist in the appropriate rowset

12. Data Event Hit err:

 

 
Powered by phpBB® Forum Software