Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Don't you hate it when...
Message
From
21/07/2001 04:11:40
Walter Meester
HoogkarspelNetherlands
 
 
To
02/07/2001 14:35:32
General information
Forum:
Visual FoxPro
Category:
Databases,Tables, Views, Indexing and SQL syntax
Miscellaneous
Thread ID:
00525999
Message ID:
00533462
Views:
9
Better late than never.

After i've been bitten by this, I discovered it was a documented bug. See Article ID: Q256925 in the knowledgebase.

Walter,

>Don't you hate it when you have an application that was running like a top and you make one little change and bam, the whole thing goes crazy! Here's my story: I added a field to a table in the user's application. I added it to their database and the screen. I added it to the view for that screen. Tested it with a copy of their data and added the new field info works great. Problem occurs when I try to add a new record using tableupdate(0,.T.,theview,amyarray). I keep getting a uncommitted changes error on the view and the error message is an 1884, uniqueness of index violated. I've looked into the file, checked the primary keys, checked the primary key generation, etc. and it looks like the system is creating a record with a blank key and putting the key into the PREVIOUS record (physical).
>
>I swear, I did not change anything in the modify/save areas, only added the one little field. Anyone have a clue where I might look to figure this out or how to fix it?
>
>TIA,
Previous
Reply
Map
View

Click here to load this message in the networking platform