Signature with entity out doesnt work....
Author: dammie@seznam.cz (dammie)
Hi,
I have signature with two params:
string pc_data : in
entity model_entity : out
I am calling procedure e.g.
create proc up_test ( @pc_text varchar(20) )
as
select * from db_entity where text = @pc_text
And I get $procerror -150..
Is this bug or I ve made mistake anywhere?
( Tryied in Uniface 9... )
David
2 Comments
Local Administrator
Try and set your "out" to "inout"
this way, uniface should take care to claim memory for the parameter
(AFAIK, if it is out, the called process would take care of claiming the memory, but this conflicts with the "uniface" memory)
Author: ulrich-merkel (ulrichmerkel@web.de)
Local Administrator
Hi,
ensure that you entity is defined in the model. It does not work for dummy entities.
HTH
Thomas
Author: Thomas.Young (thomas.young@young-consulting.de)