Strange Behavior with text block left and width

  • Thread starter Thread starter dbguru316
  • Start date Start date
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?
 
Are you using Access 2007? There are no RightPos and RightWidth properties
to a report that I can find.
 
Back
Top