Hi,
I sure have to agree with Warren on this issue. In this world many things
are possible but quite a few of these shouldn't be used even though there
are possible.
The TAB file can hold lots of needful MapBasic code, but the question is
should it ?? We can in this way do a lot of things behind the back of the
users, but at the end they might loose the general view of whats actually
going on and why...
Why is a table read-only when opened but not on the disk ?
- The tab file is pointing at another table on a shared server drive
that is readonly ?
- The table has been made read-onlky thru a MapBasic command in the
TAB file ?
- ...
Regarding the option for including a number of tables and performing a join
within a single TAb file, I would rather that the advanced QRY format was
used.
I'm not sure but I thing with MapInfo 5.5, there was a possibility to save
a Query. When this option was used the result was a TAB and a QRY file.
The TAB file pointed at the needed table(s) for the query, and the QRY
contained the definition of the query. (This file can also be loaded
directly from the SQL query dialog.
In this was you are able to open fre instance two tables, perform a join
and refer to this join with a table name. Sure a needful thing !!
Peter
------------------------------------------------------------------------------------------------
Peter Horsb�ll M�ller, GIS-Developer
Kampsax A/S, GIS Software & Solutions, Rugaardsvej 55, DK-5000 Odense, Denmark
tlf: + 45 63 13 50 13, dir: + 45 63 13 50 08, fax: + 45 63 13 50 90
mail: [EMAIL PROTECTED], http://www.mapinfo.dk, http://www.kampsax.dk
------------------------------------------------------------------------------------------------
Warren wrote:
As other respondents have mentioned, it is possible to add MapBasic
statements to the body of the TAB file. The mechanism could be used for
running an MBX program but it is mostly used to open additional tables
and perform a join to create a new table. Generally my experience with
TAB files that "do more that most people expect" is quite bad so I would
generally advise against it. In addition to the problems with ProViewer,
embedding a "run application" statement in the TAB will not survive if
the table is copied with "File>Save Copy As...". IMHO, it's best to make
your application so compelling, that the user would not dream of using
the TAB without it!
~~~~~~~~~~ Advertisement ~~~~~~~~~~~
Middle East Datasets from LAND INFO
Imagery, digital elevation models (DEM), topographic maps, and vector layers
are now available for Saudi Arabia, United Arab Emirates, Kuwait, and other
regions. Visit http://www.LANDINFO.com/directions.htm for imagery and map
datasets covering over 125 countries.
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
_______________________________________________________________________
List hosting provided by Directions Magazine | www.directionsmag.com |
To unsubscribe, send e-mail to [EMAIL PROTECTED] and
put "unsubscribe MapInfo-L" in the message body.