GenoPro Home
GenoPro Home  |  SDK Home  |  Report Generator  |  Support  |  Search  |  Help  |  Site Map

Skip Navigation Links.

Report.AbortPage Method

The AbortPage method interrupts the script and asks the report generator to start generating the next page. This method is somewhat the equivalent to Response.End in ASP, however the AbortPage method prevents content of the generated HTML page to be written to disk.

The AbortPage method does not display any errors for the user. To display an error for the user, use the method LogError .

Usage:
You may use the AbortPage method if you encounter a minor error and do not want further processing of the current report file, yet do not want to abort the entire report. You can also use the AbortPage method as a feature to generate pages only for specific data.

Report.AbortPage

Example:
This is an example of using the AbortPage to generate a report page for deceased individuals only.


if (i.is_dead <> "Y") then
	Report.AbortPage
end if

Similarly, you may want to generate a picture album for a specific date range or a location, by skipping any unwanted picture using the AbortPage method.

See Also:
AbortTemplate
AbortReport
LogError


 

 

Copyright © 1998-2024. All rights reserved. GenoPro® and the GenoPro logo are registered trademarks.