Simon,
Once you have it in a memvar VFP is not going to treat it like a comment, I'm not sure what sorts of code you are having to change to handle it.
create cursor x1 ( c1 c(10) )
for i = 1 to 10
insert into x1 values ( transform(i) + iif( i % 2 = 0, "&" + "&", "" ) )
endfor
lcX = "&" + "&"
select * ;
from x1 ;
where lcX $ c1
>I will have to find a work around so I can analyze the data that contains several of these strings in the unique ID field. It has sure played havoc with trying to use the Set Key To command in child table data when the parent ID ends in "&&".