Page 1 of 1

Invalid Request BLR

Posted: 27.04.2010, 07:25
by akli_agha
Thanks,

ExecuteDirect ? Never used it !

Can you give me more details about this statement.

Where the script must be ? In the Properties proporty ??


Thanks for your reponse

Posted: 01.05.2010, 21:02
by mdaems
ExecuteDirect is a method of a TZConnection component. It's a shortcut to avoid working with TZQuery components when you just want to send a query to the server that doesn't need a resultset.

When you have a valid database connection you can do
myconnection.ExecuteDirect('Insert into logs(time) values ("2001-12-01 23:35:59")');

Is this example clear enough?

Mark