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  

report margin



 
 
Thread Tools Display Modes
  #1  
Old November 24th, 2006, 07:23 AM posted to microsoft.public.access.forms,microsoft.public.access.formscoding,microsoft.public.access.modulesdaovba,microsoft.public.access.reports
-003KobeBrian
external usenet poster
 
Posts: 29
Default report margin

How do I set up report margin using coding in a event or module? and How do
I move all the controls in pageheader by 2 cm downward? Please help. Thanks.


  #2  
Old November 24th, 2006, 07:27 AM posted to microsoft.public.access.forms,microsoft.public.access.formscoding,microsoft.public.access.modulesdaovba,microsoft.public.access.reports
-003KobeBrian
external usenet poster
 
Posts: 29
Default report margin

All I mean is using coding in module. Thanks

"-003KobeBrian" wrote in message
...
How do I set up report margin using coding in a event or module? and How
do I move all the controls in pageheader by 2 cm downward? Please help.
Thanks.



  #3  
Old November 25th, 2006, 07:51 AM posted to microsoft.public.access.forms,microsoft.public.access.formscoding,microsoft.public.access.modulesdaovba,microsoft.public.access.reports
-003KobeBrian
external usenet poster
 
Posts: 29
Default report margin

can anyone please help? This is urgent. THanks.
"-003KobeBrian" wrote in message
...
All I mean is using coding in module. Thanks

"-003KobeBrian" wrote in message
...
How do I set up report margin using coding in a event or module? and How
do I move all the controls in pageheader by 2 cm downward? Please help.
Thanks.





  #4  
Old November 26th, 2006, 02:10 PM posted to microsoft.public.access.forms,microsoft.public.access.formscoding,microsoft.public.access.modulesdaovba,microsoft.public.access.reports
00kobebrian
external usenet poster
 
Posts: 2
Default report margin

Since there is no reply, can I assume there is no way to do it? PLease
confirm for me. Thanks.


"-003KobeBrian" .gbl...
can anyone please help? This is urgent. THanks.
"-003KobeBrian" wrote in message
...
All I mean is using coding in module. Thanks

"-003KobeBrian" wrote in message
...
How do I set up report margin using coding in a event or module? and How
do I move all the controls in pageheader by 2 cm downward? Please help.
Thanks.







  #5  
Old November 26th, 2006, 02:19 PM posted to microsoft.public.access.forms,microsoft.public.access.formscoding,microsoft.public.access.modulesdaovba,microsoft.public.access.reports
Rick Brandt
external usenet poster
 
Posts: 4,354
Default report margin

"00kobebrian" wrote in message
...
Since there is no reply, can I assume there is no way to do it? PLease confirm
for me. Thanks.


It means that no one who has read your question has ever had any reason to
attempt to do so.

I suspect that there is a more conventional way to solve your problem than the
way you are attempting. Why not describe the core problem you are trying to
solve? Perhaps changing margins and moving things around on the page are not
required to solve it.

--
Rick Brandt, Microsoft Access MVP
Email (as appropriate) to...
RBrandt at Hunter dot com


  #6  
Old November 27th, 2006, 12:09 AM posted to microsoft.public.access.forms,microsoft.public.access.formscoding,microsoft.public.access.modulesdaovba,microsoft.public.access.reports
-003KobeBrian
external usenet poster
 
Posts: 29
Default report margin

OK. I got 100 reports existing. Now I found that I need to have a page
header with company logo in all the reports. I already figured out how to
use coding to generate the header and logo to each report. But the top and
bottom margin is not right and existing control need to move down for the
new company logo. Instead of going to 100 reports and change them manually,
I wonder if I can use code or macro to do it automatically. That's my
scenerio. Hope anybody can help. Thanks.


"Rick Brandt" wrote in message
. com...
"00kobebrian" wrote in message
...
Since there is no reply, can I assume there is no way to do it? PLease
confirm for me. Thanks.


It means that no one who has read your question has ever had any reason to
attempt to do so.

I suspect that there is a more conventional way to solve your problem than
the way you are attempting. Why not describe the core problem you are
trying to solve? Perhaps changing margins and moving things around on the
page are not required to solve it.

--
Rick Brandt, Microsoft Access MVP
Email (as appropriate) to...
RBrandt at Hunter dot com



  #7  
Old November 27th, 2006, 12:43 AM posted to microsoft.public.access.forms,microsoft.public.access.formscoding,microsoft.public.access.modulesdaovba,microsoft.public.access.reports
John Spencer
external usenet poster
 
Posts: 110
Default report margin

Yes, you can do this in code for a report. What VERSION of Access are you using.

I'm not sure how you can change the MARGINS on a page. But you can expand the
size of the page header and move all the controls down and save the change.

You will need to step through each report in the reports collection,
--Open a report in design view,
--change the height of the page header by adding to the size (1440 * size in
inches) plus current height
-- Cycle through all the controls in the header and add to the Top value of each control
-- Create a control on the form
-- Save the form.

If you are using earlier versions of Access check out PrtMIP in the VBA Help. I
am on a computer right now that doesn't allow me to get to Access.


-003KobeBrian wrote:

OK. I got 100 reports existing. Now I found that I need to have a page
header with company logo in all the reports. I already figured out how to
use coding to generate the header and logo to each report. But the top and
bottom margin is not right and existing control need to move down for the
new company logo. Instead of going to 100 reports and change them manually,
I wonder if I can use code or macro to do it automatically. That's my
scenerio. Hope anybody can help. Thanks.

"Rick Brandt" wrote in message
. com...
"00kobebrian" wrote in message
...
Since there is no reply, can I assume there is no way to do it? PLease
confirm for me. Thanks.


It means that no one who has read your question has ever had any reason to
attempt to do so.

I suspect that there is a more conventional way to solve your problem than
the way you are attempting. Why not describe the core problem you are
trying to solve? Perhaps changing margins and moving things around on the
page are not required to solve it.

--
Rick Brandt, Microsoft Access MVP
Email (as appropriate) to...
RBrandt at Hunter dot com

 




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 08:43 PM.


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