Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Don't you hate it when...
Message
From
02/07/2001 14:35:32
 
 
To
All
General information
Forum:
Visual FoxPro
Category:
Databases,Tables, Views, Indexing and SQL syntax
Title:
Don't you hate it when...
Miscellaneous
Thread ID:
00525999
Message ID:
00525999
Views:
43
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,
Vicki Combs
Customized software for today AND tomorrow...
Applications and web sites designed, developed and maintained. (MBE)

"Change is inevitable...unless that's changed!
Next
Reply
Map
View

Click here to load this message in the networking platform