Discussions tagged Array
Cannot assign values to a Null Array
- Resolved
- Advice
- Last updated 3 months ago
- Tom Mangano replied 3 months ago
this is the script
dec{ 2 } ld2_temp
long ll_pos, ll_arrayCount, ll_ac
string ls_temp, ls_file_read
Try
ls_file_read = is_file_string_read /* debugging */
ll_pos = LastPos( is_file_string_read, is_tilde )
ls_temp = Mid( is_f...
Using UpperBound to determine whether a variable is an array
- How-to
- Last updated 10 months ago
- Dan Cooperstock replied 10 months ago
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...
string value to int array
- Resolved
- How-to
- Last updated 2 years ago
- Miguel Leeuwe replied 2 years ago
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...
.NET Assembly - parameters arrays are supported or unsupported?
- How-to
- Last updated 2 years ago
- Petr Czerny replied 2 years ago
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...
Assigning values to array of powerobjects overwrites earlier elements
- Issue
- Last updated 4 years ago
- Miguel Leeuwe replied 3 years 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 4 years ago
- Christophe Feyte replied 4 years 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 5 years ago
- Sanjay B replied 2 years 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 5 years ago
- Miguel Leeuwe replied 5 years 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 6 years ago
- Matthew Balent replied 6 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 6 years ago
- Andreas Mykonios replied 6 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 6 years ago
- mike S replied 6 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 7 years ago
- Marco Meoni replied 7 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