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
Previous
Reply
View the map of this thread
View the map of this thread starting from this message only
View all messages of this thread
View all messages of this thread starting from this message only