I have a main report that calls a subreport. If I just use the wizard and have nothing complex, it works fine. However, I have to dynamically populate the report because my query can produce a different number of columns each time. I have used VB
code in the subreport to do this and it works fine when I call the subreport alone. When I call it from the main, it does not put the values in. Has anyone had this happen? Where should I call the report from the main? I assume that I will have to call it from VB
code and not rely on the wizard.