User Fields 1-45 are displayed in the Cardholder Database window and can be printed to ID cards.
Start by adding the field to the external database, or verify that a field already exists for the intended purpose. Contact your database administrator or see the Advanced section below.
Assign a location for the User Field
Library Number is User Field 4 |
- Open IDMS and log in with an administrator-level account
- Open Utilities > Setup > Database
- Click Define beside User Fields
- Enter the new field label in an unused user field (Do not move existing field labels!)
- Click OK
Configure the User Field's field type
After assigning the User Field label to a location you can now set the field type. These next steps define the field type (text field, droplist, read-only, hidden, etc).
- Open Utilities > Setup > Database
- Click the Define button beside Data Layout
- Open the Data droplist and select the field label you added in step 4 above
- Assign the appropriate field status types by enabling 1 or more check boxes.
- Click Save and Close
Add the User Field to the Mapping DBL file
- Open Utilities > Setup > Map Data > Edit
- Choose a DBL file and click OK
- Select the database column in the left pane and the User Field in the middle pane
- With both fields selected click the right arrow to add the new mapping to the Current Data Mappings list
- Click OK to save and exit
Advanced
For advanced users only.
Adding a new User Field usually requires creating a new field in the external database table. The default ID table names are listed below.
Database Type | Default person table name |
---|---|
Microsoft SQL | IDCARD |
Microsoft Access | demo / RTK12_Person |
Oracle | IDCARD |
Supported Data types
VARCHAR
INT
CHAR
DATE
DATETIME
TIME
NVARCHAR or any other N- variant is not supported.
Microsoft SQL Server
To add a new column to an existing table using SQL Management Studio.
- Connect to the Database Engine.
- From the Standard bar, click New Query.
- Copy and paste the following example into the query window and then click Execute.
Substitute ColumnName with the name of the column you want to add. VARCHAR(64) indicates the column data type and length.
USE [IDMS] GO ALTER TABLE dbo.IDCARD ADD ColumnName varchar(64) GO