J
JString
Ok I know you're all probably wondering why the heck do I want to use a list
box on a report? The thing is that I have an idea for a dynamic report and
the listbox seems to be the perfect control help make this possible. Instead
of creating an array of several controls spanning the width of the report
detail section, they could all be replaced by a single list box. The idea is
to use code to configure its column count, column widths and row data based
on info gathered from the user before the form is launched.
The problem is that I don't know exactly how to go about this yet. I tried
setting the report record source, listbox row source type to 'table/query'
and listbox rowsource to the same source as the report. As it is, the report
will display one listbox for every record in its source, and each listbox
displays data but only for one record. Does anybody know how I might get
each successive box to get data from the next record?
Thanks in advance.
box on a report? The thing is that I have an idea for a dynamic report and
the listbox seems to be the perfect control help make this possible. Instead
of creating an array of several controls spanning the width of the report
detail section, they could all be replaced by a single list box. The idea is
to use code to configure its column count, column widths and row data based
on info gathered from the user before the form is launched.
The problem is that I don't know exactly how to go about this yet. I tried
setting the report record source, listbox row source type to 'table/query'
and listbox rowsource to the same source as the report. As it is, the report
will display one listbox for every record in its source, and each listbox
displays data but only for one record. Does anybody know how I might get
each successive box to get data from the next record?
Thanks in advance.