Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
How to progammatically modify default values?
Message
 
À
26/09/1998 01:22:01
Larry Long
ProgRes (Programming Resources)
Georgie, États-Unis
Information générale
Forum:
Visual FoxPro
Catégorie:
Codage, syntaxe et commandes
Divers
Thread ID:
00141099
Message ID:
00141184
Vues:
18
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
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform