Hi,
I'm having problem in ZStoredProc. I set the properties Connection and StoredProcName, but when I save the unit, close and open again, it loses this property and displays the following error:
"Error reading ZStoredProc1.StoredProcName: Database connection component is not assigned. Ignore the arror and continue? NOTE: Ignoring the error may cause components to be deleted or property values to be lost."
I'm using version 7.0.3-stable and XE.
Please, help me
Thanks.
[solved] Error in ZStoredProc
- EgonHugeist
- Zeos Project Manager
- Posts: 1936
- Joined: 31.03.2011, 22:38
userbr,
this issue is allready resolved. R2106 (SVN) on testing-7.1 / trunk and 7.0-patches.
this issue is allready resolved. R2106 (SVN) on testing-7.1 / trunk and 7.0-patches.
Code: Select all
Diff of /branches/testing-7.1/src/component/ZStoredProcedure.pas [r2105] .. [r2106]
Switch to side-by-side view
--- a/branches/testing-7.1/src/component/ZStoredProcedure.pas
+++ b/branches/testing-7.1/src/component/ZStoredProcedure.pas
@@ -327,12 +327,12 @@
Catalog, Schema, ObjectName: string;
ColumnType: Integer;
begin
- CheckConnected;
if AnsiCompareText(Trim(SQL.Text), Trim(Value)) <> 0 then
begin
SQL.Text := Value;
if ParamCheck and (Value <> '') and not (csLoading in ComponentState) and Assigned(Connection) then
begin
+ CheckConnected;
Connection.ShowSQLHourGlass;
try
SplitQualifiedObjectName(Value, Catalog, Schema, ObjectName);
Best regards, Michael
You want to help? http://zeoslib.sourceforge.net/viewtopic.php?f=4&t=3671
You found a (possible) bug? Use the new bugtracker dude! http://sourceforge.net/p/zeoslib/tickets/
You want to help? http://zeoslib.sourceforge.net/viewtopic.php?f=4&t=3671
You found a (possible) bug? Use the new bugtracker dude! http://sourceforge.net/p/zeoslib/tickets/