The idea one of my former colleagues used for similar scenarios is to have form's method to create whole column as a string. In the report you would use something like
iif(vartype('thisform') = 'O', thisform.myConcatenateMethod(), myRegularField)
That's just an idea.
If the report is quite simple, you can also put everything for more complex case (many fields) and use Print When condition controlling what to print.
>We have this code in a class-level Print button. The report is setup for two columns as that is what the alias normally has. I would like to make the report form dynamic where it can handle 1 to 5 columns, depending on what's in the alias. Development time is a concern, and one developer has suggested just using different reports for each scenario. That goes against my sense of oneness with the world, so is there a non time consuming way to have one report form handle this? The data is all very similar, lookups, codes, descriptions, that sort of thing. Using VFP9.
<snip>
If it's not broken, fix it until it is.
My Blog