Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Some ideas needed for the problem
Message
De
11/05/2007 12:25:56
 
 
Information générale
Forum:
Visual FoxPro
Catégorie:
Gestionnaire d'écran & Écrans
Versions des environnements
Visual FoxPro:
VFP 8 SP1
OS:
Windows XP
Database:
Visual FoxPro
Divers
Thread ID:
01224678
Message ID:
01224688
Vues:
25
This message has been marked as the solution to the initial question of the thread.
>>I had to ask again, because your WEXIST does not make sense in case of modeless form, because DOform will not stop execution, it will continue further so WEXIST will always return true.
>>Now let me ask you another question to make sure: do you want changes to appear in Search form immediately when something is done in Ticket form, or after Ticket form is closed?
>
>I think I want them after the Ticket form is closed, though immediate change may be even better.
>
>BTW, don't forget that it's multi-user, so other users may change other tickets at the same time...

Whatever the option, the application flow would be following. Firstly, your ticket form should keep a reference (property) to the search form. Most likely you can pass the value when you start ticket form (assuming it's always done from the search form). Now whenever you make critical change or from ticket form Destroy event (if you want changes on close point) you may call specific method (my favorite name is 'OutsideCall') of the search form with appropriate parameter (mode). The OutsideCall method will make all necessary manipulation within the search form, i.e. in general, OutsideCall method contains DO CASE triggering different code depending on the passed parameter.
Edward Pikman
Independent Consultant
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform