Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Change a key value
Message
 
To
25/09/2008 10:24:51
General information
Forum:
Visual FoxPro
Category:
Forms & Form designer
Environment versions
Visual FoxPro:
VFP 9 SP1
OS:
Windows XP SP2
Network:
Windows XP
Database:
MS SQL Server
Miscellaneous
Thread ID:
01350332
Message ID:
01350881
Views:
25
Hi Claude,

>Even if user UPDATE or REPLACE I still get the error (P.S. I looked at the code and it uses TABLEUPDATE(,T.,.T.) in the method used by the save button).

I wasn't talking about the user functions. It looks like the code behind the scenes does an APPEND when the user chooses to edit the record. Or, the code does something like GATHER and is on the wrong record. What do GETFLDSTATE() and RECNO() report on the TABLEUPDATE() line. Changing field B when field A is candidate key does not trigger the error message you are seeing.
--
Christof
Previous
Reply
Map
View

Click here to load this message in the networking platform