SimonPGreen
IS-IT--Management
Hi,
I have a table and one of the fields is a boolean datatype and i need to ensure that only one record has this set to -1
Access to this field is via a form and I would like to trap the before update event on the tick box bound to the field, iterate through the records to check the flag status and then either update or msgbox the user and exit if the flag is already set.
Any idea on the best way to achieve this.
Appreciate any help.
Regards,
Simon
I have a table and one of the fields is a boolean datatype and i need to ensure that only one record has this set to -1
Access to this field is via a form and I would like to trap the before update event on the tick box bound to the field, iterate through the records to check the flag status and then either update or msgbox the user and exit if the flag is already set.
Any idea on the best way to achieve this.
Appreciate any help.
Regards,
Simon