unwanted control duplication

  • Thread starter Thread starter richaluft
  • Start date Start date
R

richaluft

Hi;
On a report detail section, I have a textbox (for the report text),
and beneath this field I have a label and an unbound object frame (for
my bitmap signature).
When the report is previewed, my label and unbound object frame are
appearing TWICE; once, directly under the textbox (where I want it),
and AGAIN at the page bottom. Can anyone explain how to get rid of
this behavior?.
Textbox canshrink = yes
Detail section canshrink = yes
Thanks, Richard
 
Try this:

Private Sub Report_Open(Cancel As Integer)
Me.Refresh
DoCmd.OpenReport "Your_Report_Name", acViewPreview, , "id = " & Me!id
End Sub

Hope this helps,
Adnan
 
Try this:

Private Sub Report_Open(Cancel As Integer)
Me.Refresh
DoCmd.OpenReport "Your_Report_Name", acViewPreview, , "id = " & Me!id
End Sub

Hope this helps,
Adnan

Adnan;
Tried your suggestion, but it doesn't compile.
Stops at "Me.Refresh" with errmsg of
"Compile error:
Method or data member not found"

I'm using Ac2003, if that matters.
Richard
 
Back
Top