|
Hi Jason,
One way could be to use the FileExists() function looking for the tab file inside an If loop. Another way would be to have an error trap such as:
OnError Goto TabNotFound
Open Table "c:\temp\MyTable"
after_open:
'whatever else you are doing in the program
End Program
TabNotFound: Note "Table not found" Resume after_open
Cheers David Llewellyn
-----Original
Message-----
hi, I am looking for a mapbasic command to add to my routine which opens multiple tables from a directory, now on ocassions certian tables are not in the directory. Is there any command that can tell mapinfo to move on when it does'nt find a table and continue on with the routine.
regards jason
127 Stranmillis Road Belfast BT9 5AJ p: 028 90662442 m: 079 71633047 f: 028 90382451
|
_______________________________________________ MapInfo-L mailing list [email protected] http://www.directionsmag.com/mailman/listinfo/mapinfo-l
