Use ADIR() to get a list of dbf files, then loop through the resulting array.
>I have been hit twice in the last month by a virus which causes not a table error when a dbf is opened
>
>Is there anyway I can open one by one all the tables in a directory to see if I still have any corrupt tables
>
>Colin
Craig Berntson
MCSD, Microsoft .Net MVP, Grape City Community Influencer