Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Don't you hate it when...
Message
De
21/07/2001 04:11:40
Walter Meester
HoogkarspelPays-Bas
 
 
À
02/07/2001 14:35:32
Information générale
Forum:
Visual FoxPro
Catégorie:
Base de données, Tables, Vues, Index et syntaxe SQL
Divers
Thread ID:
00525999
Message ID:
00533462
Vues:
11
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,
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform