Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Dbsetprop 'read only' error
Message
General information
Forum:
Visual FoxPro
Category:
Databases,Tables, Views, Indexing and SQL syntax
Title:
Dbsetprop 'read only' error
Miscellaneous
Thread ID:
00619649
Message ID:
00619649
Views:
70
I am trying to temporarily reset the primary key field in a table to call 'nextcd' routine to bump primary key counter and return as default value when records are added.

When running statement below, I get 'property is read only' error.

dbsetprop('vendcontact.vendcntcd', 'field', 'defaultvalue',"nextcd('contact')")

Any help would be much appreciated.

Todd
The day you take complete responsibly for yourself, the day you stop making any excuses, thats the day you start to the top. - O.J. Simpson

Great advice from a questionable source...
Next
Reply
Map
View

Click here to load this message in the networking platform