마이다스 처음하는데 에러가 나서 질문올립니다.
고수님들의 조언 부탁드립니다.
클라이언트에서는 TClientDataSet썼구요... TSocketConnect 썼습니다...
서버에서는 아무것도 사용하지 않았습니다.
클라이언트에서 버튼 하나를 만들고 버튼에대한 Active를 다음과 같이 설정했습니다.
procedure TForm1.Button6Click(Sender: TObject);
begin
{ Send the query string to the server and try to open the client dataset }
ClientDataSet1.Close;
ClientDataSet1.CommandText := 'select IDocNumber from process';
ClientDataSet1.Open;
end;
그런데 다음과 같은 에러가 나오드라구요
'CommandText changes are not allowed'.
도대체 무엇을 어떻게 잡아야 할지 모르겠습니다.
아울러쿼리에서 Insert(edit콤보박스에서 데이터 작성)
delete, update하는 방법도좀 알고 싶은데요
참고로 다음의 주소를 보고 프로그램 작성하였습니다.
http://www.delphi.or.kr/dwp/midasloadbalance/loadbalancing.htm
죄송하지만 소스같은거 있으면 멜로좀 보내주세요
> procedure TForm1.Button6Click(Sender: TObject);
> begin
> { Send the query string to the server and try to open the client dataset }
> ClientDataSet1.Close;
> ClientDataSet1.CommandText := 'select IDocNumber from process';
> ClientDataSet1.Open;
> end;
>
> 그런데 다음과 같은 에러가 나오드라구요
>
> 'CommandText changes are not allowed'.
> 도대체 무엇을 어떻게 잡아야 할지 모르겠습니다.
>
> 아울러쿼리에서 Insert(edit콤보박스에서 데이터 작성)
> delete, update하는 방법도좀 알고 싶은데요
>