IMPORTANT ANNOUNCEMENT

These forums were permanently set to read-only mode on July 20, 2022. From that day onwards, no new posting or comment is allowed on the site, but the historical content remains intact and searchable.

A new location for posting questions about PlanetPress Suite is now available:

OL Learn - PlanetPress Classic (opens in new tab)

Topic Options
#21061 - 12/10/08 11:00 AM getnextdatapage, how to implement
ForteData Offline
OL Toddler

Registered: 10/05/05
Posts: 31
Loc: Atlanta, GA
Good day,

I have PDFs that I want to create, but rather than creating one PDF per record from a csv file,I'd like to create one PDF file with all the pages generated from a CSV.

My current talk code for one PDF per record is:


define(&pdfname, string, ('c:\\pdf\\' + trim(@(101,1,8) +'.pdf')))
showpdf(&pdfname,2,0,0)

How can I make this work where it goes to the next record in a loop until all of the CSV file is processed, so that Image creates one big PDF of all the pages needed?

Thanks for your assistance,

David Bruce

Top
#21062 - 12/10/08 04:07 PM Re: getnextdatapage, how to implement
Anonymous
Unregistered


Hello,

If I understand you correctly you don't need any loops. PlanetPress will automatically do this as you scroll from one Datapage to the next. There is no need to call the getnextdata page.

In the designer just drag your data file into it (csv) and then scroll between the data pages. You maybe have to increase the lines per page since it looks like your image is on line 101.

Also, make sure the check box for force one record per page is checked.

Top


Moderator:  cosimo, OL Newsgroup Support