At first glow, your code appears to be OK...
 
Note that, when you use gotoY100mm, in the preview screen only will appear the last section printed on same zone of paper. This is, if you have printed 5 sections on same paper section (controls displacing to right), in preview screen you will see only the last one. But print it... surprise, the 5 sections appears!!
 
believe me, I've done this several times.
Raúl Llorente Peña

Análisis, Desarrollo e Implementación en
Microsoft Bussiness Solutions-Axapta
OPEN SOLUTIONS

-----"Danny Gaethofs" <[EMAIL PROTECTED]> escribió: -----

Para: Axapta-Knowledge-Village@yahoogroups.com
De: "Danny Gaethofs" <[EMAIL PROTECTED]>
Fecha: 03/01/2005 16:23
Asunto: [Axapta-Knowledge-Village] Re: simple report question


Dear Raul,

Before I asked this question I already investigated the
tutorial_positioning. This one is not solving my problem.

I already tried several ways to get it done but unsuccessfull.
I have been trying it with the topMargin and leftMargin, but that is
not working.

I have tried it your way but neither that is working. Perhaps I am
overlooking something in your explanation:



But what happens is that it is only printed below each other .

I have tried with setting the property of the control to right, but
then all prints on the right side.

my fetch() method contains:

topPostion = 13;
leftPosition = 6;

element.gotoYmm100(topPosition * 100);

while (ctr <= numberoftimes)
{
 element.gotoYmm100(topPostion*100); // need to rewind the position
on the page
 element.execute(1);

 if (ctr mod 5 == 0)
 {
   topPosition  = topPosition + certainHeight;
   leftPosition = leftMargin + certainWidth;
 }
 else
 {
    leftPosition = leftPosition + certainWidth;    
 }
element.gotoYmm100(topPosition*100);

ctr = ctr + 1
}


regards,
Danny
--- In Axapta-Knowledge-Village@yahoogroups.com, Raul Llorente
Peña/OPENSOLUTIONS <[EMAIL PROTECTED]>wrote:
>





Sharing the knowledge on Axapta.
Yahoo! Groups Links

<*> To visit your group on the web, go to:
   http://groups.yahoo.com/group/Axapta-Knowledge-Village/

<*> To unsubscribe from this group, send an email to:
   [EMAIL PROTECTED]

<*> Your use of Yahoo! Groups is subject to:
   http://docs.yahoo.com/info/terms/







Sharing the knowledge on Axapta.



Yahoo! Groups Links

Reply via email to