Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Updating a paramaterized view
Message
 
To
02/06/1998 16:22:32
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Miscellaneous
Thread ID:
00104154
Message ID:
00104618
Views:
19
>Thanks for your reply. You answered one of the questions I had by recommending a second view for the grandchildren, which I hadn't considered. But I am still uncertain as to whether I need to do this, i.e., what does it buy me? In the first situation, it's clear to me - a view shows me just the children related to this parent. However, in the case of one of these grandchildren I want to see all of the possible cities in case the person needs to edit the address record. So it seems to me I wouldn't need a view for that situation, is that correct?
>
>The other question is still which table reference do I use for the control source in the controls which are using that view? Again, I'm assuming that I should be using e.g. Controlsource = Myview.field1, etc. and then updating the fields in the original table with those values.
>
>Oh, one other thing. I'm not using the data environment (I'm opening all my tables in the load event of my form). So it looks to me like I should be using the Noupdate parameter of Use.
>
>Thanks again,
>
Sylvia,

Yes you neeed to use the NODATA option on your use command so the view does try to get data until you have your parameters set up. I would still us the two views and open them both. The us eof two views let's you use these same iews in other forms which have other requirements without carryig a lot of extra data baggage around with you all the time. You only need to use those views that are needed.
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform