Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
SQL View - visibility across objects
Message
De
27/12/2006 17:43:42
 
 
Information générale
Forum:
Visual FoxPro
Catégorie:
Base de données, Tables, Vues, Index et syntaxe SQL
Versions des environnements
Visual FoxPro:
VFP 9 SP1
OS:
Windows XP SP2
Database:
Visual FoxPro
Divers
Thread ID:
01180523
Message ID:
01180614
Vues:
14
>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
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform