Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Uniqueness error
Message
 
To
23/07/2007 11:24:16
General information
Forum:
Visual FoxPro
Category:
Databases,Tables, Views, Indexing and SQL syntax
Miscellaneous
Thread ID:
01242809
Message ID:
01242810
Views:
12
>Hi, i have two forms.
>
>Form A:
>- Dataenvironment: tables CV and HERITAGE
>- Form A calls Form B
>- Has the picbtns class
>
>Form B:
>- Dataenvironment: tables HERITAGE
>- I'm adding a record with this code:
>
>APPEND BLANK
>WITH thisform
>	replace padre WITH .combo1.value
>	replace madre WITH .combo2.value
>	replace hijo WITH fils
>ENDWITH
>thisform.Release
>
>
>But after i return to the Form A and try to move through the records with the pictbtns class, it displays this error 5 consecutives times:
>
>FAILED TO ADD/UPDATE RECORD(S) BECAUSE OF NON UNIQUENESS
>
>How can i solve this problem?
>Thx


Did you have an empty record in that table?
Also what is PK for that table?
Against Stupidity the Gods themselves Contend in Vain - Johann Christoph Friedrich von Schiller
The only thing normal about database guys is their tables.
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform