That's it, I knew it was around, as simple as commandinfo(2) to get the rowid of the selected object in its base table, or the rowid of the first one (in the table order) if more than one are selected. Spencer, where do you want the flowers to be delivered? Jacques Paris e-mail [EMAIL PROTECTED] MapInfo/MapBasic support http://www.paris-pc-gis.com -----Original Message----- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]]On Behalf Of Spencer Simpson Sent: September 18, 2001 14:47 To: Jacques Paris; Mapinfo Mailing List Subject: Re: MI-L rowid of selected object I have experimented a bit using a tiny 5-row table and the MapBasic window, and CommandInfo (CMD_INFO_ROWID) seems to work every time, selecting from mappers or browsers, or by typing a select statement in the MapBasic window without any document windows. You will need, of course, to look up the value of CMD_INFO_ROWID from your "mapbasic.def" file. HTH Spencer PS where do I send the bill? %) _______________________________________________________________________ List hosting provided by Directions Magazine | www.directionsmag.com | To unsubscribe, send e-mail to [EMAIL PROTECTED] and put "unsubscribe MapInfo-L" in the message body. _______________________________________________________________________ List hosting provided by Directions Magazine | www.directionsmag.com | To unsubscribe, send e-mail to [EMAIL PROTECTED] and put "unsubscribe MapInfo-L" in the message body.
