Take a look in the help for DF_FIELD_NAMEIt has an example for looping through all the columns in a table.

DF_FILE_ROOT_NAME has an example of how to loop through all the tables. Combine the 2 &....