Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Losing a view when calling another form
Message
De
11/07/2002 15:44:24
 
 
À
11/07/2002 13:07:07
Jason Mesches
Ocean Systems Engineering Corporation
Carlsbad, Californie, États-Unis
Information générale
Forum:
Visual FoxPro
Catégorie:
The Mere Mortals Framework
Divers
Thread ID:
00677584
Message ID:
00677725
Vues:
22
Thanks Jason. Will give that a shot. Yes the 2nd form was using the view. I think I have it fixed but can't really explain what I did. I hate that!!
take care. Tom

>Is the second form also using the view that's being closed? If so, you probably have its environment's AutoCloseTables = .T. This means it will close the views it opened on its Init(). Setting it .F. should cure the problem.
>
>Not sure what you're seeing with DoForm instruction. Sorry.
>
>Hope that helps,
>---J
>
>>Hi All - Using VFP 7.0 and MM 6.1.2. I have a cizobjnolistmaintform with a business object. On the page I also have 2 command buttons, each does a doform to another cizobjmaintenanceform. The second form comes up fine. It has its own business object. When I close out the called form, and return to the original, one of my views is no longer there. I have tried the called form in its own private data session and as a default data session. A second strange thing I noticed is that in the command button with the =doform... control immediately goes to the next instruction. If I put a suspend in after the =doform, the new form shows and then I hit the suspend. I would have thought the suspend would not have happened until I close out the called form. My main proglem though is what is happening that I am losing a view in the original form. Thanks for any help.
>>
>>Tom Breay
>>INFOLUTIONS
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform