Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Insert records in a view
Message
From
01/11/1999 13:10:10
 
 
To
01/11/1999 11:56:07
Marco Beuk
Innovero Software Solutions
The Hague, Netherlands
General information
Forum:
Visual FoxPro
Category:
Databases,Tables, Views, Indexing and SQL syntax
Miscellaneous
Thread ID:
00283021
Message ID:
00284916
Views:
16
>No, I did not. I do check it now and it returns .F.. With aError I find out that the error 'Uniqueness of key violated' (or something like that) is the problem. When I change my index to a regular index (was primary) TableUpdate returns .T. and all new records are inserted but there Id = 0.
>
>Any idea?
>Marco

How are you generating the PK in the view? Sounds like your "unique" number is not so unique after all.
Erik Moore
Clientelligence
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform