Hello. Another way.
Create a graphic table, with : - one object : a point, - one attribut named "M" with this value (in french) "1JANVIER2FEVRIER3MARS4AVRIL5MAI6JUIN7JUILLET8AOUT9SEPTEMBRE10OCTOBRE11NOVEM BRE12DECEMBRE13" Open this table in a new window map, and label the layer with this expression : "Left$(Str$(curdate()),2)+Chr$(32)+Mid$(M,InStr(1,M,Str$(Month(CurDate())))+ Len(Str$(Month(CurDate()))),InStr(1,M,Str$(Month(CurDate())+1))-InStr(1,M,St r$(Month(CurDate())))-Len(Str$(Month(CurDate()))))+Chr$(32)+Right$(Str$(curd ate()),4)" You can now include this in a layout. Good luck. Georges DAGUERRE Charg� de mission SIG Minist�re de l'Equipement DDE 64 / AB 19, avenue de l'Adour - B.P. 246 64602 Anglet Cedex Courriel : [EMAIL PROTECTED] T�l�phone : 05 59 52 59 67 Fax 05 59 63 08 57 -----Message d'origine----- De : David Baker [mailto:[EMAIL PROTECTED] Envoy� : mardi 27 juillet 2004 17:25 � : [EMAIL PROTECTED]; [EMAIL PROTECTED] Objet : Re: MI-L Current Date into Layout View Hi Philip, Here is a little sub procedure which will give you today's date in either french or english: '********************************************************************* ' CREATE THE DATE EXPRESSION SUB PROCEDURE '********************************************************************* Sub DateExpression month_names(1)="January" month_names(2)="February" month_names(3)="March" month_names(4)="April" month_names(5)="May" month_names(6)="June" month_names(7)="July" month_names(8)="August" month_names(9)="September" month_names(10)="October" month_names(11)="November" month_names(12)="December" month_names_f(1)="janvier" month_names_f(2)="f�vrier" month_names_f(3)="mars" month_names_f(4)="avril" month_names_f(5)="mai" month_names_f(6)="juin" month_names_f(7)="juillet" month_names_f(8)="ao�t" month_names_f(9)="septembre" month_names_f(10)="octobre" month_names_f(11)="novembre" month_names_f(12)="d�cembre" month_ef = month_names(month(curdate()))&" / "&month_names_f (month(curdate()))&", "&Year(CurDate()) month_fe = month_names_f(month(curdate()))&" / "&month_names (month(curdate()))&", "&Year(CurDate()) End Sub DateExpression '********************************************************************* Then all you have to do is create some text with either the english or the french version as the variable, where ever you want it. �For example: �Create Text � �month_ef � �(0.4264,1.2736) (1.4431,1.3903) � �Font ("Verdana",1,7,16777215) Hope that helps, David. ---- Begin Original Message ---- From: [EMAIL PROTECTED] Sent: Tue, 27 Jul 2004 09:38:21 -0500 To: [EMAIL PROTECTED] Subject: MI-L Current Date into Layout View Group, I was wondering if there is a way to put the Current Date into the layout view. �Thanks for any help. -------------------------------------------------------------------- Philip Lesnik Research Systems Analyst, Market Research General Growth Properties, Inc. 110 N. Wacker Drive � BSC 3-13 Chicago, IL �60606 312-960-2998 312-960-5519 (fax) [EMAIL PROTECTED] -------------------------------------------------------------------- ----------------------------------------- +++++++++++++++++++++++++++++++++++++++++++++++++++++++ �Notice: This e-mail including attachments) is covered by the Electronic Communications Privacy Act, 18 U.S.C. �� 2510-2521, is confidential and may be legally privileged. If you are not the intended recipient, you are hereby notified that any retention, dissemination, distribution, or copying of this communication is strictly prohibited. Please reply to the sender that you have received the message in error, then delete it. Thank you. +++++++++++++++++++++++++++++++++++++++++++++++++++++++ --------------------------------------------------------------------- List hosting provided by Directions Magazine | www.directionsmag.com | To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: mapinfo-l- [EMAIL PROTECTED] Message number: 12748 ---- End Original Message ---- Sign up today for your Free E-mail at: http://www.canoe.ca/CanoeMail --------------------------------------------------------------------- List hosting provided by Directions Magazine | www.directionsmag.com | To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] Message number: 12751 --------------------------------------------------------------------- List hosting provided by Directions Magazine | www.directionsmag.com | To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] Message number: 12770
