StuckInTheMiddle
Programmer
Hi,
I've created a VBA form which allows the user to select from checkbox which fields from various tables they want.
My VBA then creates a query and runs it to retrieve the fields and this works great, however I want to be able to 'format' the output into a report.
The problem i have is when creating the report that I don't know which fields the user is going to select at design time. Is there some way to create a report at <i>runtime</i> in much the same way i did the query?
I've created a VBA form which allows the user to select from checkbox which fields from various tables they want.
My VBA then creates a query and runs it to retrieve the fields and this works great, however I want to be able to 'format' the output into a report.
The problem i have is when creating the report that I don't know which fields the user is going to select at design time. Is there some way to create a report at <i>runtime</i> in much the same way i did the query?