Go to Specific row of a rowset

Best regards.

How can I go to a specific row in a rowset?,

Thank you

If you are interested in a specific needle in a haystack, better use a select that return that one directly as “SELECT the_data FROM the_table WHERE id = 287” for example, or you will need to go through the data looking for it.

Thanks Rick,

I populated a webpopupmenu, with a rowset and now I need to go to the record I select.

When creating each row of the menu, set the Tag property to whatever the row’s unique id is. Then you just read the tag and requery with that unique value.

2 Likes

Without knowing the design, if few records and few values, you could populate a persistent array and store the index of each item in the tag of those menu rows. Many possibilities, all tag based.