myvar="0.600/1182" ? LIKE('0.600/*',myvar) .T.Like works fine. Using a field rather than variable ought to make no difference. If the issue is that the replace is not happening - then is it possible that the field is aliased- e.g.
replace mycursor.qtt with 1If so, change it to
replace qtt with 1 in mycursorto eliminate an unexpected VFP behavior in which Replace fails if record pointer is at eof().