Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Strange results running form
Message
From
09/01/1999 17:34:43
 
 
To
09/01/1999 08:51:57
General information
Forum:
Visual FoxPro
Category:
Forms & Form designer
Miscellaneous
Thread ID:
00174341
Message ID:
00174398
Views:
23
I'm not sure I know what is causing your troubles but maybe I can offer some insight: if you carefully observe what happens when a grid gets and loses focus, you will see that the grid takes the iberty of selection its recordsource as the current alias when it has focus, and politely restores the the previous alias when it loses focus. Does this shed any light on anything?

>Hi,
>And Thanks in advance for any input to this question.
>
>I am using vfp6 on a 100 mhz machine with 80m of ram.
>
>I have a form with a grid where the valid statement in the first column calls another form with a grid for lookup purposes. When I put a suspend in the code, and walk through it, everything works fine. When I take out the suspend, and just run the code, the select statement to select the table in the second form does not work. It just stays in the work area of the first grid.
>
>I have moved the select statement to a variety of locations in the code. I have even modified the call to the 2nd form, adding a parm for the alias of desired work area, but when I run the code without a suspend, it always ends up in the wrong work area. I have disabled the grid in the original form in one effort to get this to work correctly.
>
>The table in the 2nd form is a 2nd instance of a table in the first form, but not the same file in use in the first grid.
>
>thanks
Erik Moore
Clientelligence
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform