SetFocus

Hi,

I didn’t find the answer for my problem on the other post about this subject.

I have to use a question (CONFIRM) in the trigger onvalidate of a textbox, depending of the response, I have to keep the focus on the same control or let the focus go to the next control.

Best Regards,

Mikaël

Hi Mikael,

If you’re using CONFIRM in the trigger then keep the focus on the current control until you confirm and end the validation code.

Hi Erik,

Sry for my late answer! I don’t understand your answer…

I am in a tab form, when I modify one specific field of my record, a confirm message ask if the value set on this field is correct.

If the user respond yes, the field is saved and the focus go to the next field, else if the focus have to stay on this field, its value is reset in order to the user enter a new correct value.

Best regards,

Mikaël Pires

Hi Mikaël,

Then I’m sorry, because then I don’t understand your question.

You’re correct:

If the user respond yes, the field is saved and the focus go to the next field, else if the focus have to stay on this field, its value is reset in order to the user enter a new correct value.

But what is your question?