Looking up additional data from a Select ItemIndex


Ryan Sytsma

In a Select control for users names I load like this from a Http Response

After I select an item, I need to get the User Id from the array to use in other transactions. This is how I am doing that. This would be on the Select Change event

Is this the only / best way to look up ID or other values for an array index?



DecSoft

Hello Ryan,

I am not sure if the creation of the "userArrayRow" with "NewObject" is really required, since you get that object just when calling "ArrayGetItem". But yes; basically the Select control is based in the items index, so, we must use that index in the "original array" in order to get more information in addition to that index.


Everybody can read the DecSoft support forum for learning purposes, however only DecSoft customers can post new threads. Purchase one or more licenses of some DecSoft products in order to give this and other benefits.

This website uses some useful cookies to store your preferences.

I agree. Hide this note. Give me more information.