Hi all,
How can I get a record's base table RowID, given the RowID of that record in 
a query?

My app lets the user pick a state from a ListBox, then from another ListBox, 
pick a city within the selected state.  I need to know the RowID of the 
selected city in the base table, so that I can modify its label in a map.

The ListBox gives me the RowID from the CitiesInState query, and I know the 
selected State and City, which are unique.  Can I get the base table RowID from 
new query?  Do I have to loop through the base table until I find the 
selected city? The Cities table has 30,000 records.

In the MapInfo Product Knowledge Base, sub SelChangedHandler gets the RowID 
through CommandInfo(CMD_INFO_ROWID).  This looks promising, but still working 
on it. 

Thanks,

Mike


---------------------------------------------------------------------
List hosting provided by Directions Magazine | www.directionsmag.com |
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
Message number: 7565

Reply via email to