Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Invoking Stonefield Validate programmaticaly
Message
From
22/01/2001 06:13:00
 
 
General information
Forum:
Visual FoxPro
Category:
Stonefield
Miscellaneous
Thread ID:
00465290
Message ID:
00466510
Views:
16
>>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()
...
I used one sample for updates, and after supplying propper paths in order to
instantiate oMeta, it was realy that simple.
Thank you very much.
*****************
Srdjan Djordjevic
Limassol, Cyprus

Free Reporting Framework for VFP9 ;
www.Report-Sculptor.Com
Previous
Reply
Map
View

Click here to load this message in the networking platform