|
of_findentry
|
|
Full name
|
pfc_n_cst_security.of_findentry
|
Access
|
protected
|
Extend of
|
boolean
|
Return value
|
boolean
|
Prototype
|
protected function boolean of_findentry(string,string)
|
Name
|
Datatype
|
ll_row
|
long
|
protected function boolean of_findentry (string as_win, string as_object);//////////////////////////////////////////////////////////////////////////////
//
// Function: of_FindEntry
//
// Access: protected
//
// Arguments : as_win : string; window to be found
// as_object : string; object to be found
//
// Returns: boolean (true if found otherwise false)
//
// Description: Used by the scanning process, if the entry is found then it is discarded
// from the datastore. We discard it so that it will not deleted or updated in the database
//
//////////////////////////////////////////////////////////////////////////////
//
// Revision History
//
// Version
// 5.0 Initial version
// 6.0 Marked obsolete
//
//////////////////////////////////////////////////////////////////////////////
//
// 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.
//
//////////////////////////////////////////////////////////////////////////////
long ll_row
ll_row = ids_updates.find("window = '"+as_win+"' and control = '"+as_object+"'",1,ids_updates.rowcount())
if ll_row = 0 then return false
ids_updates.rowsdiscard(ll_row,ll_row,primary!)
return true
end function
Name
|
Owner
|
datastore.find |
datastore
|
datastore.rowcount |
datastore
|
datastore.rowsdiscard |
datastore
|