Hi!
I don't know if USE AGAIN will work with NODATA, just try it.
From what I know, REQUERY cannot be used until you make misterious parameter in your view like '?llNoData=.F.' and assign .T. to llNoData so result set of query is empty.
HTH.
>Hey Vlad,
>
>Ok, so if I have a view open and want to requery it to have no records then requery it again to have records, maintaining the same alias, is the following correct?
>
>
>Requery('View1')
>Use View1 NoData
>Requery('View1')
>
>
>Does the Use affect the view for subsequent Requery? If so, can I use the Again clause or is that superfluous?
>
>Renoir
>
>>USE ...ViewName NODATA.
>>
>>Take a look to help on USE command, NODATA option.
Vlad Grynchyshyn, Project Manager, MCP
vgryn@yahoo.comICQ #10709245
The professional level of programmer could be determined by level of stupidity of his/her bugs
It is not appropriate to say that question is "foolish". There could be only foolish answers. Everybody passed period of time when knows nothing about something.