Creating a Lookup Text File

You can add new Info Fields to a model by using a lookup file, which can be a manually built text file or a text file generated from a spreadsheet or relational database. To associate a text lookup file with a dimension name in a DivePlan, the Closedfile must have a specific structure.

A lookup file has the following characteristics:

  • The file is located on the DiveLine server
  • File is tab delimited
  • The first row of the file contains column names
  • Dimension values appear in the left-most column. For example, Boston and Rhode Island are dimension values for Sales Team.
  • Info Fields that you want to add to the model appear in additional columns from left to right. For example, Sales Manager and Regional Phone Number.

A lookup file created in a spreadsheet has a familiar columnar appearance.

YearMo is the dimension column and Quarter and Qn are the Info Field columns. If you dive on YearMo in a Diver client, the values for Quarter appear in the console, even though this Info Field is not included in the model.

Note that if you create a Lookup File using a spreadsheet, remember to save the spreadsheet as a tab delimited flat file.