Get ID from Lookup result

  • 19 July 2017
  • 5 replies
  • 20 views

Userlevel 6
Badge +13

This seems like an obvious one but as yet I've not found the answer. I have a List Lookup control, when an item is selected I want to get the ID portion of the result (14;#Some Text). ParseLookup allows me access to the value, but what about the ID. I can't use substring as the ID length will vary as time goes on. Seems like it should be an easy on this!

TIA


5 replies

Badge +9

Hi Ryan,

You will get IDs by using

parseLookup(YourListLookupControl,False)

Kind regards

Manfred

Badge +16

did you not look through the ‌?  happy.png

Userlevel 6
Badge +13

Didn't appear in my search results sad.png

Badge +16

well that sucks!

Badge +2
And how can I do that with a mulitple lookup Control?

Reply