Discussions tagged Array

I need to test whether the value in a variable of type "any" is an array or not. What I have found out is that UpperBound(vbl) returns -1 if it's not an array. That's at least arguably consistent with the documentation, which says (of the 2nd argum...
PowerBuilder string value to int array i need ► ◄ ls_value2 convert to ► ◄ noa_payment[]   //========need=========//noa_payment[] = ls_value2 String ls_data[], ls_value, ls_cln int noa_payment[] ll_col = dw_3.getcolumn() ls_cln = dw_3.D...
After upgrading Oracle Database to version 19c - we have an issue, a runtime failure when a stored procedure with an input parameter of a table type or an array is being called from the PBL. Power Builder: Version 2019 R2 Build 2353 Oracle Database...
I try call .net function (copy form PB help Calling .NET Assembly in an Application) imported by .NET DLL Importer  //array argument public void TestByteArray(byte[] bArray) { for(int i = 0; i < bArray.Length; i...
Bonjour, J'ai installé hier PowerBuilder 2019 R3 pour mettre à niveau une application développée avec une version précédente et qui utilise une base SQL Anywhere v11. Si l'appli fonctionne très bien sous PowerBuilder 2019 R3, par contre le build de...
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...
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...
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...
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...
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...
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...
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...
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