Table of Contents

Setup

Basic configuration about the form is defined on the Setup page.

Information

Availability

Connection

Tables

This section of the form set up pages allows to define the columns of the new tables if the New tables option is selected. If existing tables are selected, the page displays the selected table structure

The process described below can only be used to create tables. It cannot be used to modify an existing table. This must be done directly in SQL.

Primary Table

  1. FieldName is the column name used in the database, not what appears to the user on the form
    1. The name can use letters, numbers, and the underscore (_) character. Spaces and other special characters are not permitted.
  2. Data Type is selected from the drop-down option list.
    1. Use of the Binary option is not supported in Versago Forms (v2) and should not be used.
    2. Date is always created in the database as a DateTime data type.
    3. The data type for Number is set based on the Format (below).
  3. Format is used for data types of Date and Numeric.
    1. Date data type
      1. The Date data type is always created in the database as a DateTime data type, irrespective of format.
    2. Number data type
      1. Format of Integer is always created in the database as an Integer (whole number) data type.
      2. Format of Decimal is always created in the database as Decimal data type.
    3. Text data type
      1. Text format is created as nvarchar data type.
      2. Text(max) is created as nvarchar(max) data type.
  4. Size is the number of characters of the column in the database.
    1. For Text fields this is the maximum number of characters that can be entered.
  5. Precision indicates the number of decimals for Numeric/Decimal columns.

One field must be selected as the Primary Field. This field is used by Versago to identify each unique record.

We recommend the creation of the following fields using the shown naming convention.

Field Name Usage Comments
vgoRecNum Primary key Required for any form table. Must be Numeric/Integer.
vgoCreatedBy Email of user creating a new record Should be included in any header form table
vgoCreateDate Date a new record is created Should be included in any header form table
vgoCreatedById Versago User ID of user creating a new record Should be included in any header form table. Used for reporting and profile access control
vgoLastModifiedBy Email of user modifying an existing record Only needed if records will be updated using the same form where they were created, and if change tracking is desired.
vgoLastModifiedDateDate an existing record is modified Only needed if records will be updated using the same form where they were created, and if change tracking is desired.
vgoLastModifiedByIdVersago User ID of user modifying an existing record Only needed if records will be updated using the same form where they were created, and if change tracking is desired.
vgoProcessStatus “Flag” value to indicate if a record has been processed in some way (e.g. via Bizweaver)
vgoProcessDate Date a record has been processed in some way (e.g. via Bizweaver)
vgoLinkID Can be used to capture the ID of a record created in another system when the form record is processed in some way (e.g. Bizweaver)
vgoLinkDate Can be used to capture the date a record is created in another system when the form record is processed in some way (e.g. Bizweaver)Like vgoProcessDate but used if two separate date stamps are desired.

Detail Table

A detail table is only used when the form type is Header/Detail. The definition process is the same as shown for the primary table. The only differences are the table name and the definition of the Link field to connect the header table record with the detail table records. The Linked Field must be the same name, data type, and format as the Primary Key in the header table.

The detail table cannot have a Primary Key. This is an important consideration when using existing tables.


Add/Edit Form

Home