>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')
FOR EACH lcView on laViews
oMeta.Validate(lcView)
ENDFOR
Mark McCasland
Midlothian, TX USA