>Hi,
>
>I have a form with several textboxes that serve as the critera for a search that populates a grid (also on the form).
>
>Is there a way to quickly reset all the controls on the form to blanks? Kinda like the "reset" button found on web based forms.
>
>Right now, I'm manually setting the 5 textboxe's .value property to "", setting the view parameters to impossible values and refreshing the form, which works, but I'd like to know if there is a "right" way to skin this cat.
>
>Thanks!
>
>Alex
Take a look at the SetAll() method of the form. Eg:
THISFORM.SetAll("value","")