text TO m.cmd NOSHOW TEXTMERGE PRETEXT 7 update master set desc1= ?thisform.text2.value,addr1= ?thisform.text3.value,addr2= ?thisform.text15.value, phone_o= ?thisform.text4.value,phone_r= ?thisform.text5.value,phone_m= ?thisform.text6.value, fax= ?thisform.text7.value,gst_no= ?thisform.text8.value,ntn_no= ?thisform.text10.value, nic_no= ?thisform.text11.value,weight= ?thisform.text14.value,qty= ?thisform.text18.value, pr_rate= ?thisform.text12.value,rate=?thisform.text13.value,main=?thisform.text17.value, qty_m=?thisform.text21.value,qty_p=?thisform.text24.value,jute_m=?thisform.text22.value, jute_p=?thisform.text25.value,brqty=?thisform.text23.value where code=?thisform.text1.value WHERE code=?Thisform.text1.Value ENDTEXT if sqlexec(m.con,cmd)<0 aerror(laerror) messagebox(laerror[1,2]) lok=.f. * exit endifIt says: