Welcome To The Home Of The Visual FoxPro Experts  
home. signup. forum. archives. search. google. articles. downloads. faq. members. weblogs. file info. rss.
 From: Stefan Wuebbe
  Where is Stefan Wuebbe?
 Hamburg
 Germany
 Stefan Wuebbe
 To: Neeraj Charne
  Where is Neeraj Charne?
 Indore
 India
 Neeraj Charne
 Tags
Subject: RE: how to define & use views
Thread ID: 209404 Message ID: 209803 # Views: 1 # Ratings: 0
Version: Visual FoxPro 9 Category: Projects and Design
Date: Wednesday, December 31, 2008 11:50:35 AM         
   


> >
> > You can use each view again in each form by adding it to the form.DataEnvironment or opening it in Form.Load().
> > If the form has a private datasession, the View will be closed when the form gets released.
> > You can Requery() each view whenever you want - if one form shall do so when the other one closes, it may depend on your design specs: if for instance the second one is modal and being called from the first, you can do the Requery() right after the "Do Form secondForm" line.
> > At which point do you have problems?
> >
> >
> > hth
> > -Stefan
>
> both the forms are launching from Tool Bar options at any time may remain open/close.
> should i use requery() in froms Activate
>

Sounds as if that might work, although the disadvantage would be that not every secondForm.Activate() might be caused by the desired firstForm.Destroy(), wouldn't it?


hth
-Stefan

ENTIRE THREAD

how to define & use views Posted by NEERAJ CHARNE @ 12/28/2008 12:55:15 PM
RE: how to define & use views Posted by Stefan Wuebbe @ 12/28/2008 1:32:36 PM
RE: how to define & use views Posted by NEERAJ CHARNE @ 12/31/2008 7:53:18 AM
RE: how to define & use views Posted by Stefan Wuebbe @ 12/31/2008 11:50:35 AM