TransCAD
Managing Data Tables
2018/4/6 1
Create a New Table
2018/4/6 2
Add a field
Delete a field
Change the field order
Change a field name
Use a display name
Change a field type
Change a field width
Change the number of decimals
Set a default value in new records
Change a field format
Change a field description
Index a field
Change the aggregation method
2018/4/6 3
Adding Records to a New Table
2018/4/6 4
Adding Records to a New Table
Adding a Fixed Number of Records
– If you know how many records you want to store in
the new table, you can tell TransCAD to add that
number of blank records to the table.
Adding Matching Records
– Use this option when you want to store additional
columns of information about records or map features
in a new table. The Matching Records option
automatically adds one matching record for each
record or feature in the original dataview.
2018/4/6 5
Adding Records to a New Table
Adding a Record for Each Unique Value of
a Field
– Use this option when you want to create a
lookup table that adds new information to a
map layer or dataview. To use this option, you
must choose:
• The map layer or dataview you want to examine.
• The field whose values you want to use. TransCAD
adds this field to the new table.
2018/4/6 6
Modify the Structure of a Table
2018/4/6 7
Working with Codes
Often a database will contain shorthand codes
that have a particular meaning. Using codes saves
space because long character strings are replaced
with shorter codes.
To replace shorthand codes with descriptive text,
you create a lookup table and attach it to the
original table. A look up table is simply a table
that contains the field names, the shorthand codes,
and the descriptive text you eant to see displayed.
2018/4/6 8
Attach Codes
Lookup Table – All of the
column data type has to be
character as well as the
column contains codes
2018/4/6 9
2018/4/6 10
Double Click
2018/4/6 11
Create a Lookup Table From a
Dataview
2018/4/6 12
Create a New Table from a
Dataview
Marking Column
2018/4/6 13
Creating a Table from an Excel
File
2018/4/6 14
2018/4/6 15
About Dictionary Files
Tables in fixed-format text, When you create a table in
fixed-format binary, and one of these formats,
comma- and tab-separated TransCAD automatically
text format require an creates the dictionary file.
additional file called the Dictionary files have the
dictionary file. The same file name as the data
dictionary file serves as a file and an extension of:
header and tells – .DCT for a fixed-format text
TransCAD where to look file
in the data file for the – .DCC for a comma- or tab-
different fields of data. separated text file
– .DCB for a fixed-fromat
2018/4/6 binary file 16