Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Multiple Browse Windows
Message
 
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Miscellaneous
Thread ID:
01473633
Message ID:
01473649
Views:
42
Thanks for the reply.

Can you give me an example of how to "use name clause" ?

Yes, I am aware of putting two grids on a form, but that would not work in this case. I need the Browse windows to possibly expand to cover the entire desktop.

Cyrus

>One possibility is to use name clause of the browse command to simulate grid. Or simply use a form with two grids.
>
>>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
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform