Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Grid shows empty rows
Message
De
06/12/2012 15:17:50
Al Doman (En ligne)
M3 Enterprises Inc.
North Vancouver, Colombie Britannique, Canada
 
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:
01559004
Vues:
54
J'aime (1)
>>>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?

Comboboxes are the trophy wives of controls - they look good, but they're high maintenance.
Regards. Al

"Violence is the last refuge of the incompetent." -- Isaac Asimov
"Never let your sense of morals prevent you from doing what is right." -- Isaac Asimov

Neither a despot, nor a doormat, be

Every app wants to be a database app when it grows up
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform