Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Multiple Browse Windows
Message
From
23/07/2010 20:02:32
 
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Miscellaneous
Thread ID:
01473633
Message ID:
01473659
Views:
38
BROWSE? Don't go there. It's too difficult to control programmatically. And if you're using it directly against a DBF (not a view or cursor), you're asking for file corruption. There is nothing stopping from putting a grid on a form. It can expand full screen without problems.

>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.
Craig Berntson
MCSD, Microsoft .Net MVP, Grape City Community Influencer
Previous
Reply
Map
View

Click here to load this message in the networking platform