Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Run Time Primaey index corrupts.
Message
 
To
02/12/2002 06:36:01
James Hill
Jim Hill Productions
Halifax, Nova Scotia, Canada
General information
Forum:
Visual FoxPro
Category:
Databases,Tables, Views, Indexing and SQL syntax
Miscellaneous
Thread ID:
00728134
Message ID:
00728627
Views:
23
>The only error message about the corupted index I get
>(on a stand alone machine as well) is 'CIDauct' has been
>corrupted" then I am presented with an option to 'revert'.

Assuming that the actual error you are getting is "Uniqueness of 'index' is violated", what could be happening here is that you have a blank record in your data somewhere, and that you are inserting another one. Your code doesn't actually seem to be doing this, but fwiw...

Also, have you confirmed that the value that's being inserted is actually the value that you think is being used?

How does that function compute the next number? Might the data have gotten corrupted so that it's picking up an earlier number than it should be?
My blog
My consulting page
My home page

Member of the Trim Your Auto-Quote Campaign!
What's another word for thesaurus?
Previous
Reply
Map
View

Click here to load this message in the networking platform