Information générale
Catégorie:
Gestionnaire d'écran & Écrans
Titre:
Grid not showing records.
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
Voir le fil de ce thread
Voir le fil de ce thread à partir de ce message seulement
Voir tous les messages de ce thread
Voir tous les messages de ce thread à partir de ce message seulement