>Hi. I have a DBF with one record (simple enough). How would I refer to the field names if I were looping through them (looking for any with a value).
To paraphrase Terry. No macro sub required.
For I = 1 to FCOUNT()
lcField = ALIAS() + "." + FIELD(m.I)
If not EMPTY(eval(m.lcField))
....
Endif
EndFor