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
Voir le fil de ce thread
Voir le fil de ce thread à partir de ce message seulement
Voir tous les messages de ce thread
Voir tous les messages de ce thread à partir de ce message seulement