Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Dbsetprop 'read only' error
Message
From
13/02/2002 14:58:03
Lutz Scheffler (Online)
Lutz Scheffler Software Ingenieurbüro
Dresden, Germany
 
General information
Forum:
Visual FoxPro
Category:
Databases,Tables, Views, Indexing and SQL syntax
Miscellaneous
Thread ID:
00619649
Message ID:
00619654
Views:
11
This message has been marked as the solution to the initial question of the thread.
Property 'defaultvalue' is readonly, use alter table

Agnes
>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
Words are given to man to enable him to conceal his true feelings.
Charles Maurice de Talleyrand-Périgord

Weeks of programming can save you hours of planning.

Off

There is no place like [::1]
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform