of_findentry


pfcapsrv.pbl   >   pfc_n_cst_security   >   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
No Data

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
pfc_n_cst_security.of_scandatawindow pfc_n_cst_security
pfc_n_cst_security.of_scanwindow pfc_n_cst_security
pfc_n_cst_security.of_scancontrolarray pfc_n_cst_security

     
Name Owner
datastore.find datastore
datastore.rowcount datastore
datastore.rowsdiscard datastore

     
Full name
No Data

     
Name Scope
No Data