>
> I have a text box. I need to validate the value entered. If the value
> entered is invalid. I need to open a form containing four table options
> for a user to select.
>
> First I used DO FORM myform in the text box valid method. But after it
> opens the form, the focus returns to the text box and the form hides behind
> the screen.
>
> Second try I did is that I build the formset which contain both the data
> entry form and pick table option from. I tried in both valid method and
> lostfocus method, put in setfocus method of an object on the pick table
> option form. The pick table option form just flash and focus returns the
> text box.
>
> What should I do to make the pick table option form staying on the top of
> the data entry form?
1) ensure that the picklist form is Modal
2) use the command:
DO FORM {whatever} TO VarName
to put the results of the form in a variable name.
/Paul