593

FoxPro

Eu am codul:1. USE base SCAN FOR LIKE('ch*', surname) thisform.list1.AddItem(surname) ENDSCANacuma eu vreau ca in loc de 'ch*' sa pun o variabila USE base LOCAL LCfin as string LCfin=thisform.text1.Text SCAN FOR LIKE(LCfin surname) thisform.list1.AddItem(surname) ENDSCANeroare nu da, dar interogarea nu merge din ce cauza?care ma ajuta sa fac normal. adica mai precis mie imi trebuie sa stiu cum se poate de facut conversie de la string la char la o variabelaSi de ce nu sunt indentice, caci in a doua varianta eu trimit tot char:SELECT *; FROM base WHERE LIKE('c*',surname) lc = 'c*'SELECT *; FROM base WHERE LIKE(lc,surname)
0