J
Joan
I'm reposting this as I forgot to put a subject on the first one I posted.
Can anyone tell me how to go about setting a control on a report to be
invisible depending upon which of two labels are double-clicked on a form
to open the report?
I have a report with two labels. If one label is double-clicked, I want a
report to open with all the informatiion on it.
If the other label is double-clicked , I'd like the same report to open only
without the cost information field. Do I set the control to be invisible on
the On Open event of the report? If so, how do you code this? Is it
something like:
If Forms![Reports Menu]![lblWithoutCost].OnDblClick = True Then
Me.[Purchase Price].Visible = False.
I thought that this would be easier than setting a new SQL for the report.
Would be appreciative knowing the best way to work this.
Thanks,
Joan
Can anyone tell me how to go about setting a control on a report to be
invisible depending upon which of two labels are double-clicked on a form
to open the report?
I have a report with two labels. If one label is double-clicked, I want a
report to open with all the informatiion on it.
If the other label is double-clicked , I'd like the same report to open only
without the cost information field. Do I set the control to be invisible on
the On Open event of the report? If so, how do you code this? Is it
something like:
If Forms![Reports Menu]![lblWithoutCost].OnDblClick = True Then
Me.[Purchase Price].Visible = False.
I thought that this would be easier than setting a new SQL for the report.
Would be appreciative knowing the best way to work this.
Thanks,
Joan