>>>As I understand VALIDATE DATABASE checks only Database and rebuild databases index, but it do nothing with tables in it.
>>>
>>>And I want to write universal function to fix database and tables (indexes) in it. But I don't know how many and which tables is in given database. Is there any function like ATABLES(), which put list of tables into array?
>>>
>>>Giedrius
>>
>>ADBOBJECTS("myarray","TABLE")
>Thanx a LOT. I've walking through VFP help for 1/2 hour and it didn't help me. Thank a lot.
>
>Giedrius
Ok, BTW, I made a typo, it should be ADBOBJECTS(myarray,"TABLE") w/out quotes.
Edward Pikman
Independent Consultant