I have a report that is based on a query that has 30 columns,
Now of course it wont output all columns on 1 page, so I would like to have a field selection on the form that opens that report,
For ex. I have Name, address, city, zip, phone, SS, DOB, Destination, etc.
I would create unbound check-boxes for all of them or an unbound multiselect listbox, where the user can choose which columns to show on the report.
Is that a good idea?
What code do I put on the report open event?
Also, is it possible to move up the fields if the user dosn't select to show them, lets say if user selects name and DOB, it should only show name and DOB without the space for the non visible columns?
Obviously the can grow property is not an option because that grows vertically not horizontally.
Now of course it wont output all columns on 1 page, so I would like to have a field selection on the form that opens that report,
For ex. I have Name, address, city, zip, phone, SS, DOB, Destination, etc.
I would create unbound check-boxes for all of them or an unbound multiselect listbox, where the user can choose which columns to show on the report.
Is that a good idea?
What code do I put on the report open event?
Also, is it possible to move up the fields if the user dosn't select to show them, lets say if user selects name and DOB, it should only show name and DOB without the space for the non visible columns?
Obviously the can grow property is not an option because that grows vertically not horizontally.