>Hello
>
>I am creating reports in VB 6 using the DataReport object. I would like to be able to dynamically add labels or textboxes to the report at run-time. Is this possible?
>
>In part of the report there is a requirement for there to be 3 column types each with 5 field columns in them. The number of records is unknown at design time and may be different for each column type.
Have you tried controls.add ? I think I have seen an example doing it somewhere but I can't remember where.
Éric Moreau, MCPD, Visual Developer - Visual Basic MVP
Conseiller Principal / Senior Consultant
Moer inc.
http://www.emoreau.com