Set report margins via a form

J

JWCrosby

I have a report in an application that prints a person's name on a line of a
pre-printed certificate (the names printed are in the database). Because
people have different printers that grab the paper differently, that name may
or may not sit nicely on the pre-printed line. I'd like to allow the user to
be able to tweak the positioning of the name (and other elements on the
certificate...about 4 fields) but changing the top of text box figure via a
form. These would normally be in increments of tenths of inches. I don't
need to have the user know the actual top of box location (e.g., 1.456") but
rather to simply set it to "up" .1" or "down" whatever.

So I think my question is this: what is the name of the element that sets
the top of the control that I would want to change via the input form? I
think if I knew that I could design the actual form on my own (which might be
a bit optimistic!!).

Thanks in advance.

Jerry
 
A

Arvin Meyer [MVP]

The properties of control size and placement are:

Left - Top - Width - Height

And the measurements are in twips (1440 twips to the inch)

So in code with you could use:

DoCmd.MoveSize 720, 1440, 1440, 360
 

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

Similar Threads

Mail Merge Help 1
Word Margins - Frustration 0
Wysiwyg in Word 0
Generated text copies into another template 0
Weekly Report 2
Style Gallery View 3
Office 365 Calender 0
Split form 0

Top