I can only agree to your wishes, these handlers sure would make a lot of
things easier, and MapInfo Corp please make them
in such a way that it is allowed to show a dialog when these handlers are
called. As things are now no Handlers allow any
Print, Note or Dialog commands.

Anyway, there is a way around this, even though there are some pitfalls is
this circumvention:

The WinChangedHandler is called when there is a change in a map window, and
there mostly is a change in the map window
whenever there has been made a change to a table.

I have allready used this way to update certain columns with certain
userdefined values, so it works, but...

1. You'll need to know which table should be altered
2. You'll need to know how many records this table contains before being
altered
3. You can only catch new records :-(

Whenever the WinChangedHandler is called, you'll need to check if there has
beed added a new record to
this table, if so the new record will be the last one. Now you can update
this record with you date stamp and eventually other
values.

HTH,

Peter
------------------------------------------------------------------------------------------------
Peter Horsb�ll M�ller, GIS Udviklingskonsulent / GIS-Developer
Kampsax A/S - GIS Software & Solutions
Rugaardsvej 55, 5000 Odense, DK
tel: +45 6313 5013,  dir:+45 6313 5008,  fax: +45 6313 5090
mailto:[EMAIL PROTECTED]
www.kampsax-gis.dk and www.kampsax.dk
Authorized MapInfo Partner & Distributor in Denmark and Norway.
------------------------------------------------------------------------------------------------
Klik ind p� http://www.kortal.dk og se det hele lidt fra oven!
----- Videresendt af Peter M�ller/Kampsax - 31-01-02 08:19 -----
                                                                                       
                                            
                    "Patrick Palmier"                                                  
                                            
                    <[EMAIL PROTECTED]>             Til:    "MapInfo-L" 
<[EMAIL PROTECTED]>                   
                    Sendt af:                            cc:                           
                                            
                    [EMAIL PROTECTED]        Vedr.:  Re: MI-L Date Stamp   
                                            
                    onsmag.com                                                         
                                            
                                                                                       
                                            
                                                                                       
                                            
                    30-01-02 15:37                                                     
                                            
                    Besvar venligst til "Patrick                                       
                                            
                    Palmier"                                                           
                                            
                                                                                       
                                            
                                                                                       
                                            



I wish Mapinfo will add some events in the next versions of mapbasic.
I will appreciate intercepting events when you
 update a record
create a record
or delete a record
and be able to save the modyfied objects
to make incremental files for updating geographics tables and reverse
updates
for example to build easily the networks of each year


Patrick Palmier
Lille M�tropole Communaut� Urbaine
Mission Plan de D�placements Urbains
1, rue du Ballon BP749
59034 LILLE cedex
FRANCE
T�l: 33 / 03 20 21 31 78
Fax: 33 /03 20 21 30 14
mailto:[EMAIL PROTECTED]

http://www.cudl-lille.fr/FR/Accessibilite/PDU/index.htm


----- Original Message -----
From: "Morrier, Steve" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Wednesday, January 30, 2002 3:17 PM
Subject: MI-L Date Stamp


> This message is in MIME format. Since your mail reader does not
understand
> this format, some or all of this message may not be legible.
>
>
> Hi all,
>
> Is there a way to put a modification date stamp on a row after it has
been
> editted? I work with large street files and would like to have an
automatic
> date stamp updated each time a line segment or street is editted or
updated.
> Is this something MapInfo can do? For example say I changed the address
> range of one line segment for Main St. I would like just that line
segment
> that has been changed to have its "UPDATE" column updated with the
current
> date. Thanks for your help.
>
> Steve
>
>
>
>
>
> _______________________________________________________________________
> 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.



_______________________________________________________________________
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.





_______________________________________________________________________
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.

Reply via email to