Hi Mohammed,
You can't simply replace cc by (thisform.text1.value) in your old code and expect things to work.
REPLACE IN contact ;
FOR cc==LOOKUP(bill.cc,cc,bill.cc) AND NOT EOF('bill')
I bet one of those cc is contact.cc, not bill.cc.
Another question is: REPLACE What with what? This is not a complete REPLACE statement, it's missing at least one field of the contact table you want to update and with what you want to update it.
Post the whole old REPLACE statement. What fields has contact? What fields has bill?
Bye, Olaf.