This example demonstrate the unique key validation in a form.
Creating a Form application
1. Create a new Simple form application based on the table departments.
2. In the application menu click in Unique Key.
3. To define a key, select the field DeptName on the left side and click in Add.
It is also possible to use a compound key (more then one field for key), press CTRL and click in the desired fields to create a compound key.
4. Click on the button “Run application”.