In the form's data environment look at the properties of that view and set the NoDataOnLoad property to .T. Then, you can set the parameter as you stated.
Hope that helps.
>Well, my view is in the data environment. So I dont have any "Use myview" statements in my code. I want to set the view parameter in the init method of the form.
>So, I dont know how to incorporate ur solution. Even If I want to do something, before even the form comes up, it pops up the "Enter parameter value" dialog.
>I think many might have gone through with parameterized views.
>
>Please suggest me a solution.
>
>Thanks
>Puri Malluru