Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Why are the rows in my grid disappearing
Message
De
16/03/2007 10:38:30
 
 
À
15/03/2007 20:13:29
Information générale
Forum:
Visual FoxPro
Catégorie:
Codage, syntaxe et commandes
Divers
Thread ID:
01204335
Message ID:
01204514
Vues:
13
James

I'd say, in essence, whatever change in underlying data causes the grid to need to be refreshed (e.g. with new child data) - have that in one form method only. So whichever sequence of pages is clicked on it won't matter, so long as whatever action that causes the grid re-popn. has been enacted.

When the grid cursor is built, end with a LOCATE so you're not at EOF (which rings a bell, actually: You sure the data aren't there in the grid but the grid's scrolled down past them? That baffled me for a while once)

Terry

>This is a question that has been asked and answered before, but I don't seem to have any of the circumstances noted before.
>
>I have a pageframe, with grids on multiple pages. Each grid is rebuild from scratch (that is, the grid is created, the columns are all added programatically, and the recordsource assigned) when its page is activated.
>
>It appears that if the pages are visited in a particular order, some of the grids may not display any records. Now, I hasten to say, I can verify that the alias for the grid exists, has records, and is unfiltered; that the recordsource for the grid is correct; and that all the columns exist (their headers appear correctly, just no records) and have the correct controlsource.
>
>This doesn't appear to be just a matter of avoiding grid reconstruction, since I consciously build the grid and its columns as I need to.
>
>Any suggestions as to what might be causing this?
>
>TIA,
- Whoever said that women are the weaker sex never tried to wrest the bedclothes off one in the middle of the night
- Worry is the interest you pay, in advance, for a loan that you may never need to take out.
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform