Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Error when removing default value
Message
Information générale
Forum:
Visual FoxPro
Catégorie:
Stonefield
Divers
Thread ID:
00689110
Message ID:
00689305
Vues:
14
This message has been marked as the solution to the initial question of the thread.
Hi Bob.

>When I change a field from char(10) to char(5) and remove the default value i get the following error:
>
>Error #12 Variable 'DEFAULT' not found
>Line # 55
>alter table (lcAlias) ........
>
>To avoid it I first have to remove the default values, save the changes, then edit and save again to change the length.

This turns out to be a bug in VFP: you can't combine the DROP DEFAULT clause with anything else without getting an error. I'll have to change SDT so it uses two separate ALTER TABLE commands under these conditions.

Thanks for the bug report!

Doug
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform