Title: RE: MI Layout Date Tool

Gavin.

This worked for me but I can't take the credit for it.  It was something I found ages ago and kept for future use. 

On your layout window place on a piece of text representing the date.  Save this as a workspace.  Use a text editor and open the workspace.  Look for the Create text statement with the date you just added to the layout.  It should look something like this

Create Text
str$(Curdate())
(1.2587,7.9584) (2.9862,7.4844)
Font ("Arial",0,15,0)

The STR$() Converts the date to the current date.

You could also in front of the STR$ add the word "date:"
Such as the following

Create Text
"Date:" + str$(Curdate())
(1.2587,7.9584) (2.9862,7.4844)
Font ("Arial",0,15,0)


Pauline
City of Nanaimo


-----Original Message-----
From: Gavin Thomas [mailto:[EMAIL PROTECTED]]
Sent: Thursday, July 06, 2000 11:37 AM
To: Mapinfo-L@Csn. net (E-mail)
Subject: MI Layout Date Tool


Does anyone know of  a tool or script that will attach the current date,
workspace etc to the border box or at a specific location on a map layout.
Thanks in advance.

gt
 

----------------------------------------------------------------------
To unsubscribe from this list, send e-mail to [EMAIL PROTECTED] and put
"unsubscribe MAPINFO-L" in the message body, or contact [EMAIL PROTECTED]

Reply via email to