Discussions tagged Array
Assigning values to array of powerobjects overwrites earlier elements
- Issue
- Last updated 3 months ago
- Ken Guo @Appeon replied 3 months ago
I'm upgrading from PB 12.5 to 2019 R2 (build 2353) and have come across a problem. We have a structure that is a set of arrays of each type of variable, that we use to generalize passing parameters. One of the variable types is an array of powerobj...
How to pass arrays to a C# dll ?
- Resolved
- How-to
- Last updated 5 months ago
- Christophe Feyte replied 3 months ago
Hello,We build a C# dll to use the SendInBlue's API (https://www.sendinblue.com/)We want to call the function from PowerBuilder 2019 build 2170.We pass as argument a string array that contains a list of recipients.When we check the contents of the ar...
Parsing JSON - Failed to load the JSON data because its root node is not an object
- Resolved
- How-to
- Last updated 1 year ago
- Stefan Sievers replied 1 year ago
Hi everyone,
i try to parse a JSON-String with the new functionalitys of PB2019 and get this error message: "Failed to load the JSON data because its root node is not an object"
sample code:
string ls_json, ls_returnJSONPackage luo_jsonluo_json...
Oracle Procedure Call with Array Parameters
- Issue
- Last updated 1 year ago
- Miguel Leeuwe replied 1 year ago
We are using PB2017R2, running against an Oracle database. We have a local external procedure call that uses array parameters, both in and out. We began testing Oracle 18c recently, and post-upgrade we found that this procedure started failing with a...
Re: Passing array into an sql
- Resolved
- How-to
- Last updated 2 years ago
- Matthew Balent replied 2 years ago
Hello,
Using PowerBuilder 2017 R3, PostgreSQL 11
Need to pass a string array value to the following query, written in an itemchanged event.
Select count(*) into :ll_count from tableA where series in (:ls_array);
Tried:
Method 1:String ls...
What's the format of a String Array as a DW Parameter?
- Resolved
- Issue
- Last updated 2 years ago
- Andreas Mykonios replied 2 years ago
PBv12.1, b7055
Oracle 12C
I've inherited PBv9 code that uses a string arr as a retrieval argument in a dw.
I migrated the code to PBv12.1, and now the dw fails on the retrieve and returns zero rows.
- When I take the parameters and ent...
datawindow argument of type string array - using the value(s) in a computed field
- Issue
- Last updated 2 years ago
- mike S replied 2 years ago
I appears that i can access an array argument value using a computed field. The values are quoted, and there appears to be a space between them?
Does anyone know the format?
Also, if i am just running the dw in preview mode, it appears that i...
Hello.
I am trying to migrate an application from powerbuilder 5 to powerbuilder 2017. I have a problem with passing an array to a powerobject and i m not sure how to resolve this. More specifically:
powerobject lpo_data[]
any la_data[]
//cod...
SOAP webservice returning ANY type, how to consume as regular fields
- Issue
- Last updated 3 years ago
- Marco Meoni replied 3 years ago
I make a call to a web service
any la_any[]
la_any = proxy_obj.wsm_execute (l_logintype,ref ll_responsecode)
I an forced to use a type ANY because in the response array (Not shown), the service programmer used two reserved fords for the fie...
- Page :
- 1