Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Multiple Browse Windows
Message
 
 
À
Tous
Information générale
Forum:
Visual FoxPro
Catégorie:
Codage, syntaxe et commandes
Titre:
Multiple Browse Windows
Divers
Thread ID:
01473633
Message ID:
01473633
Vues:
93
I need to open 2 simultaneous Browse windows, allowing the user to go back and forth between the windows to reconcile records of one window against the other. However, when I use
DEFINE WINDOW browse1  IN DESKTOP  FROM 5,5   TO 30, 180 FONT 'Arial', 8  STYLE 'N'
DEFINE WINDOW browse2  IN DESKTOP  FROM 5,5   TO 30, 180 FONT 'Arial', 8  STYLE 'N'

SELECT (cFile1)  && the Bank Statement file (External data).
GO TOP
BROWSE window browse1 NOAPPEND NODELETE NOWAIT

SELECT (cFile2)  && Database file (Internal data).
GO TOP
BROWSE window browse2 NOAPPEND NODELETE NOWAIT

* Program execution should no go beyond this point, until the user closes BOTH browse windows.

RELEASE WINDOW browse1
RELEASE WINDOW browse2
The program does not stop to allow the user to switch between the windows. It just leaves the window open and proceed to the following statements.

If I remove the NOWAIT from second BROWSE statment, then as soon as I switch to the first browse window, the second one closes and the program execution continues.

Thank you in advance.
Cyrus Nima
-------------------
cyrusnima@gmail.com
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform