多层数据库应用的问题
我完成了服务器端的编写,通过
然后在编写客户端的时候,在运行以下代码
Clientdataset1.close;
Clientdataset1.commandtext:='select * from customer';
Clientdataset1.open;
时出错,显示"commandtext changes are not allowed"
然后我把sql语句直接写在服务器端的query组件里面,通过
Clientdataset1.open;
就可以显示数据,请问这是什么错误?