Table 236. Functions
Support Level |
Feature Name |
Description |
---|---|---|
Supported |
AcceptText |
|
Supported |
ClassName |
|
Supported |
ClassValues |
|
Unsupported |
CrosstabDialog |
|
Unsupported |
DBCancel |
|
Unsupported |
DBErrorCode |
|
Unsupported |
DBErrorMessage |
|
Supported |
DeletedCount |
|
Supported |
DeleteRow |
|
Supported |
Describe |
|
Unsupported |
ExportJson |
|
Supported |
Filter |
|
Supported |
FilteredCount |
|
Supported |
Find |
|
Supported |
FindGroupChange |
|
Supported |
GetBandAtPointer |
|
Supported |
GetBorderStyle |
|
Supported |
GetChanges |
|
Supported |
GetChild |
|
Supported |
GetClickedColumn |
|
Supported |
GetClickedRow |
|
Supported |
GetColumn |
|
Supported |
GetColumnName |
|
Unsupported |
GetContextService |
|
Supported |
GetFormat |
|
Supported |
GetItemDate |
|
Supported |
GetItemDateTime |
|
Supported |
GetItemDecimal |
|
Supported |
GetItemNumber |
|
Supported |
GetItemStatus |
|
Supported |
GetItemString |
|
Supported |
GetItemTime |
|
Supported |
GetNextModified |
|
Supported |
GetObjectAtPointer |
|
Supported |
GetParent |
|
Supported |
GetRow |
|
Unsupported |
GetRowFromRowID |
|
Unsupported |
GetRowIdFromRow |
|
Supported |
GetSelectedRow |
|
Supported |
GetSQLPreview |
|
Supported |
GetSQLSelect |
If the syntax in DataWindow is PBSELECT statement, when calling the GetSQLSelect function, it will still return the PBSELECT statement but not the SQL SELECT statement, which is different from that in PowerBuilder. |
Supported |
GetText |
|
Unsupported |
GetTrans |
|
Unsupported |
GetUpdateStatus |
|
Supported |
GetValidate |
|
Supported |
GetValue |
The column argument works only if the edit style of the column is CheckBox, DropDownListBox, Edit, or RadioButton. |
Supported |
GroupCalc |
|
Unsupported |
ImportClipboard |
|
Supported |
ImportFile |
ImportFile & ImportString
|
Unsupported |
ImportJson |
|
Unsupported |
ImportJsonByKey |
|
Supported |
ImportString |
Please see the notes for ImportFile. |
Supported |
InsertRow |
|
Supported |
IsSelected |
|
Supported |
ModifiedCount |
|
Supported |
Modify |
If the Modify function is used to modify the WHERE clause of the DataWindow object's SQL SELECT statement, please make sure that the new SQL SELECT statement is correct in syntax. Otherwise, syntax errors can occur on the mobile application because PowerBuilder does not validate the statement whereas JavaScript does. When executing Modify function to change the dddw.property on the mobile application, properties must be separated with spaces when they are concatenated into one value. For example, Unsupported code: dw_1.Modify = "emp_id.BackGround.Color=" + String(RGB(192,192,192)) + "emp_id.Protect=1" Supported code: dw_1.Modify = "emp_id.BackGround.Color=" + String(RGB(192,192,192)) + " emp_id.Protect=1" In PowerServer Mobile, the Modify function cannot be used to modify the database information. |
Unsupported |
OLEActivate |
|
Unsupported |
ReselectRow |
|
Supported |
Reset |
|
Unsupported |
ResetTransObject |
|
Supported |
ResetUpdate |
|
Supported |
Retrieve |
|
Supported |
RowCount |
|
Supported |
RowsCopy |
|
Supported |
RowsDiscard |
|
Supported |
RowsMove |
|
Supported |
SaveAs |
|
Unsupported |
SaveNativePDFToBlob |
|
Supported |
ScrollNextPage |
|
Supported |
ScrollNextRow |
|
Supported |
ScrollPriorPage |
|
Supported |
ScrollPriorRow |
|
Supported |
ScrollToRow |
|
Unsupported |
SelectRow |
|
Unsupported |
SetBorderStyle |
|
Supported |
SetChanges |
|
Supported |
SetColumn |
|
Supported |
SetDetaHeight |
|
Supported |
SetFilter |
|
Supported |
SetFormat |
|
Supported |
SetItem |
|
Supported |
SetItemStatus |
|
Supported |
SetPositon |
The following syntax is supported: dwcontrol.SetPosition(position {, precedingobject }) The position can be ToTop!, ToBottom!, and cannot be Behind! The following syntax is unsupported: dwcontrol.SetPosition(objectname, band, bringtofront) |
Supported |
SetRedraw |
|
Supported |
SetRow |
|
Supported |
SetRowFocusIndicator |
|
Supported |
SetSort |
Using "desc" or "asc" as the Order will not have any effect. Please use the standard Order value A for ascending or D for descending order. |
Supported |
SetSQLPreview |
|
Supported |
SetSQLSelect |
|
Supported |
SetTabOrder |
|
Supported |
SetText |
|
Unsupported |
SetTrans |
|
Supported |
SetTransObject |
|
Supported |
SetValidate |
|
Supported |
SetValue |
|
Supported |
SetWSObject |
The SetWSObject function is used to set the authentication info for accessing Web service. |
Supported |
ShareData |
|
Supported |
ShareDataOff |
|
Supported |
Sort |
If the items in a DropDownDataWindow are double-byte (such as, Chinese, Korean, or Japanese), sorting the DropDownDataWindow has a different result from PowerBuilder. This is because the sorting method of PowerScript and JavaScript is different. For example, if the charset is Chinese, PowerScript sorts by the spelling while JavaScript sorts by Unicode. |
Supported |
TypeOf |
|
Supported |
Update |
|