Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Occasionally disappearing grids
Message
Information générale
Forum:
Visual FoxPro
Catégorie:
Codage, syntaxe et commandes
Versions des environnements
Visual FoxPro:
VFP 9 SP2
Divers
Thread ID:
01479327
Message ID:
01479497
Vues:
50
Step in the right direction I guess.

The cursor that is the recordsource for the grid - is it indexed or related to another table somehow? Like if you're on PageFrame A, go to a particular record - then go to PageFrameB ...does PageFrameB's grid dependent upon the value you've selected in PageFrameA?
Trying to debug issues that are with activate() events is always a hassle. One thing you might try to do is to start putting a bunch of wait-window's or messageboxes in there to try to pinpoint then the recno() changes.



>Yes, in fact, that is exactly true ... exactly, I am at EOF() !!!! Good for you!
>
>And I have spent all evening trying to track down how that occurs -- I have found a bloody GOTO TOP which does not seem to be followed by any statement that changes the record position.
>
>That is the answer, indeed, now I just have to find what does it.
>
>And, I have found a sequence of steps which I can rely on to cause the error -- it depends on which page in the pageframe I decide to show first.
>
>Odd, indeed.
>
>>>>Neither has any effect.
>>>>
>>>>Good idea, though.
>>>
>>>Just to be sure your assumptions are correct,
>>>log the state of the RecordSource cursor by scanning or counting and resetting to recno before log.
>>
>>Perhaps he's at EOF() when the grid is trying to display??
>>
>>>
>>>>>>Let me phrase the question differently.
>>>>>>
>>>>>>I have a grid. The RecordSource has 16 records and is unfiltered. The record pointer is on the first record. There are a number of columns. The controlsources are all correct, and refer to fields in the grid.
>>>>>>
>>>>>>But no records show. When this happens, I am not able to do anything to make any records show either (and would welcome suggestions)
>>>>>>
>>>>>>And this happens sporadically and inconsistently.
>>>>>>
>>>>>>Guesses?
>>>>>>
>>>>>Have you tried
>>>>>
>>>>>thisform.Draw()
>>>>>
>>>>>or
>>>>>
>>>>>thisform.cls()
ICQ 10556 (ya), 254117
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform