这样的错误如何解决呢: adodataset1.commandtext:='select * from questions where ques_id in( select ques_id from test_points where test_point_id=:test_point_id'); adodataset1.parameters.parambyname('test_point_id').values=1111; 居然这种SQL语句就用不了parameters属性。只能把它拼成一个完整的SQL语句。如'select * from questions where ques_id in( select ques_id from test_points where test_point_id='+IntToStr(test_point_id)+')';
2.D6的Web service 的DOM解析问题,必须先升级
adodataset1.commandtext:='select * from questions where ques_id in(
select ques_id from test_points where test_point_id=:test_point_id');
adodataset1.parameters.parambyname('test_point_id').values=1111;
居然这种SQL语句就用不了parameters属性。只能把它拼成一个完整的SQL语句。如'select * from questions where ques_id in(
select ques_id from test_points where test_point_id='+IntToStr(test_point_id)+')';