我在用SQL查寻(视图)语句时,系统报错,说是非法的字段。可字段是正确的呀
sql.add('select * from table1 where field='"+edit1.text+"'')
报错
用
sql.add('select * from table1')
则显示我在SQL Explorer 用 select * from table1 where field='123’
则能显示这是咋会事啊?
sql.add('select * from table1 where field='"+edit1.text+"'')
报错
用
sql.add('select * from table1')
则显示我在SQL Explorer 用 select * from table1 where field='123’
则能显示这是咋会事啊?
报错啊!
sql.parambyname('fieldparam'):=thevalue;
prepare;
open;