>Is there any ready made function/sample for invoking Validata database function in SDT quietly without openning SDT main form. Like I supply path & dbc name to it and it performs validate keeping it's mout shut.
> I already wrote utility that prepares&perform mass upgrade using SDT metadata on entire server installation, (10-15 databases X number of companies X Periods) and it works fine.
> My problem is, that some people (including me) by habbit or mistake some time modify databases using modify structure command, so metadata goes out of sync. Result, for the time being, every time I want to prepare&send upgrade I have to mannualy perform validate of all databases under development path.
>
>Help appreciated.
The database explorer call the DBCX Validate() method. So, you could do something like :
oMeta.Validate()
Précédent
Suivant
Répondre
Voir le fil de ce thread
Voir le fil de ce thread à partir de ce message seulement
Voir tous les messages de ce thread
Voir tous les messages de ce thread à partir de ce message seulement