Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
SQL View - visibility across objects
Message
From
27/12/2006 17:43:42
 
General information
Forum:
Visual FoxPro
Category:
Databases,Tables, Views, Indexing and SQL syntax
Environment versions
Visual FoxPro:
VFP 9 SP1
OS:
Windows XP SP2
Database:
Visual FoxPro
Miscellaneous
Thread ID:
01180523
Message ID:
01180614
Views:
13
>Could it be that one of the views was closed?

That was it.

The problem was not with views opened by another object, but with views that are opened by this object.
These views are opened in the Init event for Object 2.
However, the Init events for the controls in the form object are executed before the object's own Init event. The error was occurring in one of these.

I moved the view creation logic to the Load event and the error went away.

Looks like there's a difference here between initialization of a form and initialization of a form object.

Many thanks!
Howard
Previous
Reply
Map
View

Click here to load this message in the networking platform