tpickles1984
Registered User.
- Local time
- Today, 05:50
- Joined
- Feb 5, 2003
- Messages
- 19
Hi, just wondering whether anyone can help me with this. I have a simple form that contains details for a component, and a subform showing what harnesses contain this component. What I'd like to be able to do is click on a button on the form, and for it to print a report showing the data on the form (ie. one component and the harnesses that it is used in).
I've made a report that should do the job, but the problem is that at the moment it shows records for all of the components, not just the one that is being viewed in the form. Ideally I'd like the button on the form to open the report and apply a filter based on the form information, just like can be done automatically when moving from one form to another.
Can anyone help with this? I've attached a sample of what the problem is at the moment, if someone could show me a way of applying the filter in this situation I'd be much obliged!
I've made a report that should do the job, but the problem is that at the moment it shows records for all of the components, not just the one that is being viewed in the form. Ideally I'd like the button on the form to open the report and apply a filter based on the form information, just like can be done automatically when moving from one form to another.
Can anyone help with this? I've attached a sample of what the problem is at the moment, if someone could show me a way of applying the filter in this situation I'd be much obliged!