unwanted control duplication

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
 
A

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
 
R

richaluft

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
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top