> > Hi All,
> >
> > First of all I thank all of you for the valuable and timely assistance to me in my periods of desperation and extreme need....
> >
> > Now for my new post associated with my recent endeavour to do away with all public variables...
> >
> > I have created a view which needs two parameters gdstartdate and gdenddate. Which is the simplest way to pass these parameters to the view, since I cannot even edit the view if these variables are not public.
> >
> > Thanks a lot.
>
> Hi Steve,
>
> In addition, when you want to add a parameterized view to a form.DataEnvironment or want it to be available in form.Load() at least, you can set DE.CursorX.NoDataOnLoad=.T. in the DE or use the "NoData" option of the "Use" command.
> (And then, later in form.Init() for instance, do the Requery() after you created the local parameter variables as Suhas recommended).
>
>
> hth
> -Stefan
Hi Stefan,
Yes, with
nodataonload=.t.
I get the desired result. Thanks a lot for all the help!
With best regards,
Steve.