Apache files – PB Docs 2017
Apache files You may redistribute Apache files included with PowerBuilder to your users. Any use or distribution of the Apache code included with PowerBuilder 2017 and later must comply with the terms of the Apache License which is located in the free download terms document for PowerBuilder 2017 and later. Version 0.20.5 of the Apache…
C0052 Compiler Error – PB Docs 2017
C0052 Compiler Error Message text Bad argument list for function: function. Explanation Consider two functions defined on a custom class user object. Function f1 takes one integer argument by value. The following script in function f2 generates C0052 because “a” is declared as a char:
1 2 |
char a f1(a) // generates C0052 |
Document get from Powerbuilder help Thank you for watching.
Java support – PB Docs 2017
Java support You must deploy the PowerBuilder pbjvm170.dll file with any applications or components that use the Java Runtime Environment (JRE), and there must be a JRE installed on the target computer. The JRE is required for EJB clients, JDBC connections, and saving as PDF using XSL-FO. You can copy the JRE installed with PowerBuilder…
C0038 Database Error – PB Docs 2017
C0038 Database Error Message text Error string generated by the DBMS. Explanation This string is generated by the database management system to which you are connected. For example, if you are using the PowerBuilder Desktop edition and you attempt to use a SQL Anywhere stored procedure, you see the following error message:
1 |
Database C0038: The PowerBuilder Desktop edition does not support stored procedures. |
Document get…
Using Lists in a Window – PB Docs 2017
Using Lists in a Window Contents About presenting lists Using lists Using drop-down lists Using ListView controls About this chapter This chapter describes how to use lists to present information in an application. Document get from Powerbuilder help Thank you for watching.
C0092 Compiler Error – PB Docs 2017
C0092 Compiler Error Message text Return expression in subroutine. Explanation The return statement in this function that was defined as returning no value generates C0092:
1 |
return 10 // generates C0092 |
Document get from Powerbuilder help Thank you for watching.
Using RESTFul Web Services with JSON – PB Docs 2017
Using RESTFul Web Services with JSON Contents Examples PowerBuilder DataWindow/DataStore/DataWindowChild (except for Composite, Crosstab, OLE 2.0, and RichText styles) can exchange JSON data with RESTFul Web services. JSONGenerator object constructs the JSON objects by adding values, objects, or arrays. JSONParser object loads the JSON data from a string or from a TXT file into a…
C0063 Compiler Error – PB Docs 2017
C0063 Compiler Error Message text Invalid operand type for Dot operator: type. Explanation These statements generate C0063: Invalid operand type for Dot operator: integer:
1 2 |
int li_a,li_b li_a = li_a.li_b // generates C0063 |
Document get from Powerbuilder help Thank you for watching.
Providing Online Help for an Application – PB Docs 2017
Providing Online Help for an Application Contents Creating help files Providing online help for developers Providing online help for users About this chapter This chapter describes how to provide online help for other PowerBuilder developers and for end users on Windows. Document get from Powerbuilder help Thank you for watching.
C0044 Compiler Error – PB Docs 2017
C0044 Compiler Error Message text Variable reference in database statement has unsupported datatype. Explanation The following script in a function in the custom class user object n_nvo generates C0044 because the integer array and nonvisualobject datatypes are not supported:
1 2 3 4 5 6 7 8 9 10 |
int idnum = 0 // ok int int_arr[] // error char char_arr[] // ok n_nvo n // error int minsalary = 1000 SELECT employee.emp_id INTO :idnum, :int_arr, :char_arr, :n // generates C0044 FROM employee WHERE employee.salary > :minsalary; |
See Also Using SQL in scripts in the section called “Using SQL in scripts” in…