Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
How to progammatically modify default values?
Message
 
 
To
26/09/1998 01:22:01
Larry Long
ProgRes (Programming Resources)
Georgia, United States
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Miscellaneous
Thread ID:
00141099
Message ID:
00141184
Views:
17
Hi Larry,

You can programatically change the default value of a column - you just can't do it with the DBSetProp() Function. Rather, you need to use the Alter Table command. Here is a sample:

Alter Table tabfoo Alter Column myfield Set Default 2
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform