Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
How to get a default value property from database?
Message
From
17/12/2006 21:24:27
Dragan Nedeljkovich (Online)
Now officially retired
Zrenjanin, Serbia
 
General information
Forum:
Visual FoxPro
Category:
Other
Environment versions
Visual FoxPro:
VFP 9 SP1
Miscellaneous
Thread ID:
01178443
Message ID:
01178461
Views:
19
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.
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform