Syntax for a range of data in a named column – PB Docs 2019
Syntax for a range of data in a named column Description A DataWindow data expression accesses values in a named column or computed field for a range of rows when you specify the starting and ending row numbers. Syntax
|
1 |
dwcontrol.Object.columnname {.buffer } {.datasource } [ startrownum, endrownum ] |
Parameter Description dwcontrol The name of the DataWindow control or child DataWindow in which you…
New Import & Export JSON functions – PB Docs 2019
New Import & Export JSON functions The following functions are added to import/export a single data row between a JSON string and a DataWindow control, DataStore object, or DataWindowChild object: ImportRowFromJson: Inserts a data row from a JSON string into a DataWindow control, DataStore object, or DataWindowChild object.
|
1 |
ImportRowFromJson( string json, long row {, ref string error} {, DWBuffer dwbuffer}) |
ExportRowAsJson: Exports a data row from…
ReleaseValue – PB Docs 2019
ReleaseValue Description Frees the IPB_Value acquired using AcquireValue or AcquireArrayItemValue. Syntax
|
1 |
ReleaseValue(IPB_Value* value) |
Argument Description value The string to be released from memory Return value None. Examples The AcquireValue method is used to obtain a message argument value. Later, when the value is no longer needed, it is released using ReleaseValue to avoid memory leaks:
|
1 2 3 4 5 6 7 8 9 10 11 |
// Acquire a value MessageArg = session->AcquireValue ( ci->pArgs->GetAt(0) ); pbstring pbMessage = MessageArg->GetString() ; Message = (LPSTR)session->GetString(pbMessage) ; ... // Cleanup phase if (MessageArg) { Session->ReleaseValue ( MessageArg ) ; } |
…
Bug Fixes & Known Issues in PowerBuilder 2019 R2 – PB Docs 2019
Bug Fixes & Known Issues in PowerBuilder 2019 R2 The bug fixes and known issues for PowerBuilder 2019 R2 are listed in the Release Bulletin for PowerBuilder at the following links: Bug Fixes for PowerBuilder 2019 R2: https://docs.appeon.com/pb2019r2/release_bulletin_for_pb/bug_fixes.html Known Issues for PowerBuilder 2019 R2: https://docs.appeon.com/pb2019r2/release_bulletin_for_pb/known_issues.html Document get from Powerbuilder help Thank you for watching.
ODBC DELETE, INSERT, and UPDATE – PB Docs 2019
ODBC DELETE, INSERT, and UPDATE Internally, PowerBuilder processes DELETE, INSERT, and UPDATE the same way. PowerBuilder inspects these statements for variable references and replaces all variable references with a constant that conforms to the backend database’s rules for that data type. Example Assume you enter the following statement:
|
1 |
DELETE FROM employee WHERE emp_id = :emp_id_var; |
In this example, emp_id_var is a…
Application Techniques – PB Docs 2019
Application Techniques Appeon PowerBuilder® 2019 R3 FOR WINDOWS DOCUMENT ID: DC37774-01-1900-01 LAST REVISED: March 30, 2021 Copyright © Appeon. All rights reserved. This publication pertains to Appeon software and to any subsequent release until otherwise indicated in new editions or technical notes. Information in this document is subject to change without notice. The software described herein is…
Coding the ItemChanged event – PB Docs 2019
Coding the ItemChanged event If data passes conversion and validation, the ItemChanged event is triggered. By default, the ItemChanged event accepts the data value and allows focus to change. You can write code for the ItemChanged event to do some additional processing. For example, you could perform some tests, set a code to reject the…
AutoReadData – PB Docs 2019
AutoReadData property for PowerScript controls Applies to HTTPClient objects Description When the AutoReadData property is enabled, the program reads the response body automatically. Values are: TRUE – (Default) The program reads the response body automatically. FALSE – The program will not read the response body automatically. Usage In a painter To read the response body…
Data.XMLWeb (obsolete) – PB Docs 2019
Data.XMLWeb (obsolete) Description A string containing browser-specific JavaScript that performs the XSLT transformation on the browser after the XML Web DataWindow generator generates all necessary components. Obsolete property Data.XMLWeb is obsolete and should not be used, because the Web DataWindow technology is obsolete. The Web Generation tab and JavaScript Generation tab are preserved for the…
Base32Decode – PB Docs 2019
Base32Decode PowerScript function Description Decodes a string value using Base32 decoder. Applies to CoderObject object Syntax
|
1 |
coder.Base32Decode ( variable ) |
Argument Description coder The name of the CoderObject object. variable A string whose value is the data you want to decode with Base32 decoder. Return value Blob. Returns the result of the decoding if it succeeds. If any…