You could make that part of the query dynamic, like this:

 (sql (:select '* :from 'kupci :where (:and (:raw (if TEST (sql (:like
'ime (concat-string "%" (parameter "ime") "%"))) t))
                                                         (:raw (if
TEST2 (sql (:like 'prezime (concat-string "%" (parameter "prezime")
"%"))) t)))))

_______________________________________________
postmodern-devel mailing list
postmodern-devel@common-lisp.net
http://common-lisp.net/cgi-bin/mailman/listinfo/postmodern-devel

Reply via email to