1. Kalpana Snehi
  2. PowerBuilder
  3. Thursday, 26 December 2019 07:36 AM UTC

Same code is working fine in PB12.5 but after migration its giving error.

Anytype function

CASE "char(", "char" // CHARACTER DATATYPE
la_value = idw_Requestor.GetItemString ( al_row, as_column, adw_buffer, ab_orig_value )

 

Add function 

this.object.weld[ll_row] = Inv_sel.ia_returnval[li_row,1]  HERE getting error 37.

 

Kindly share suggestion to resolve this issue? 

John Fauss Accepted Answer Pending Moderation
  1. Thursday, 26 December 2019 14:41 PM UTC
  2. PowerBuilder
  3. # 1

H, Kalpana - 

Consider assigning the result of the GetItemString function to a string variable, then assign the value of the string variable to the variable of type Any, at least temporarily. This will allow you to see in the debugger if a null value is being returned from the GetItemString function.

John

Comment
There are no comments made yet.
Miguel Leeuwe Accepted Answer Pending Moderation
  1. Thursday, 26 December 2019 13:07 PM UTC
  2. PowerBuilder
  3. # 2

Hi,

Have you tried this:

 

this.object.weld[ll_row] = string( Inv_sel.ia_returnval[li_row,1] )

 

?

Comment
  1. Kalpana Snehi
  2. Thursday, 26 December 2019 13:34 PM UTC
Hi ,



I have tried this but not working for me. As nothing is getting stored in ia_returnval all is null.

  1. Helpful
There are no comments made yet.
  • Page :
  • 1


There are no replies made for this question yet.
However, you are not allowed to reply to this question.