Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Grid in Default Data Session Not Refreshing
Message
From
31/01/2002 15:30:29
 
 
To
31/01/2002 15:16:52
General information
Forum:
Visual FoxPro
Category:
Forms & Form designer
Miscellaneous
Thread ID:
00613649
Message ID:
00613660
Views:
8
Tracy,

I would suggest that you set the grid's recordsource to the empty string before you do the processing, and then set it back after the processing is complete.

>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
Steve Gibson
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform