Sure, some simple MapBasic commands can be included in the TAB file! It must be placed before the "Definition" line. In your case it would look like like:

!table
!version 300
!charset WindowsLatin2
Note "Text to appear at opening..."
Definition Table
  Type NATIVE Charset "WindowsLatin2"
  Fields 1
    ID Integer Index 1 ;

Keep in mind that making changes in the table's structure will strip off all custom commands from the TAB file.

--
Jaromir SVASTA
Hydrogeologist
Geological Survey of Slovak Republic
Mlynska dolina 1
817 04 Bratislava
Slovak Republic

Tel: +421 2 59375326
Fax: +421 2 54771940

On Thu, 31 Mar 2005 13:13:11 +0200, <[EMAIL PROTECTED]> wrote:





It depend, but a TAB file can can contain Mapbasic just as a Workspace and
I has in special circumstances made dummy TAB files that was opning a real
table and performing something else (I was only using it for read only
analysis task's and has not tried it with editing)


Ole Gregor,
Udviklingskonsulent i Miljà og Teknik
Viborg Amt

(45) 87 27 13 07


"Sarah Williams"
<[EMAIL PROTECTED]
-somerset.gov.uk> Til
<[email protected]>
31-03-2005 12:58 cc
Emne
MI-L Message Boxes





Hello

I have created a data set which needs to be accompanied by a disclaimer
notice when used in MapInfo. I suspect the answer to my questionis no but
thought I'd ask it anyway!


Is it possible through MapBasic or some other means to make a message box
pop up when this particular table is opened? I know that this is possible
to do in a workspace but sometimes the table will be required to be opened
on its own or into an existing workspace. Any ideas how to get round this
will be gratefully received.


Thanks


Sarah Williams GIS Officer North Somerset Council

--------------------------------------------------------------------- List hosting provided by Directions Magazine | www.directionsmag.com | To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] Message number: 15874



Reply via email to