|
of_clearhistory
|
|
Full name
|
pfc_n_cst_sqlspy.of_clearhistory
|
Access
|
public
|
Extend of
|
integer
|
Return value
|
integer
|
Prototype
|
public function integer of_clearhistory()
|
Name
|
Datatype
|
li_rc
|
integer
|
public function integer of_clearhistory ();//////////////////////////////////////////////////////////////////////////////
//
// Function: of_AddToHistory
//
// Access: public
//
// Arguments:
//
// Returns: integer
// 1 if it succeeds.
// -1 if an error occurs.
//
// Description: Clear the visual history.
//
//////////////////////////////////////////////////////////////////////////////
//
// 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.
//
//////////////////////////////////////////////////////////////////////////////
integer li_rc =1
//Update the history string
is_history = ''
//If available, Notify that the history has changed.
If IsValid(iw_SQLSpy) Then
li_rc = iw_SQLSpy.of_UpdateHistory()
End If
Return li_rc
end function