Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
How to get a default value property from database?
Message
De
17/12/2006 21:24:27
Dragan Nedeljkovich (En ligne)
Now officially retired
Zrenjanin, Serbia
 
 
Information générale
Forum:
Visual FoxPro
Catégorie:
Autre
Versions des environnements
Visual FoxPro:
VFP 9 SP1
Divers
Thread ID:
01178443
Message ID:
01178461
Vues:
20
This message has been marked as a message which has helped to the initial question of the thread.
>>
>>
open database yourdbc
>>?DBGETPROP("table.field","FIELD","DefaultValue")
>
>Another question, if I may, please. I tried using DBSETPROP() to set a default value and I get a message that the property is ReadOnly. Does it mean that you can't programmatically set DefaultValue for a field?

Not with dbSetProp(), you need to use Alter Table syntax.

back to same old

the first online autobiography, unfinished by design
What, me reckless? I'm full of recks!
Balkans, eh? Count them.
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform