If it were me I would put it in the CheckMainDatabase method of your CtrApp subclass. The comments there use SDT as an example of what code could be there.
The method is called after the database is open but before any tables are opened, so it is the perfect place.
HTH.
>Paul:
>
>I had just encountered the same problem. Am curious where in the VMP startup process you added the SDT update call? Was it successful?
>
>Someone suggested distributing a file called UPDATE.TXT with the new EXE. The startup program would:
>
>IF FILE("UPDATE.TXT")
>....do the NEEDUPDATE / UPDATE call
>....ERASE UPDATE.TXT
>ENDIF
>
>
>
>>Thanks Victor,
>>
>>The text file approach seems most practical.
>>
>>- Paul
Larry Miller
MCSD
LWMiller3@verizon.netAccumulate learning by study, understand what you learn by questioning. -- Mingjiao