Jon,
I'm sure there's plenty of ways to do this, but here's one I use:

Select * from YourTable where (Your Selection criteria)
If SelectionInfo(SEL_INFO_NROWS) > 0 then
Browse * from Selection
End If

Hope this helps!  Happy holidays to all, and Peace in the new year.

Mike Jenne
JCSI (Mapping/Photosimulation for Wireless Telecommunications)


Jonathan Stokes <[EMAIL PROTECTED]> wrote:
> Hello all
And when I say beginner I mean it!!!!! be very warned.

what I need to do is the following (mapbasic 4.1 and mi 4.5)
I have just done an update column on a table and then a query into a
table called selection.
I then want to open a browser window for selection but only if there
have been any results from the query
(obviously I'll get an error message if I try to browse from the
selection and the query has not returned any results)

cheers

Jon 
----------------------------------------------------------------------
To unsubscribe from this list, send e-mail to [EMAIL PROTECTED] and put
"unsubscribe MAPINFO-L" in the message body, or contact [EMAIL PROTECTED]

----------------------------------------------------------------------
To unsubscribe from this list, send e-mail to [EMAIL PROTECTED] and put
"unsubscribe MAPINFO-L" in the message body, or contact [EMAIL PROTECTED]

Reply via email to