|
of_populatedddw
|
|
Full name
|
pfc_n_cst_dwsrv.of_populatedddw
|
Access
|
public
|
Extend of
|
integer
|
Return value
|
integer
|
Prototype
|
public function integer of_populatedddw(integer)
|
Name
|
Datatype
|
ls_dddwname
|
string
|
public function integer of_populatedddw (integer ai_dddwnumber);//////////////////////////////////////////////////////////////////////////////
//
// Function:
// of_PopulateDDDW
//
// Access:
// Public
//
// Arguments:
// ai_dddwnumber Column number of the DDDW
//
// Returns:
// 1 = success
// -1 = error
//
// Description:
// Populates specified DDDW
//
//////////////////////////////////////////////////////////////////////////////
//
// Revision History
//
// Version
// 6.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_dddwname
// Validate requestor DW
if isNull (idw_requestor) or not isValid (idw_requestor) then return -1
// Validate DW column name
ls_dddwname = idw_requestor.describe ("#" + string (ai_dddwnumber) + ".name")
if ls_dddwname = "?" or ls_dddwname = "!" then return -1
return of_populateDDDW (ls_dddwname)
end function
Name
|
Owner
|
datawindow.describe |
datawindow
|
systemfunctions.isnull |
systemfunctions
|
systemfunctions.isvalid |
systemfunctions
|
systemfunctions.string |
systemfunctions
|
pfc_n_cst_dwsrv.of_populatedddw |
pfc_n_cst_dwsrv
|