Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
No Data On Load not working
Message
From
12/04/2001 19:24:01
Larry Long
ProgRes (Programming Resources)
Georgia, United States
 
 
General information
Forum:
Visual FoxPro
Category:
The Mere Mortals Framework
Miscellaneous
Thread ID:
00494297
Message ID:
00495116
Views:
14
>>I added a parameterized view to a bizObjMaintenance form just like in the JumpStart example, with a textbox to capture the parameter and the parameter initialized in the BizObject PostInitHook method as described in the manual with the No Data On load option selected. It worked properly.
>>
>>Later, I went to add a second parameter to my view. And now, no matter what I do the form opens WITH data loading!
>>
>>I double-checked the bizObject "No Data On Load" option on and recompiled the project.
>>
>>The Session object is the first object on the form class and the BizObject on the pageframe has been "Sent to Back"
>>
>>Any ideas?
>
>What is the bizobj's nRequeryType property set to?

I just tried it with another another form and changed the view from a non-
paramterized to paramamterized and it also is retriveing all records. What I did was to add the following to the bizObj.PostInitHook...

This.AddViewParameter('vp_Crew', [""])

My view is SELECT * FROM CREWS WHERE CREW=?vp_Crew

I know that if queried with CREW="", it will return all records, but from what I gather from the docs there should not be any records retrieved until I requery. Is it that the grid is issuing the REQUERY()? Once again it is a form built just like the sample in the JumpStart.

Thanks for your input.
L.A.Long
ProgRes
lalong1@charter.net
Previous
Reply
Map
View

Click here to load this message in the networking platform