Subject Re: [IBO] TIB_DSQL???
Author Jason Wharton
What is the callstack of that exception?

Jason Wharton
CPS - Mesa AZ
http://www.ibobjects.com


----- Original Message -----
From: <simpor81@...>
To: <IBObjects@yahoogroups.com>
Sent: Thursday, March 29, 2001 3:59 AM
Subject: Re: [IBO] TIB_DSQL???


> the code that I'm using is this.
>
>
> String myString = "Simon";
> TIB_DSQL *Dsql = new TIB_DSQL(Application);
> Dsql->IB_Connection = Connection;
> Dsql->IB_Transaction = Transaction;
> Transaction1->StartTransaction ();
> Dsql->BeginBusy(true);
> Dsgl->SQL->Text = "execute procedure myproc(:Ret)";
> file://Where ret is a varchar(20)
> Dsql->Prepare();
> Dsql->ParamByName("Ret" )->AsString = myString;
> Dsql->Execute();
> Transaction1->Commit();
> Dsql->EndBusy();
> delete Transaction;
> delete Dsql;
>
>
> And a warning message is shown "Simon is not an valid integer value"
> and then is the program killed.
>
> Any ideas?????
>
> thanks
> Simon