Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
How can I tell if an entire record is empty
Message
De
15/09/1998 13:34:50
 
Information générale
Forum:
Visual FoxPro
Catégorie:
Autre
Divers
Thread ID:
00136755
Message ID:
00136842
Vues:
42
>>I need to check for blank record. That means, all the flds must
>>be empty. I do not want to check each fld. Is there a way to check
>>if the entire record is empty.
>
>Robert,
>
>
>LOCAL llEmpty, lnCnt
>llEmtpy = .T.
>FOR lnCnt = 1 TO FCount()
>   IF NOT EMPTY( Field(lnCnt) )
>      llEmpty = .F.
>      EXIT
>   ENDIF
>ENDFOR
>RETURN llEmpty
>
-----
Hey Jim,
Are we saying, the FOR LOOP only checks the current record and if the
current record is not empty, I get a return .f.... ?
Robert Keith
Independent Developer
San Antonio, Texas
E-mail address:
rebelrob1@yahoo.com
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform