Active Topics
Active Posts
Unanswered Posts
You are not logged in. [
Log In
]
Objectif Lune
»
Forums
»
PlanetPress Suite 4
»
PlanetPress Bug Reports - Read-Only
» Lesson 4 - Bug
Register User
Forum List
Active Topics
FAQ
Topic Options
#18163
-
08/11/05
10:08 AM
Lesson 4 - Bug
John Price
OL Expert
Registered: 10/07/03
Posts: 164
Loc: Wigan, UK
I think lesson 4 has a bug in it. This is the lesson that helps build up a statement.
The code for the run page works fine but will generate a "blank" final page if the number of items in a statement are an exact multiple of 60.
THe maximum number of pages is specified as 33 but if the number of items is at the maximum it will generate 34 pages.
Top
#18164
-
08/11/05
03:31 PM
Re: Lesson 4 - Bug
Anonymous
Unregistered
Hello John , you are right .
This is due to the imprecision factor of integer division.
Replace the 3rd line of code by this one to solve your problem.
define(&TotalPages,integer,floattoint((inttoFloat(&NumLineItems) / 60.0000) + 0.4) )
Top
Previous Topic
Index
Next Topic
Preview
Hop to:
PlanetPress Suite 4 ------
PlanetPress Scripts - Read-Only
PlanetPress 4.x - Read-Only
PlanetPress Watch 4.x - Read-Only
PlanetPress Image 4.x - Read-Only
PlanetPress Fax 4.x - Read-Only
PlanetPress Search 4.x - Read-Only
Postscript Printer Questions - Read-Only
Data Capture Questions - Read-Only
Installation Questions - Read-Only
Postscript Code - Read-Only
PlanetPress Bug Reports - Read-Only
PressTalk - Read-Only
Software / Printer Activation - Read-Only
Feedback / Feature Request - Read-Only
Migrating V3.X Forms to PlanetPress 4.X Documents
Migrating PPWatch V3.X Configuration to PlanetPress Watch Version 4.X
Trigger and Implementation - Read-Only
PlanetPress Care - Read-Only
PlanetPress Suite 5 ------
PlanetPress Database - Read-Only
PlanetPress Scripts - Read-Only
PlanetPress 5.x - Read-Only
PlanetPress Watch 5.x - Read-Only
PlanetPress Image 5.x - Read-Only
PlanetPress Fax 5.x - Read-Only
PlanetPress Search 5.x - Read-Only
Postscript Printer Questions - Read-Only
Data Capture Questions - Read-Only
Installation Questions - Read-Only
Postscript Code - Read-Only
PlanetPress Bug Reports - Read-Only
PressTalk - Read-Only
Software / Printer Activation - Read-Only
Feedback / Feature Request - Read-Only
Migrating V4.X Forms to PlanetPress 5.X Documents - Read-Onl
Migrating PPWatch V4.X Configuration to PPWatch V5.X - Read-
Trigger and Implementation - Read-Only
PlanetPress Care - Read-Only
PlanetPress Suite 6 ------
PlanetPress Design
PlanetPress Watch
PlanetPress Server
PlanetPress Imaging
Licenses, Activations and OL Care
Feedback & Feature Requests
Printing Related Questions
Implementation
General
PlanetPress Suite 7 ------
PlanetPress Design
PlanetPress Workflow
PlanetPress Capture
PlanetPress Imaging
Licenses, Activations and OL Care
Feedback & Feature Requests
General
PlanetPress EnvelopeNOW 1 ------
PlanetPress EnvelopeNOW - Read-Only
Licenses and Activations - Read-Only
Feedback & Feature Requests - Read-Only
General - Read-Only
PrintShop Mail 5 ------
General
Graphics and Designing
Expressions, Functions and Databases
Licenses and Upgrades
Printing and Print Technologies
General Crew
Trashcan
PrintShop Mail 6 ------
General
Graphics and Designing
Expressions, Functions and Databases
Licenses, Activations and OL Care
Printing and Print Technologies
General Crew
Trashcan
PrintShop Web 2 ------
General
Skinning
General Crew
Trashcan
PrintShop Mail Suite 7 ------
PrintShop Mail Design
PrintShop Mail Web
B2C and payment module
Licenses, Activations and OL Care
Feedback & Feature Requests
General
PReS ------
PReS V6
PReS V4 & prior
Feedback & Feature Request
PReS Designer ------
PReS Designer V6
PReS Designer V5 & prior
Feedback & Feature Request
NewLeaf ------
NewLeaf V4
NewLeaf V3 & prior
Feedback & Feature Request
CaptureOnTheGo ------
General
Moderator:
OL Newsgroup Support
,
Philippe F.
,
Sophie
,
Yannick Fortin
Print Topic
Switch to Threaded Mode
View profile
Send a PM
Add to your Watched Users
View posts
Board Rules
·
Mark all read
Receive exclusive Products news, tips and tricks.
Subscribe to OL Connect Insider Newsletter!
·
Blog
·
Contact Us
·
Objectif Lune
·
Top