>I have some fields in a table. I want to check this bunch of fields to see if they are all EMPTY(). What's the best way to do it? Maybe I need to use EMPTY() instead? But I was comparing one after another and it was not very efficient. Thanks in advance.
>
>IF INLIST(EMPTY(something here?),ADDLINE1,ADDLINE2,CITYADDR, ;
>STATEADDR,ZIP,HPHONE,WPHONE,WEXT,CPHONE,PAGER,FPHONE)
>...(condition if .T.)
>...
>ELSE
>...(condition if .F.)
>ENDIF
If they are all character, concatenate them together and check for empty.
EMPTY(addline1+addline2+cityaddr+stateaddr+...)