Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
How to detect when another form is closed?
Message
De
30/11/2008 08:09:31
Hilmar Zonneveld
Independent Consultant
Cochabamba, Bolivie
 
 
À
30/11/2008 08:02:34
Information générale
Forum:
Visual FoxPro
Catégorie:
Classes - VCX
Versions des environnements
Visual FoxPro:
VFP 9 SP2
OS:
Windows XP
Network:
Windows 2003 Server
Database:
MS SQL Server
Divers
Thread ID:
01364669
Message ID:
01364684
Vues:
14
>>>>Hi Nadya,
>>>>
>>>>You mean, when you close the CHILD form, the record pointer in the PARENT form moves? That sounds as if your forms don't use independent data sessions. Try to set a private datasession for both forms, and don't include them in the same formset.
>>>
>>>Both forms use the private datasession AFAIK. I never use formsets.
>>
>>Then, it certainly looks strange that changes in one form should affect the other. Some debugging would be in order, to find out what is going on - when does the record change in the parent form.
>
>These are both (especially the second) quite complex forms. I'll try to get to the bottom of the probem when I have time.

Well, I know, the debugging process can be quite complicated.

Perhaps you can put a breakpoint, when recno(...) changes in the first form - and then do your usual manipulations in the second form.
Difference in opinions hath cost many millions of lives: for instance, whether flesh be bread, or bread be flesh; whether whistling be a vice or a virtue; whether it be better to kiss a post, or throw it into the fire... (from Gulliver's Travels)
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform