|
of_pagecountacross
|
|
Full name
|
pfc_n_cst_dssrv_printpreview.of_pagecountacross
|
Access
|
public
|
Extend of
|
integer
|
Return value
|
integer
|
Prototype
|
public function integer of_pagecountacross()
|
Name
|
Datatype
|
ls_rc
|
string
|
public function integer of_pagecountacross ();//////////////////////////////////////////////////////////////////////////////
//
// Function: of_PageCountAcross
//
// Access: public
//
// Arguments: none
//
// Returns: integer
// total number of horizontal pages
// -1 = error
//
// Description: Returns the total number of horizontal pages
//
//////////////////////////////////////////////////////////////////////////////
//
// Revision History
//
// Version
// 5.0 Initial version
//
//////////////////////////////////////////////////////////////////////////////
//
// Copyright © 1996-1997 Sybase, Inc. and its subsidiaries. All rights reserved.
// Any distribution of the PowerBuilder Foundation Classes (PFC)
// source code by other than Sybase, Inc. and its subsidiaries is prohibited.
//
//////////////////////////////////////////////////////////////////////////////
string ls_rc
if IsNull(ids_requestor) Or not IsValid (ids_requestor) then
return -1
end if
ls_rc = ids_requestor.Describe ("evaluate ('PageCountAcross()', 1)")
if IsNumber (ls_rc) then
return Integer (ls_rc)
end if
return -1
end function
Name
|
Owner
|
datastore.describe |
datastore
|
systemfunctions.integer |
systemfunctions
|
systemfunctions.isnull |
systemfunctions
|
systemfunctions.isnumber |
systemfunctions
|
systemfunctions.isvalid |
systemfunctions
|