Sorry You Must change this line:
IF UPPER(cCaption) $ cText
with
IF UPPER(cCaption) $ UPPER(cText)
Against Stupidity the Gods themselves Contend in Vain - Johann Christoph Friedrich von Schiller
The only thing normal about database guys is their tables.