Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
How do I change values in a table
Message
From
24/10/2008 09:50:48
 
 
To
24/10/2008 09:44:58
General information
Forum:
Visual FoxPro
Category:
Databases,Tables, Views, Indexing and SQL syntax
Environment versions
Visual FoxPro:
VFP 9 SP2
OS:
Vista
Network:
Windows 2008 Server
Database:
MS SQL Server
Miscellaneous
Thread ID:
01356890
Message ID:
01356895
Views:
16
>The user is logged in for a particular site (i.e. A) and wants to change all values except the site code. In a from I can find the record, When I try to change the I get an error message that the uniqueness of the record is violated. I use the UPDATE command. Is there a may of updating the record or do I have to tell the user to log on with that site (my current statutory)?

Your error message indicates that your form generates a duplicate record as defined by table's candidate index. It might happen that this index expression includes site code. Basically, check the index and check the saving code.
Edward Pikman
Independent Consultant
Previous
Reply
Map
View

Click here to load this message in the networking platform