I was just doing it for debug readability. Maybe something in the macro expansion is going on that I don't know about since it is working with just one item.
lashwarj,
Try it without adding the ';' and 'CRLF'. Just do it like this:
IF ThisForm.Donor_Check.Value = 1
IF !EMPTY(criteria)
criteria = criteria + " AND "
ENDIF
criteria = criteria + ;
" lcdonor $(upper(historian.donor)) "
ENDIF
IF ThisForm.photographer_Check.Value = 1
IF !EMPTY(criteria)
criteria = criteria + " AND "
ENDIF
criteria = criteria + ;
" lcphotographer $(UPPER(historian.photo_take)) "
ENDIF
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.