Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
White Grid
Message
De
30/01/2005 12:52:02
Dragan Nedeljkovich
Now officially retired
Zrenjanin, Serbia
 
 
À
30/01/2005 12:35:29
Information générale
Forum:
Visual FoxPro
Catégorie:
Codage, syntaxe et commandes
Titre:
Versions des environnements
Visual FoxPro:
VFP 8 SP1
OS:
Windows XP SP2
Network:
Windows 2000 Server
Database:
Visual FoxPro
Divers
Thread ID:
00982029
Message ID:
00982091
Vues:
34
This message has been marked as the solution to the initial question of the thread.
>I have the "close tables" at the beginning of the app. I removed it. I made certain that the data environment is set to the free table and form I am using. I have set the tab order so that Refresh would benefit the grid. The White grid persists whether there is data in the table or not. I have never run into this problem before and the bug chase is beginning to P*** me off.

Add a breakpoint somewhere in grid's init, and then check that the table is already open.
If you're opening the table in form's init, then it's too late - the grid instantiates before the form (instantiation order is always inside out, i.e. the contained objects come to existence before their containers). Try to open the table in form's .load, if it's not already open in DataEnvironment (if you have any).

Also, if you're opening the tables at the beginning of the app, your form may still not be able to find them if it has a private datasession - in this session, when it instantiates, nothing is open. You have to either open them again in .load, or to have a dataenvironment.

And, last one - check the spelling of the alias, that may also be a reason.

back to same old

the first online autobiography, unfinished by design
What, me reckless? I'm full of recks!
Balkans, eh? Count them.
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform