Absolute Position for Controls

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
 
A

Allen Browne

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.)
 
D

Duane Hookom

I would rethink the shrink. Possibly just hide the "can shrink" control
rather than shrink it.
 
J

Jeff

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?
 
D

Duane Hookom

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"
 
M

Marshall Barton

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?
 
Joined
Sep 19, 2011
Messages
1
Reaction score
0
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
 

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