Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
How can I tell if an entire record is empty
Message
From
15/09/1998 11:11:26
 
 
To
15/09/1998 11:05:07
General information
Forum:
Visual FoxPro
Category:
Other
Miscellaneous
Thread ID:
00136755
Message ID:
00136759
Views:
35
>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
Edward Pikman
Independent Consultant
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform