Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Chris Miller on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Retrieving and Displaying Records w/ activePDF

Status
Not open for further replies.

Rexolio

Technical User
Aug 29, 2001
230
Okay...this is a confusing one from the get-go, so I don't know how much sense all of this will make and I'm not sure that I will explain this sufficiently. But I'm at my wit's end and I need your help...

I'm using ActivePDF to print PDF mailing labels. The mailing label stock is 30 to a page in rows of 3. The information for the labels, obviously, is pulled from a database. The problem I'm having is that the standard <% if not n mod 3 = 0 %> that allows my records to be retrieved and displayed horizontally, 3 across, then start a new row won't cut it for ActivePDF.

Obviously each record will consist of Name (1st line), Address (2nd line), and City/State/Zip (3rd line). The problem with ActivePDF is that as far as I can tell, is that I can't print record #1's info on 3 lines of one row, then record #2's info on 3 lines of the same row and ditto with record #3. ActivePDF doesn't seem to use &quot;rows&quot;, but instead &quot;lines&quot;. Sooo...

For this example, TRUE means stay on line; FALSE means move to next line. It should be like this (simplified):

PrintLine Record1(Name) at 0.35&quot;, TRUE
PrintLine Record2(Name) at 3.5&quot;, TRUE
PrintLine Record3(Name) at 6.0&quot;, FALSE - move to next line
PrintLine Record1(Address) at 0.35&quot;, TRUE
PrintLine Record2(Address) at 3.5&quot;, TRUE
PrintLine Record3(Address) at 6.0&quot;, FALSE - move to next line

I THINK you man get the picture...I don't know how to say &quot;Pull first 3 records' Name, then go back and pull the Address for those same 3 records, then...&quot; Don't know how to go in and out of a record like that and still continue on consecutively if there's several records.

Am I making ANY sense?

Thanks,
Rexolio
 
Also, usually I've gotten several responses, but yet noone has responded to thread yet. Keep in mind that its really ASP info I need...you don't have to have experience with ActivePDF to help me. I'm desperate for assistance! Suggestion would be great!
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top