A table has two fields that should be unique (as a pair of values). The table already has a PK. How can I create a key that is unique for those 2 fields. Thi s will remove the headache of writing the trigger that checks if the pair of values already exists in the table.
To put it another way: In a classic RDBMS I would have created a unique composite Index for those two fields that is NOT the PK of the table. what do I do in Navision?
tx
0
Comments
RIS Plus, LLC
Use trigers (OnValidate or OnModify/OnInsert) and check if yours 2 fields are "unique".
BostjanL
I guess I will have to write the triggers after all