Strange Behavior with text block left and width

D

dbguru316

I use two text boxes to establish the left position and widht of another text
box in a report. However if the left position + width equals the exact width
of the report, I get a message that the control is too big to fit in the
section.

Code is as follows:

me.RightText.left = Me.RightPos
Me.RightText.width = me.rightwidth

I get an error when the rightpos is 10054 and the right width if 764. My
report is 10800 wide.

However, if I change the code above to

me.RightText.left = 10054
Me.RightText.width = 746

no error messahes displays and text box prints out correctly.

Any suggestions?
 
A

Arvin Meyer [MVP]

Are you using Access 2007? There are no RightPos and RightWidth properties
to a report that I can find.
 

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