|
of_opensqlspy
|
|
Full name
|
pfc_n_cst_sqlspy.of_opensqlspy
|
Access
|
public
|
Extend of
|
integer
|
Return value
|
integer
|
Prototype
|
public function integer of_opensqlspy(boolean)
|
Name
|
Datatype
|
li_rc
|
integer
|
public function integer of_opensqlspy (boolean ab_switch);//////////////////////////////////////////////////////////////////////////////
//
// Function: of_OpenSQLSpy
//
// Access: public
//
// Arguments:
// ab_switch True to open SQLSpy window.
// False to close SQLSpy window.
//
// Returns: integer
// Return value of Open or Close PowerBuilder call.
// 0 if no action to open or close a window is taken.
// If any argument's value is NULL, function returns -1.
//
//
// Description: Open or Close the SQLSpy window.
// If opening the SQLSpy window then immediately update
// the current history on the SQLSpy window.
//
//////////////////////////////////////////////////////////////////////////////
//
// 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
//Check arguments
If IsNull(ab_switch) Then
Return -1
End If
If ab_switch Then
li_rc = Open(iw_sqlspy)
Return li_rc
Else
If IsValid(iw_sqlspy) Then
Return Close(iw_sqlspy)
End If
End If
Return 0
end function
Name
|
Owner
|
systemfunctions.close |
systemfunctions
|
systemfunctions.isnull |
systemfunctions
|
systemfunctions.isvalid |
systemfunctions
|
systemfunctions.open |
systemfunctions
|