Report AutoCenter

genturo

Registered User.
Local time
Today, 08:22
Joined
Jul 13, 2006
Messages
11
Hi guys, I have this report that on the detail part can be 1 or 10 records, but I need to do this report autocenter verticaly no matter how many record was insert.
Top margin will be 6( set it to fit 10 records on the same page) but if i enter 5 record, i need the top margin to be 10 or so.
Is that possible
Thanks a lot
 
Pretty much what I need is the margin to autoset depend how many record are add in the Detail part so the report its always in the center of the page.
Example BO-1 , 2 records are added
EXample BO-3, 6 records are added
 

Attachments

  • BO-1.GIF
    BO-1.GIF
    56.6 KB · Views: 122
  • BO-3.GIF
    BO-3.GIF
    59.3 KB · Views: 111
Put the lighlighted controls in the footer section of the report
 

Attachments

  • BO-3.GIF
    BO-3.GIF
    29.5 KB · Views: 104
Oldsoftboss said:
Put the lighlighted controls in the footer section of the report
Its on the footer report. that makes it center on the botton margin but but what I need is to center on the top margin. Is there any way to do that
Thanks
 
I take it the image BO-1.GIF is not the way you want it to look.
 
Hey,
BO-1 is set with top margin to 6 so in case that there is 6 records, it all can fit in 1 page.
What I want is that BO-1 look like BO-1-K ( that I changed manually top margin to 22)
Is there anyway i can do that automatically? Like a vb code that check how many record i have in the detail part and change the top margin depending how many. if 1 record then top margin = 25, if 2 record then top magin = 22.
Is that possible?
Thanks a lot
 
Oldsoftboss said:
I take it the image BO-1.GIF is not the way you want it to look.
here is the picture
 

Attachments

  • BO-1-K.GIF
    BO-1-K.GIF
    21.4 KB · Views: 100

Users who are viewing this thread

Back
Top Bottom