P
pedro
I would like to create an after update macro on a form that validates two
fields. Both fields require a text value entry. I would then like a message
box to appear to indicate to the user that field1 requires input and then to
set the focus on the field. After the user enters data in field1 and then
attempts to add a record, another message box would appear if field2 is
empty, indicating data entry is required and setting the focus on field2. If
field1 has data entered then the macro would default to field to field2. The
condition on the macro would be something like if field1 is null then message
box.
thanks
fields. Both fields require a text value entry. I would then like a message
box to appear to indicate to the user that field1 requires input and then to
set the focus on the field. After the user enters data in field1 and then
attempts to add a record, another message box would appear if field2 is
empty, indicating data entry is required and setting the focus on field2. If
field1 has data entered then the macro would default to field to field2. The
condition on the macro would be something like if field1 is null then message
box.
thanks