Delphi 2007 Enterprise
Zeos DBO 6.6.6 Stable
Firbird 2.1
Have ZQuery with SQL property set to:
Code: Select all
SELECT
ORDERID,
ORDERNAME
FROM ORDERS_LIST ( :ORDCMPSTATUS );
Code: Select all
ORDERID Asc
In Delphi code:
Code: Select all
with datamod.ZQRY_ORDERS_LIST do
if Locate('ORDERID', VarArrayOf([OrderID]), []) then
showmessage('found!');
Is it because the source is a stored procedure and not a table?