Hi Steve
you can try this
Include "MapBasic.def"
Dim num_row, num_obj As Integer
Dim Table_Name, RunStr As String
Table_Name = "Any String"
num_row = TableInfo(Table_Name, TAB_INFO_NROWS)
RunStr = "Select * From " & Table_Name & " where obj into tmpObj"
Run Command RunStr
num_obj = TableInfo("tmpObj", TAB_INFO_NROWS)
Close Table tmpObj
Run Menu Command 304
Stefan
----------------------------------------------------------------------
To unsubscribe from this list, send e-mail to [EMAIL PROTECTED] and put
"unsubscribe MAPINFO-L" in the message body, or contact [EMAIL PROTECTED]