Juhas
Programmer
- Dec 14, 2005
- 1
I have a problem. On the form there are: ADOQuery, ClientDataSet and DataSource. DataSource is linked to ClientDataSet through the "DataSet" property. Now I have to get rid off this ClientDataSet. So I change "DataSet" property in the way that it is now linked with ADOQuery. Now, there are 2 computers. On one of them everything works great, on the other one I get the timeout error on ADOQuery.Active:=true;
Both machines are connected to the same server and to the same dataBase.
I have something in SQL property of ADOQuery, and my query is parametrized one:
1 ADOQuery.Parameters.ParamByName('Param1').Value:=sth;
2 ADOQuery.Active:=true;
When I comment the 1 line, everything works, but query of course. What can I do to make it work on both machines??
Both machines are connected to the same server and to the same dataBase.
I have something in SQL property of ADOQuery, and my query is parametrized one:
1 ADOQuery.Parameters.ParamByName('Param1').Value:=sth;
2 ADOQuery.Active:=true;
When I comment the 1 line, everything works, but query of course. What can I do to make it work on both machines??