Hi
If you try any of the following you get an error in VFP 7 and VFP8.
lcTxt="&&"
lcTxt="!!!!&&"
lcTxt="!!!#&&"
Store "&&" To lcTxt
However, the following works okay.
lcTxt="&"+Chr(Asc("&"))
You maybe wondering why I am interested in this problem. The problem arose when analyzing some data with unique ID values that occassionally ended in the double "&" sign. I received and error any time I tried to store the ID value to a memory variable or use the Set Key To (lcID) when ID or lcID ended in the double "&" sign.
Thanks,
Simon
Simon White
dCipher Computing