>I have a view in my DataEnvironment thats NoDataOnLoad property is .t.
>I use the view with requery().
>And the i have some data in the view.
>How can i clear the view?
>Thanks.
Set your view parameter to a value that you know will return no records and issue a requery(). Or if you have no uncommitted changes, you can change the view to record buffering [if it is table buffered] and ZAP it. Then change the buffering back to what it was originally.
Mark McCasland
Midlothian, TX USA