A Microsoft Office (Excel, Word) forum. OfficeFrustration

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.

Go Back   Home » OfficeFrustration forum » Microsoft Access » Using Forms
Site Map Home Register Authors List Search Today's Posts Mark Forums Read  

Set report margins via a form



 
 
Thread Tools Display Modes
  #1  
Old May 6th, 2008, 12:35 AM posted to microsoft.public.access.forms
JWCrosby
external usenet poster
 
Posts: 89
Default 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  
Old May 6th, 2008, 01:37 AM posted to microsoft.public.access.forms
Arvin Meyer [MVP]
external usenet poster
 
Posts: 4,231
Default 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

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is Off
HTML code is Off
Forum Jump


All times are GMT +1. The time now is 11:17 AM.


Powered by vBulletin® Version 3.6.4
Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
Copyright ©2004-2024 OfficeFrustration.
The comments are property of their posters.