Having Problems with CONTAINS parameter in FOR EACH Commnad

Status
Not open for further replies.
U

user1620378

Guest
I have a table JobHead, and I create a Word-Index at PartDescription field in that table, as you see in the program below. I'm looking for the jobs with the word NUCLEAR inside of the PartDescription field. I can't get anything, what am I doing wrong?

DO:
OUTPUT TO VALUE("c:\Nuclear.txt").

FOR EACH JobHead WHERE
JobHead.PartDescription CONTAINS "NUCLEAR" EXCLUSIVE-LOCK.

DISPLAY JobHead.JobNum.
END.

OUTPUT CLOSE.
END.

Continue reading...
 
Status
Not open for further replies.
Top