Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Grid not showing records.
Message
De
23/09/2004 16:55:09
 
 
À
Tous
Information générale
Forum:
Visual FoxPro
Catégorie:
Gestionnaire d'écran & Écrans
Titre:
Grid not showing records.
Divers
Thread ID:
00945527
Message ID:
00945527
Vues:
56
I have a form with a pageframe, and on Page1, a command button adds a handful of records to a view cursor. A grid on Page2 is controlsourced to the view cursor. Switching to Page2 shows me an empty grid, but several textboxes controlsourced to view fields show the correct value. An Add button on Page 2 adds a record, but the grid still shows empty, the textboxes are writing their values back to the cursor (open in a browse behind the form when debugging).

Obviously, I thought it was missing grid.Refresh(), but Page2.Activate, the Add button, and the LostFocus of each textbox ALL have grid.Refresh() calls. It's not Lockscreen either, as the textboxes update, and I can switch pages easily.

I've doublechecked the controlsource to be sure it's right. The view is Optimistic Table Buffered, and parameterized, but the correct parameter is added to the new records.

So why can't I see them?
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform