Hi Mike,

I guess it's so simple that you missed it:

Select * From stable Where ROWID = commandinfo(CMD_INFO_FIND_ROWID) 

This will select this specific record and put it into the selection and so also 
highlight it in all windows

Peter Horsb�ll M�ller
GIS Developer
Geographical Information & IT
 
COWI A/S
Odensevej 95
DK-5260 Odense S.
Denmark
 
Tel     +45 6311 4900
Direct  +45 6311 4908
Mob     +45 5156 1045
Fax     +45 6311 4949
E-mail  [EMAIL PROTECTED]
http://www.cowi.dk


-----Original Message-----
From: Cummings, Mike [mailto:[EMAIL PROTECTED] 
Sent: Monday, July 26, 2004 10:31 PM
To: [EMAIL PROTECTED]
Subject: MI-L find, fetch & select


Since I have a table with unique regions and a query would only select one record (I'm 
assuming that using find will be quicker than a query). I'm trying to understand how 
to use the find function in map basic.  The one thing that I haven't been able to 
figure out is how to "select" the record.  

I can get to the record by the this line:

    Fetch Rec commandinfo(CMD_INFO_FIND_ROWID) from stable

And by using an alias, I can get information from any of the columns in the row.  I 
realize that I can get everything I need for this region, but I can't seem to figure 
out how to "select" the record.  All the examples I have found, use the set map 
commands to view the region; but,
I'm also interested in being able to browse the data in the row.      

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



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

Reply via email to