Hi
I have a form where several fields are mandatory (this also includes recordset checks for subforms to check at least one record in subform is completed)- when the user clicks commit to Database - if any of the checks aren't met it runs a CheckFields Function which returns false and tells the user they haven't completed the form correctly.
What I'd like is for the uncompleted field(s) forecolour to change colour or flash - I can think of a long-winded way to do this * but has anyone a nice generic solution?
* seperate each check for each field/recordset - if not met set the value to 1 else set it to 0 - then at the end run a big if statement where if value = 1 set the form fields forecolour to red for example
many thanks
jack
I have a form where several fields are mandatory (this also includes recordset checks for subforms to check at least one record in subform is completed)- when the user clicks commit to Database - if any of the checks aren't met it runs a CheckFields Function which returns false and tells the user they haven't completed the form correctly.
What I'd like is for the uncompleted field(s) forecolour to change colour or flash - I can think of a long-winded way to do this * but has anyone a nice generic solution?
* seperate each check for each field/recordset - if not met set the value to 1 else set it to 0 - then at the end run a big if statement where if value = 1 set the form fields forecolour to red for example
many thanks
jack