Hi Terry,
I guess you should try searhing the archives for a previous version of this
discussion.
Here is one way:
*****************************
include "mapbasic.def"
Declare Sub main
Declare Sub SelChangedHandler
Sub Main
End Sub
Sub SelChangedHandler
If SelectionInfo(SEL_INFO_NROWS) = 1 Then
Print "Table: " & CommandInfo(CMD_INFO_TABLENAME) & " RowID: " &
CommandInfo(CMD_INFO_ROWID)
End If
End Sub
*****************************
I hope you have MapBasic ?!
Peter
------------------------------------------------------------------------------------------------
Peter Horsb�ll M�ller, GIS Udviklingskonsulent / GIS-Developer
Kampsax A/S - GIS Software & Solutions
Rugaardsvej 55, 5000 Odense, DK
tel: +45 6313 5013, dir:+45 6313 5008, fax: +45 6313 5090
mailto:[EMAIL PROTECTED]
www.kampsax-gis.dk and www.kampsax.dk
Authorized MapInfo Partner & Distributor in Denmark and Norway.
------------------------------------------------------------------------------------------------
Klik ind p� http://www.kortal.dk og se det hele lidt fra oven!
----- Videresendt af Peter M�ller/Kampsax - 17-01-02 08:37 -----
"Terrence O'Neill"
<[EMAIL PROTECTED]> Til: "'Mapinfo'"
<[EMAIL PROTECTED]>
Sendt af: cc:
[EMAIL PROTECTED] Vedr.: MI-L In-table Cursor
Position Feedback
onsmag.com
17-01-02 01:06
Besvar venligst til "Terrence
O'Neill"
Hi again,
I was wondering if there was a way to get feedback on what RowID
the
cursor was positioned in a table? I need it to go into a table, select one
record, and tell me what the rowID of that record is in that table.
Terry
_______________________________________________________________________
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.