If this is your first visit, be sure to check out the FAQ by clicking the link above. You may have to register before you can post: click the register link above to proceed. To start viewing messages, select the forum that you want to visit from the selection below. |
|
|
Thread Tools | Display Modes |
#1
|
|||
|
|||
Set report margins via a form
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 |
#2
|
|||
|
|||
Set report margins via a form
The properties of control size and placement a
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 -- Arvin Meyer, MCP, MVP http://www.datastrat.com http://www.mvps.org/access http://www.accessmvp.com "JWCrosby" wrote in message ... 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 |
Thread Tools | |
Display Modes | |
|
|