I didn't know that was
possible! Thanks for the info! But from I read in your reply to "simple
report question", if it doesn't appear correctly in the preview screen I
don't find that really useful. We don't always print report on paper. Anyway,
that's always an option.
Regards,
-----Message d'origine-----
De : Raul Llorente Peña/OPENSOLUTIONS
[mailto:[EMAIL PROTECTED]
Envoyé : 3 janvier 2005 10:23
À : Axapta-Knowledge-Village@yahoogroups.com
Objet : Re: RE :
[Axapta-Knowledge-Village] Positioning Programmable section
Haw!! Do you really think you can't print two sections on
same paper section??
A section is always printed one under the previous one...
unless you modify the "pen position" with GotoY100mm!!
Try it, you will receive a nice surprise.
But, as you say, to create the controls dinamically with
addcontrol() can be a wonderful idea, too...
Raúl Llorente Peña
Análisis, Desarrollo e Implementación en
Microsoft Bussiness Solutions-Axapta
OPEN SOLUTIONS
-----"Steeve
Gilbert" <[EMAIL PROTECTED]> escribió: -----
Para:
<Axapta-Knowledge-Village@yahoogroups.com>
De: "Steeve Gilbert" <[EMAIL PROTECTED]>
Fecha: 03/01/2005 16:09
Asunto: RE : [Axapta-Knowledge-Village] Positioning Programmable section
You CANNOT print multiple programmable sections from
left to right. Programmable sections are always printed one under the
other. Basically you want dynamic columns right? You'll have to create
fields dynamically in your section to get this.
Steeve...
-----Message d'origine-----
De : Danny Gaethofs [mailto:[EMAIL PROTECTED]]
Envoyé : 31 décembre 2004 10:58
À : Axapta-Knowledge-Village@yahoogroups.com
Objet : [Axapta-Knowledge-Village] Positioning Programmable section
Dear all,
I am calling a programmable section from within my fetch() method.
The section should repeat three times vertically. I have three
columns and the section should repeat itself.
I tried to accomplish this by setting the topmargin and leftmargin
in the executeSection() method based
on a counter maintained in the fetch() method.
my fetch() method:
=================
rowHeight = 34;
columnWidth = 64;
leftMargin = 6;
topMargin = 13;
number = 10;
/* starting initialization */
topPosition = topMargin;
leftPosition = leftMargin;
ctr = 1;
/* position margin page */
element.gotoYmm100(topPosition*100);
while (ctr < number)
{
executeSection(1);
ctr = ctr + 1;
}
return tue;
Note: ctr, topPosition, and the other variables are declared in my
classdeclaration.
my executeSection() method:
===========================
if (ctr== 1)
{
this.top(topPosition), Units::mm);
}
super();
if (ctr mod 3 == 0)
{
leftPosition = leftMargin;
topPosition = topMargin + rowHeight;
}
else
{
leftPosition = leftPosition + columnWidth;
}
this.leftMargin(leftPosition + columnWidth';
The programmable section contains only 5 fields:
The section should repeat itselve till the document is full.
But for now I would already be solved if I could understand why the
section does not repeat itselve vertically.
The result I have now is that the section prints diagonally filling
over 3 rows and then starts over again diagonally for the next three
rows.
regards,
Danny
Sharing the knowledge on Axapta.
Yahoo! Groups Links
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.
Sharing the knowledge on Axapta.
Yahoo! Groups Links