Holly_Associated
Registered User.
- Local time
- Today, 15:02
- Joined
- Mar 21, 2013
- Messages
- 53
Hi Experts,
I have come across something new to me and wanted some advice on how to proceed and what is the "accepted" version of events.
I have created a report, a dynamic method statement actually, and want my user to be able select some data to appear in the report. Let me explain...
Report is rptMS01, it is fed from a query and has some fields to automatically populate [Company], [Site], [Postcode] etc. All of the static text is in CanGrow textboxes to sidestep the report height limit. The report is opened by a button on a form which uses a macro to open only for the current site. All OK so far.
My boss would like a section/text box/subreport to select the personnel involved in each method statement and this to appear on the report.
So, on clicking the button on the form which would usually open the report directly, some kind of intermediary selection form opens instead with a list of all personnel. User can then select which personnel to involve and on clicking OK this appears in the designated box on the report. A CanGrow/Shrink textbox would be ideal!
So, how do I go about this? Do I need to include this in the current query which feeds the report? I know a listbox can have multiple selections but how would I reference this? How do I keep the other fields as well? Should I create a table with the personnel list?...
This is very complex for me so any help is appreciated and please explain as if talking to a three year old!
I have come across something new to me and wanted some advice on how to proceed and what is the "accepted" version of events.
I have created a report, a dynamic method statement actually, and want my user to be able select some data to appear in the report. Let me explain...
Report is rptMS01, it is fed from a query and has some fields to automatically populate [Company], [Site], [Postcode] etc. All of the static text is in CanGrow textboxes to sidestep the report height limit. The report is opened by a button on a form which uses a macro to open only for the current site. All OK so far.
My boss would like a section/text box/subreport to select the personnel involved in each method statement and this to appear on the report.
So, on clicking the button on the form which would usually open the report directly, some kind of intermediary selection form opens instead with a list of all personnel. User can then select which personnel to involve and on clicking OK this appears in the designated box on the report. A CanGrow/Shrink textbox would be ideal!
So, how do I go about this? Do I need to include this in the current query which feeds the report? I know a listbox can have multiple selections but how would I reference this? How do I keep the other fields as well? Should I create a table with the personnel list?...
This is very complex for me so any help is appreciated and please explain as if talking to a three year old!