Hi,
I have a problem that I am trying to solve. I have a Oracle Package call that returns REF CURSOR.
We are utilizing DeclareVariable and SetComplexVariable to assign ref cursor to TOracleQuery and that is fine.
Now I need to assign that OracleQuery to TOracleDataSet and don't know how to do it.
I read about TOracleDataSet.ExternalCursor and tought that that is the solution but if I just assign OracleDataSet.ExternalCursor := OracleQuery that holds function result of type REF CURSOR; and try to say OracleDataSet.Active := true; I am getting Invalid SQL statement
What is solution here?
Thanks
Irfan
I have a problem that I am trying to solve. I have a Oracle Package call that returns REF CURSOR.
We are utilizing DeclareVariable and SetComplexVariable to assign ref cursor to TOracleQuery and that is fine.
Now I need to assign that OracleQuery to TOracleDataSet and don't know how to do it.
I read about TOracleDataSet.ExternalCursor and tought that that is the solution but if I just assign OracleDataSet.ExternalCursor := OracleQuery that holds function result of type REF CURSOR; and try to say OracleDataSet.Active := true; I am getting Invalid SQL statement
What is solution here?
Thanks
Irfan