Something like this lets you get all the tables in the DB you're connected-to:
FOR EACH _file WHERE _File-Number > 0:
etc, etc
END.
You can use the Data Dictionary to get a display of all the fields in _file ... just type-in "_file" as the table name (it won't be shown in the list to select).
Is that what you're after?
Ron.