>>During design, view works great. At runtime, the view returns no data. This must be an environment setting? Here is the code:
>>
>>If ! Used("View1")
>> Use View1 In 0 Nodata
>>Endif
>>Select View1
>>vwClassID = This.IDKEY
>>Requery()
>>
>>Any ideas?
>
>It returns no data because your code tells it not to return data but only create the structure. That is what NODATA keyword does on the USE statement.
Greetings Jim and thanks for your reply.
The View is a parameters view and uses the variable vwClassID. Shouldn't the requery() statement cause to view to fill?
I have done some testing since this post. The code works great when I test the class by it's self. This makes me think it’s an environment issue. This project was a VFP6 project and I'm updating it to VFP9.
Thanks in advance or I hope this helps!
[STS]
:>