Defining index field validation by using a database
You can validate a captured index value by using a column in an external database. You can also populate an index field by using a value that is retrieved from a database.
Procedure
To define index field validation or population by using a database:
- Start FastDoc in Datacap Server mode.
- On the Datacap window, click the Configure documents, pages, and fields icon.
- In the Batch Structure pane, select the field that you want to validate by using a database.
- Click the Ruleset tab and select the Validate Fields ruleset.
- Select the check box for the Lookup section.
-
In the Database field, enter a connection
string that can connect FastDoc to
your external database.
Based on the type of database and the driver that you are using, you might also need to set up a System DSN.
- Enter an SQL statement that determines whether only validation is done, or whether a value from a different database column is returned.
- Enter a comma and True after the SQL statement to populate the index field with the result.
- Click the Populate Field check box.
- Click Save.