I thought i understood this but i dont ...

http://apexjscss.blogspot.in/2010/03/how-to-create-mailing-labels-in-apex.html
Was looking into generating label through this method..
How do i create row template 1..
i created a template just now..
by creating a new template ..using Template Class dropdown , select Value Attribute Pair. In template type select Named Column
So I assume this is a row template..
Where will this code be added..
Row Template 1
+<td>#1#<p STYLE="page-break-before: always;"></p></td></tr><tr>+
Row Template 1 Condition : Select <b>Use Based on PL/SQL Expression</b>
Row Template 1 Expression
mod(#rownum#,21) = 0 (this will catch it on the 21st, 42nd, 63rd, etc... address)
Dont understand how to make a new template for mailing label..
Has any one been sucessfull generating malining label using this method...?

I was able to get the report output after removing the line
mod(1,21) = 0 after 0 ...
*(this will catch it on the 21st, 42nd, 63rd, etc... address)*
But the output is not what i expect...
mod(1,21) = 0 (this will catch it on the 21st, 42nd, 63rd, etc... address)
cheena
22 kensington
LONDON     chris
22 kensington
LONDON          fox
22 kensington
LONDON
green
22 kensington
LONDON          jose
22 kensington
LONDON          orange
22 kensington
LONDON
paul
22 kensington
LONDON          red
22 kensington
LONDON          someone
22 kensington
LONDON
veena
22 kensington
LONDON     
This is how the output looks..
This is how my sql query is
select ename||'
'||add1||'
'||city address,ename "ename" from emp
I shall better upload it to my apex.oracle.com site..so you can have a look at it..
Thanks Give me a few minutes for that..
Edited by: susf on Jun 25, 2012 11:51 PM

Similar Messages

Maybe you are looking for

  • SSO Enabling a custom application with OAM

    Hi All ! Am a bit stuck on a problem and need some urgent help. Actually we are trying to launch some custom-built (J2EE/.NET) web applications from the Oracle Portal with SSO i.e. once the user logs into the portal he would not have to log-in again

  • Windows Server 2008 (TS) and Lync Web App installation failure

    Hey folks, I've run into a little big problem due the Lync Web App installation via mstsc on a stand alone Terminal Server 2008 SP2 64 Bit. When I tried to install the Lync Web App Plugin via mstsc and standard user I get the message: "The system adm

  • LOV in select box based off of the group the current user is in

    Hi, I need a drop down to display status codes for a user but it that user is a manager then I only need the approval codes to show up. IE: A user will create a record and slect New, Pending Approval, Inprocess and Completed. A manager will see the c

  • Standard for workflow customization

    All, I was asked to modify PO approval workflow to provide access to PO file attachments in the approval notification itself. To achieve this I have modified seeded notifications, messages and packages apart from creating new packages, messages and n

  • Best practice - creating functions in data model vs. rtf template

    Just a general question. Is there a best practice of creating functions in the data model vs. creating the functions in the data template? For example, is it more efficient to sum two fields in my SQL query or to create a function in the template tha