On 20.4.2006 23:17 Marcelo wrote:
// It Does not accept command below. The compiler give the error
// [Pascal Error] aigi9020.pas(134): E2129 Cannot assign to a read-only
property
// W_BatchExecution.SqlStatements := W_Script.Results;
//
// Then I have created loop to initialize W_BatchExecution.SqlStatament
for W_Ind := 0 to W_Script.Results.count - 1 do
begin
Response.Write((W_Ind).ToString);
W_BatchExecution.SqlStatements.Add(W_Script.Results[W_Ind]);
Response.Write(W_BatchExecution.SqlStatements[W_Ind]);
end;
I don't see here any "W_BatchExecution.SqlStatements := W_Script.Results;"
Are you sure, this is the same code?
BTW using the Add method is completely OK.
--
Jiri Cincura
http://www.cincura.net/
-------------------------------------------------------
Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642
_______________________________________________
Firebird-net-provider mailing list
Firebird-net-provider@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/firebird-net-provider