Script Detailed Description


This script creates a new virtual table (VTAB). It was created to store data on the drop structures in a sewer network. The script is not complete.

CREATETAB defines several fields (Drop_id, Node, Branch, Height, and Tailwater) and prompts the user to change or accept default values. The user can also change individual values for Height and Tailwater. The user is also prompted for the number of drops, which defines the number of records in the table.

Drop_id will hold an unique identification number for each drop.
Node and Branch will store data on the location of the drop.
Height will describe the height of the drop.
Tailwater will describe the tailwater depth at the drop

Key Avenue commands used:
FN.Make
FileDialog.Put
aVtab.SetExtension
aField.Make
aVtab.AddFields
aVtab.SetValue

Return to main document