K
Kevin
I posted this question last week, but my post seems to
have gotten lost.
I have a field that receives a number. Using anAfterupdate
event, I ensure the value entered is not null, and is not
less than 0. If it is less than 0, I reset the value in
the field to 0, save the record as is, then issue a
message indicating the message must be greater than 0. I
also want to set the focus back to this field, but it move
to the next control in the form. Why? in setting the
focus, I am using something like the following:
form!fieldName.setfocus
Thanks in advance.
Kevin
have gotten lost.
I have a field that receives a number. Using anAfterupdate
event, I ensure the value entered is not null, and is not
less than 0. If it is less than 0, I reset the value in
the field to 0, save the record as is, then issue a
message indicating the message must be greater than 0. I
also want to set the focus back to this field, but it move
to the next control in the form. Why? in setting the
focus, I am using something like the following:
form!fieldName.setfocus
Thanks in advance.
Kevin