I have one report I want to use as an invoice but have different record sources for it. For example I have a command button on a form which opens the report to show all of todays orders. On another form is a button to show the report for that particular customer.
I need to change the record source of the report depending which button was used.
I have tried using an If and Callform statement in the OnOpen section of the report but no luck.
I've also looked at similar threads in the forum but can't find what I need.
Anyone have any suggestions?
Thanks
I need to change the record source of the report depending which button was used.
I have tried using an If and Callform statement in the OnOpen section of the report but no luck.
I've also looked at similar threads in the forum but can't find what I need.
Anyone have any suggestions?
Thanks