WB786
MIS
- Mar 14, 2002
- 610
Here is my goal: To have one report that will point to the customer ID on various forms. Currently I have one report per form with its query pointing to the custid of the form. To reduce the size of my database I would like the report to open up and change the record source to point to the form that is active.
I can change the record source on report open function but am not able to figure out how to say:
if formA active then record source ="queryA"
else
if formB active then recordsource = "queryB"
end if
end if
Any other ideas are most welcome. Thanks in advance,
WB
I can change the record source on report open function but am not able to figure out how to say:
if formA active then record source ="queryA"
else
if formB active then recordsource = "queryB"
end if
end if
Any other ideas are most welcome. Thanks in advance,