Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Grid shows empty rows
Message
De
06/12/2012 20:35:23
 
 
À
06/12/2012 15:10:44
Information générale
Forum:
Visual FoxPro
Catégorie:
Codage, syntaxe et commandes
Versions des environnements
Visual FoxPro:
VFP 8 SP1
Divers
Thread ID:
01558962
Message ID:
01559028
Vues:
54
>>>Then what about:
>>>
>>>SELECT myCursor
>>>ZAP
>>>...
>>>
>>>IF _vfp.StartMode == 0
>>>   SELECT * FROM myCursor WHERE EMPTY(Field1) AND EMPTY(Field2) INTO CURSOR crsEmptyTest
>>>   ASSERT RECCOUNT("crsEmptyTest") == 0
>>>ENDIF
>>>
>>Because the ASSERT condition is never true. The problem is NOT that the cursor is empty. The code always populates the cursor with the correct data. It's just that the data is not being shown in the grid. Simply pressing a down-arrow within the grid makes all the data visible.
>>
>>Trust me on this. It is NOT a problem with the data. It's a problem with the way the grid is (not) displaying the data that is actually there.
>
>
>Grid is one of mine most "favorite" controls, next one is ComboBox :-)
>How about to call form refresh, not the grid one?

No need. As mentioned in my original post, I know two work-arounds and have implemented one of them. I was curious as to why this behavior occurs, not how to work around it.

I really do appreciate your help but I think anything more is a non-productive use of your time. Thanks again.

........Rich
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform