Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Dbsetprop 'read only' error
Message
Information générale
Forum:
Visual FoxPro
Catégorie:
Base de données, Tables, Vues, Index et syntaxe SQL
Titre:
Dbsetprop 'read only' error
Divers
Thread ID:
00619649
Message ID:
00619649
Vues:
71
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...
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform