Fixed positioning

  • Thread starter Thread starter Guest
  • Start date Start date
G

Guest

Hi,

Is it possible to fix the position of something on a report page? For example, I'd like to put an invoice total in a specific location on the page, instead of just "immediately after the detail records." In order to print onto a pre-printed form (or at least make it look that way).

Thanks,
Rich
 
rmiller1985 said:
Is it possible to fix the position of something on a report page? For example, I'd like to put an invoice total in a specific location on the page, instead of just "immediately after the detail records." In order to print onto a pre-printed form (or at least make it look that way).


There are several tricky things to try, but they are highly
dependent on what else is going on in the report and usually
only approximate.

You can use the Print method in the report's Page event to
place whatever you want in any position on the page:

Me.CurrentX = 7200 ' 5" from left
Me.CurrentY = 14400 ' 10" from top
Me.Print Format(Me.txtTotalAmount, _
Me.txtTotalAmount.Format)

Make the txtTotalAmount text box invisible to get it out of
the way.
 
Hi,

I may be stating the obvious .. but the page header and page footer sections
are fixed .. providing the "can grow" properties of the controls are
diabled, of course.

MFK.


rmiller1985 said:
Hi,

Is it possible to fix the position of something on a report page? For
example, I'd like to put an invoice total in a specific location on the
page, instead of just "immediately after the detail records." In order to
print onto a pre-printed form (or at least make it look that way).
 
Back
Top