Query seems to hang
Posted: Wed 20 Sep 2006 18:37
Hello,
we are evaluating the corelab components for SQL Server.
We are especially interested in the fetchall = false possibility to fill the readonly grids quickly.
I've installed the trial components in bds 2006 and created a small demo application that allows me to enter a sql statement and fill up the SQL property of the query and opens the query.
Everything works fine, but the third time I try to open a query, the application seems to hang.
I don't know if this is a known issue or a limitation of the trial?
When I enter a sql statement, I do the following:
Query.Close;
Query.SQL.Clear;
Query.SQL.Add(Edit1.Text);
Query.Open;
Is there maybe something else I should do to reset the query after I've used it?
Except from this problem, I must say I'm pretty impressed by this feature.
Thx,
Bernaert Dominique.
we are evaluating the corelab components for SQL Server.
We are especially interested in the fetchall = false possibility to fill the readonly grids quickly.
I've installed the trial components in bds 2006 and created a small demo application that allows me to enter a sql statement and fill up the SQL property of the query and opens the query.
Everything works fine, but the third time I try to open a query, the application seems to hang.
I don't know if this is a known issue or a limitation of the trial?
When I enter a sql statement, I do the following:
Query.Close;
Query.SQL.Clear;
Query.SQL.Add(Edit1.Text);
Query.Open;
Is there maybe something else I should do to reset the query after I've used it?
Except from this problem, I must say I'm pretty impressed by this feature.
Thx,
Bernaert Dominique.