Information générale
Catégorie:
Gestionnaire d'écran & Écrans
Hi Garry.
>> If I delete a record and pack the table, everything vanishes from the grid. <<
This is because packing the grid's RecordSource closes it. The grid has a nervous beakdown when you rip its RecordSource out from under it.
I see that Barbara already gave to the trick of setting the grid's RecordSource to an empty string before packing the table. Just be aware that when you re-connect the grid to its original recordSource, the grid gets rebuilt from scratch; i.e., column widths, fonts, ad nauseum all go back to their default values and the Column controlSources get reset.
Marcia
Précédent
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