Desktop User Guides > Professional > Table scripting > Working with profile tables > Creating profile tables > Saving profile results in a table document file
 
Saving profile results in a table document file
As with aggregated tables, you can save profile tables in a table document file. You can also choose whether to omit profile results from the table document file and save only the table structure. Profile tables are relatively quick to generate but can result in an extremely large table document file which is then slow to open, so it can be helpful to store only the structure of profile tables in the .mtd file. Users can then generate the tables as required.
By default, profile tables are saved with results. Here is a script to save profile tables without the results:
With TableDoc
  .SaveProfileResults = False
  .Save(OUTPUT_FILE)
End with
See also
Creating profile tables