Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Too many Columns error
Message
From
16/07/2008 11:31:28
 
 
To
15/07/2008 09:15:47
Jerry Tovar
Dana Corporation Dana It
Maumee, Ohio, United States
General information
Forum:
Visual FoxPro
Category:
Stonefield
Miscellaneous
Thread ID:
01331355
Message ID:
01331681
Views:
40
Hi Jerry.

>I have made updates to 1 table in my VFP database by adding 20 fields to the structure. The new structure now contains 252 fields.
>
>When I try to update my production copy of this VFP database and run the oMeta.oSDTMgr.Update('ALL'), I get the following error when SDT tries to update this modified table.
>
>*********************************
>Error #1872
>Message: Too Many Columns
>Line# 468
>Method: DBCXMGR.OSDTMGR.UPDATEONETABLE
>*********************************

Like Chris suggested, it sounds like you're not only adding some fields but also dropping some. SDT does the ADD COLUMN work first and DROP COLUMN work second for reasons documented in the SDTMgr.HowToSyncTable method. So, while the net result may be adding 20 fields, if you actually add 30 and remove 10, this will fail because the 30 added fields take you over the 254 field limit. Is that the case here?

Doug
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform