Why don't you replace the
SELECT * FROM ...with
SELECT Field1Name, Field2Name, Field3Name FROM ...This way, you won't have to hide fields!
>Hi!
>
>When I use a Hierarchical Grid with an ADODB DataShape I can't hide a column when the Column acts as a related one for example
>
>SHAPE {select * from authors}
>APPEND ({select * from titleauthor}
>RELATE au_id TO au_id) AS chapTitleAuthor
>
>when I execute the ColWidth(X) = 0 on the au_id column it takes a default width.
>
>How can I hide columns when the Grid is bound to hierarchical data?
>
>Thanks in advance
Éric Moreau, MCPD, Visual Developer - Visual Basic MVP
Conseiller Principal / Senior Consultant
Moer inc.
http://www.emoreau.com