Why do I get this message "Cannot insert new column: No unused columns"

While developing a script, that inserts a column for attribute aDT next to a column, that displays aDF, I get an error message:
-R-W- DXL: <Line:48> Cannot insert new column: No unused columns.

See attached DXL.

When I compare this with code, that does something similar, in the kitchen, I see no difference.(Ref: <utensils/views.inc>210)
DolfRiedel - Fri Jul 17 04:23:40 EDT 2009

Re: Why do I get this message "Cannot insert new column: No unused columns"
vimo - Fri Jul 17 05:14:58 EDT 2009

Note: The maximum number of columns you can display in a view is 32.
So first try with a view with less columns.
hope this help
Vincent

Re: Why do I get this message "Cannot insert new column: No unused columns"
DolfRiedel - Fri Jul 17 06:51:56 EDT 2009

Hi vimo,

thanks.

Although your tip did not quite help, it put me on the right track.
Actually my script has a wrong stopping criterion to insert the/ a column.
So it kept inserting and stopped when trying to insert column #33.