Defining a primary key
Last updated
Last updated
A primary key (PK) is a field which contains keys unique for each record. When you add input fields to your Qommentary Form, you will need to designate one field as the primary key.
There are two (2) types of primary keys:
Input
Primary key is determined by a field present in the form
Text, Number and Dropdown
Autonumeric
Primary key is generated by the database
n/a
To setup a connection with an Input primary key type, please follow these steps:
1. Edit the extension's properties
2. Expand the Data Connections section
3. Set the Primary key Type to Input field
4. Expand Input fields and select the input field to nominate as primary key
5. Click on the switch control to select input field as Primary key
To setup a connection with an Autonumeric primary key type, please follow these steps:
1. Edit the extension's properties
2. Expand the Data Connections section
3. Set the Primary key Type to Autonumeric
6. Enter Key column name for the selected connection