How to convert the Row ID to an integer from a Data Source

I am trying to build an app that associates objects with concepts to help with memorization. The basic premis is that in the app you have rooms of a house and in each room you have many objects which I have created sprites for. I want to be able to click on an image and it then takes me to an information displaying screen, takes the associated value (concept) out of a data source and display the concept in a rich text field as well as the objects name. I want to do this without the use of a data viewer list and rather just use the images or sprites in the room as the list “items”. However I do not have access to the row id as I am not using an actual data viewer. How would I be able to access the row ID or somehow convert it into an integer to use?


Here’s how I would do this:

When Microwave Click
     set app variable clickedObjectName to "Microwave"
     set app variable clickedObjectRowNum to find first occurrence of clickedObjectName in List of Items in Item Name in Sheet 1
     navigate to Info Display Kitchen

When Info Display Kitchen Opens
     set ItemNameLabel's Text to get value from Kitchen DS in Sheet 1 in Item Name for row id app variable clickedObjectRowNum

This topic was automatically closed 90 days after the last reply. New replies are no longer allowed.