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 17:22:18
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:
01178444
Views:
17
This message has been marked as the solution to the initial question of the thread.
>I want to find a programmatic way to get a value of the DefaultValue property for a field. For example, say I have a table MyTable in the database which has a field MyField1. I want to know what is the DefaultValue set in the database for this field, if any.
>
>Thank you in advance for any suggestions.
open database yourdbc
?DBGETPROP("table.field","FIELD","DefaultValue")

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