>Select * from rami3 ; > where inList( upper(allt(sec_txt)), "ÞØÇÚ ÇäÙãÉ ÇáãÚáæãÇÊ "); > into cursor curdummy nofilter >If _tally=0 > Messagebox('No records found!' >Else > Select 0 > Use rami4 > append from dbf('curdummy') >Endif>
use rami4
tryuse rami4 in 0>>
>>>>Select * from rami3 ; >>>> where inList( upper(allt(sec_txt)), "ÞØÇÚ ÇäÙãÉ ÇáãÚáæãÇÊ "); >>>> into cursor curdummy nofilter >>>>If _tally=0 >>>> Messagebox('No records found!' >>>>Else >>>> Use rami4 >>>> append from dbf('curdummy') >>>>Endif>>>>
>>>>>append from dbf('curdummy') >>>>>>>>>>
>>>>>>>Select * from rami3 ; >>>>>>> where inList( upper(allt(sec_txt)), "ÞØÇÚ ÇäÙãÉ ÇáãÚáæãÇÊ ") ; >>>>>>> append blank; >>>>>>> into table rami4 nofilter >>>>>>>>>>>>>>thanks
>>>>>>Select * from rami3 ; >>>>>> where inList( upper(allt(sec_txt)), "ÞØÇÚ ÇäÙãÉ ÇáãÚáæãÇÊ "); >>>>>> into cursor curdummy nofilter >>>>>>Use rami4 >>>>>>append from dbf('curdummy')>>>>>>I suggest you spend 30 USD and buy Tamar Granor's book "Taming Visual FoxPro's SQL", you can read about it and download it at http://www.hentzenwerke.com/catalog/tamingvfpsql.htm