Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Multiple Browse Windows
Message
 
 
To
All
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Title:
Multiple Browse Windows
Miscellaneous
Thread ID:
01473633
Message ID:
01473633
Views:
92
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
Next
Reply
Map
View

Click here to load this message in the networking platform