Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Validate('views only')
Message
General information
Forum:
Visual FoxPro
Category:
Stonefield
Miscellaneous
Thread ID:
00850417
Message ID:
00850486
Views:
18
This message has been marked as the solution to the initial question of the thread.
>Hi all,
>
>I want only to put the tables of my DBC in the metadata.
>It is xcase which builds the dbc and stonfield which possibly repairs if a table is damaged.
>
>For a question of time I would like to thus validate() only the tables.
>
>Is this possible ?
>A command like oMeta.Validate("Only views please"). :-)
>
>bernhart

Your question says tables in one place in views in the other. Either way, your best bet is to use ADBOBJECTS() to return an array of all the views or tables in the DBC, then loop through the array and call the validate method for each view/table.
ADBOBJECTS(laViews, 'TABLE')  && or 'VIEW'
FOR EACH lcView on laViews
    oMeta.Validate(lcView)
ENDFOR
Mark McCasland
Midlothian, TX USA
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform