Hello everyone!
I have a VFP table with certain values. I need to replace, using a certain criteria, those values with 0.
Example, if the field "type" is REPA, the "thickness" should be 0, but if the "comment" field start or contains the word "half" should not be modified... (e.g "half glass", "half concrete", etc.)
My problem is I do not know how to look for the "half" in the comment
I tried the following but it is not working for all records, only for those with comment="half"
REPLACE ALL thickness WITH 0 FOR INLIST(type,'REPA','WINDOW','DOOR') while (comment<>"Half")
Thank you all for the usual support!
I have a VFP table with certain values. I need to replace, using a certain criteria, those values with 0.
Example, if the field "type" is REPA, the "thickness" should be 0, but if the "comment" field start or contains the word "half" should not be modified... (e.g "half glass", "half concrete", etc.)
My problem is I do not know how to look for the "half" in the comment
I tried the following but it is not working for all records, only for those with comment="half"
REPLACE ALL thickness WITH 0 FOR INLIST(type,'REPA','WINDOW','DOOR') while (comment<>"Half")
Thank you all for the usual support!