Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Grid in Default Data Session Not Refreshing
Message
De
31/01/2002 15:16:52
 
 
À
Tous
Information générale
Forum:
Visual FoxPro
Catégorie:
Gestionnaire d'écran & Écrans
Titre:
Grid in Default Data Session Not Refreshing
Divers
Thread ID:
00613649
Message ID:
00613649
Vues:
37
I have a program that contains several procedures. The main portion of this program opens a table whose name is contained in the variable 'tablename' because it may be one of several different tables with the same structure. Following that it calls a form which contains a grid whose recordsource is (tablename). When the form opens up, it contains all of the records from the table as it should. When I choose an option on the menu which pulls in data from the com port and inserts it into the table (tablename), the table contains all of the records as it should, but the changes to the records are NOT reflected in the grid. I've verified that form's datasession is default. I've included a comform.refresh (and tried comform.grid1.refresh also) after the table is updated and still the grid does not refresh. I can browse the table and see the updated records are there, but they are not in the grid. The strange thing is that the grid used to be updated as it should be. What am I overlooking? Is there another way to get the grid to requery the table?
TIA,
Tracy
.·*´¨)
.·`TCH
(..·*

010000110101001101101000011000010111001001110000010011110111001001000010011101010111001101110100
"When the debate is lost, slander becomes the tool of the loser." - Socrates
Vita contingit, Vive cum eo. (Life Happens, Live With it.)
"Life is not measured by the number of breaths we take, but by the moments that take our breath away." -- author unknown
"De omnibus dubitandum"
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform