Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Strange results running form
Message
 
 
To
09/01/1999 08:51:57
General information
Forum:
Visual FoxPro
Category:
Forms & Form designer
Miscellaneous
Thread ID:
00174341
Message ID:
00174369
Views:
26
Randy,

Is the second form running already or are you using DO FORM in the Valid? What are the DataSessions of the two forms set to? What are the grid RowSources? Is there a control on the second form that can recieve focus?

>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.
df (was a 10 time MVP)

df FoxPro website
FoxPro Wiki site online, editable knowledgebase
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform