Hello Hal,

I can't rule out a user attempting to open the table using Excel, but I
believe this is highly unlikely, therefore a good possibility :)

I just recently opened a legacy application using vfp 7, and it is possible
that I might have opened the stallions table with this version, although I
can not categorically say this is true.

The other possibility is a "rude" shutdown of my laptop while the file was
open.

I have re-set the "Next Value" and all is well, so far...

Jim





-----Original Message-----
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf
Of Hal Kaplan
Sent: Thursday, November 30, 2006 4:09 PM
To: ProFox Email List
Subject: RE: Auto Inc as PK index

I did not see anything to indicate this is resolved so I will continue.

There are only a few ways that the value can be changed the way it did and
most of them are not readily available to the casual user.  However, the
documentation indicates that exposure of the table to a version of VFP prior
to 8 could corrupt the settings.  

Can you rule out that possibility?

B+
HALinNY 

=> -----Original Message-----
=> From: [EMAIL PROTECTED] 
=> [mailto:[EMAIL PROTECTED] On Behalf Of James E Harvey
=> Sent: Thursday, November 30, 2006 14:59
=> To: 'ProFox Email List'
=> Subject: RE: Auto Inc as PK index
=> 
=> The "width" setting is "4"
=> 
=> -----Original Message-----
=> From: [EMAIL PROTECTED] 
=> [mailto:[EMAIL PROTECTED] On Behalf Of Hal Kaplan
=> Sent: Thursday, November 30, 2006 11:23 AM
=> To: ProFox Email List
=> Subject: RE: Auto Inc as PK index
=> 
=> What size is the field? Byte? 2? 4? 8?
=> 
=> B+
=> HALinNY 
=> 
=> => Subject: Auto Inc as PK index
=> =>
=> => I am using an auto inc field as the pk index tag.
=> =>
=> => Today the user could not add a record due to pk 
=> uniqueness violated?
=> =>
=> => I opened the table and found the "Next Value" set to "4"?  
=> => There are over
=> => 275 records already in the table.  I opened on older 
=> backup => of the table and the "Next Value" was okay.
=> =>
=> => Does anyone know how the "Next Value" field could be 
=> reset => to an apparently random number?
=> =>
=> => James E. Harvey
=> 


[excessive quoting removed by server]

_______________________________________________
Post Messages to: [email protected]
Subscription Maintenance: http://leafe.com/mailman/listinfo/profox
OT-free version of this list: http://leafe.com/mailman/listinfo/profoxtech
** All postings, unless explicitly stated otherwise, are the opinions of the 
author, and do not constitute legal or medical advice. This statement is added 
to the messages for those lawyers who are too stupid to see the obvious.

Reply via email to