Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Can't do tableupdate with autoincrement field
Message
 
 
To
04/12/2004 15:47:22
Alex Zhadanov
Computer Generated Solutions
New York City, New York, United States
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Environment versions
Visual FoxPro:
VFP 8
OS:
Windows 2000 SP3
Database:
Visual FoxPro
Miscellaneous
Thread ID:
00966921
Message ID:
00966929
Views:
8
Hi Alex,

In the View Designer go to the Update Criteria tab and make autoincrement field non-updatable.

>I tried to do tableupdate from local view to table.
>One of the fields in this table is autoincrement (primary key).
>I got error: Field PKEY is read only.
>I tried to use CURSORSETPROP("AutoIncError",.F.,"vcustomers") and
>set AUTOINCERR OFF,But it did not help.
>Thank you.
--sb--
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform