View Single Post
  #1  
Old May 27th, 2010, 07:26 PM posted to microsoft.public.access
Song[_4_]
external usenet poster
 
Posts: 43
Default Change lblHeading.Caption of report based on which form's buttonclicked

I have 2 separate forms. Button on each form opens a report. One
button on one form says "OPEN" and one button on the other form says
"CLOSE"

I do not want to create one report for each button on separate forms.
I just want to use one report to serve both buttons on different forms

On my report, I have lblHeading. If OPEN button is clicked from one
form, I want to change lblHeading to something. If CLOSE button is
clicked from another from, I want to change lblHeading as well.

Thanks for helping.