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 11:13:52
 
 
À
15/09/1998 11:11:26
Information générale
Forum:
Visual FoxPro
Catégorie:
Autre
Divers
Thread ID:
00136755
Message ID:
00136763
Vues:
20
>>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.
>
>You should use your own UDF:
>
>Function IsRecordEmpty
>Local nLoop
>for nLoop=1 to fcount()
> if not empty(field(nLoop))
>  return 1
> endif
>endfor
>return 0
>EndFunc
>
-------
thanks Ed - I just tought vfp50 would have there own function
that would check the entire record... thanks again... :)
Robert Keith
Independent Developer
San Antonio, Texas
E-mail address:
rebelrob1@yahoo.com
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform