Matthew Greatorex wrote:
>
> Is anyone aware of a simple way to open all tables within a particular file, given
>the path to that file?
>
> I'm hoping there's something in MapBasic along the lines of
>
> Open Table "F:\outerfolder\innerfolder\*.* "
>
> Where all of the files within "F:\outerfolder\innerfolder\" are mappable tables.
>
You'll probabaly need to use some Windows API functions like
FindFirst and FindNext to do that. I posted an example of that (with
MapBasic source) at the Directions Magazine Tools site. See
DirectoryDemo.zip at
http://www.directionsmag.com/tools/default.asp?a=file&id=4
- Bill Thoen
------------------------------------------------------------
GISnet, 1401 Walnut St., Suite C, Boulder, CO 80302
tel: 303-786-9961, fax: 303-443-4856
mailto:[EMAIL PROTECTED], http://www.ctmap.com/gisnet
------------------------------------------------------------
----------------------------------------------------------------------
To unsubscribe from this list, send e-mail to [EMAIL PROTECTED] and put
"unsubscribe MAPINFO-L" in the message body, or contact [EMAIL PROTECTED]