Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
How to progammatically modify default values?
Message
From
27/09/1998 11:10:02
Larry Long
ProgRes (Programming Resources)
Georgia, United States
 
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Miscellaneous
Thread ID:
00141099
Message ID:
00141223
Views:
22
>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
Thankx!
//:^)
L.A.Long
ProgRes
lalong1@charter.net
Previous
Reply
Map
View

Click here to load this message in the networking platform