Absolute Position for Controls

  • Thread starter Thread starter Jeff
  • Start date Start date
J

Jeff

Does anybody know if there is a way to set an absolute position for a text
box in a report?

I have controls above it that need to be set to 'Can Shrink'. Trouble is
when the controls shrink it moves the text box up.

Is there any way of stopping this or do I need to completely rethink the
report?

Thanks
 
You can use the report's Page event to put text onto the page at a fixed
location.

(I didn't understand about wanting the controls to shrink but not have
things move up. The whole point of shrinking seems to be to have things move
up.)
 
I would rethink the shrink. Possibly just hide the "can shrink" control
rather than shrink it.
 
Thanks Duane,

The report is in a letter format that modifies various paragraphs depending
on the data it finds, so I can't just hide the controls.

I want the text to always appear at the bottom of the first page. I can't
just put it in the footer as there is a bit to generate additional page
breaks to allow extra room for maps extra instructions etc if they are
available. I don't want the fixed text to appear on these extra pages. Not
all letters will need these extra page breaks.

Am I just asking too much?
 
I agree with Allen's perception and possible solution. You can use code in
the On Page event of the report like:

Me.CurrentX = 1440 '1 inch from left margin
Me.CurrentY = 14400 '10 inches from top
Me.Print "This is 1 inch from left and 10 inches from top"
 
Jeff said:
Does anybody know if there is a way to set an absolute position for a text
box in a report?

I have controls above it that need to be set to 'Can Shrink'. Trouble is
when the controls shrink it moves the text box up.

Is there any way of stopping this or do I need to completely rethink the
report?


Another thought is that a control will not move up if its
Top is above the botton of the shrinking control. Can you
make the design height of the can shrink control that tall?
 
Hi Duane,
have found a satisfactory situation to your problem?
i have the same situation here and need to print some text at the same absolute position regardless of shrinkage above it.

thanks,
Maria
 
Back
Top