1. Systeembeheer SFR
  2. PowerBuilder
  3. Tuesday, 22 May 2018 13:47 PM UTC

Hi in powerbuilder I use this code onder the clicked event

It will get a number from the currenrow. It works perfect, but after deploying the target to my android tablet it's nog working
does the function getitemnumer not work there ?

li_IenR = dw_dier.getitemnumber( row, 'IenR')
messagebox("",string(li_ienr))

 

Android 7.0
Poerbuilder UNV 17 r2 1769

Govinda Lopez @Appeon Accepted Answer Pending Moderation
  1. Wednesday, 23 May 2018 16:57 PM UTC
  2. PowerBuilder
  3. # 1

Hi Systeembeheer,

 

I tried replicating your case but I was not able to. Maybe there is some code that we might be missing to figure it out. If you still think that this is a bug, please open a support ticket and provide us with a reproducible test case so we can help you.

 

 

Regards,

Comment
There are no comments made yet.
Chris Pollach @Appeon Accepted Answer Pending Moderation
  1. Tuesday, 22 May 2018 14:03 PM UTC
  2. PowerBuilder
  3. # 2

Hi S;

  I have no such issues on my Android devices that use the GetItemNumber ( ) method. Can you tell us ...

  • Version of AWS you are using?
  • DBMS version
  • What is the data type for those numeric columns in your DWO's?
  • PowerServer version & build

Note: Did you check the the AWS and PowerServer logs?

Regards ... Chris

Comment
  1. Systeembeheer SFR
  2. Wednesday, 23 May 2018 07:41 AM UTC
This part wil not work



li_IenR = dw_dier.getitemnumber( currentrow, 'IenR')

messagebox("",string(li_ienr))





This part will work

st_2.text="aangepast" + string(currentrow)

  1. Helpful
  1. Chris Pollach @Appeon
  2. Wednesday, 23 May 2018 13:33 PM UTC
MessageBox ( ) commands will never work if any of the arguments are NULL

  1. Helpful
  1. Systeembeheer SFR
  2. Thursday, 24 May 2018 05:43 AM UTC
That's right



but the second part of the code is working. Zo the currentrow is displayed, zo that works



 

  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.
We use cookies which are necessary for the proper functioning of our websites. We also use cookies to analyze our traffic, improve your experience and provide social media features. If you continue to use this site, you consent to our use of cookies.