Subject Re: ABS, External function
Author Michael Vilhelmsen <Michael.Vilhelmsen@M
Dynamic SQL Error
SQL error code = -804
Function unknown
ABS

I can't see the function in IB Expert or IBCOnsole

Michael

--- In ib-support@yahoogroups.com, "Martijn Tonies" <m.tonies@u...>
wrote:
> I meant the error message when trying to use the function.
>
>
> With regards,
>
> Martijn Tonies
> InterBase Workbench - the developer tool for InterBase & Firebird
> Firebird Workbench - the developer tool for Firebird
> Upscene Productions
> http://www.upscene.com
>
> "This is an object-oriented system.
> If we change anything, the users object."
>
>
> > Yes my script comp. uses the same transaction.
> > Just checked.
> >
> > And I do not get any error messages.
> > It just commits.
> > And the Function is not there.
> >
> > This is what stands un my scipts (Strings):
> >
> > DECLARE EXTERNAL FUNCTION abs
> > DOUBLE PRECISION
> > RETURNS DOUBLE PRECISION BY VALUE
> > ENTRY_POINT 'IB_UDF_abs' MODULE_NAME 'ib_udf';
> >
> >
> > Thank you so far
> >
> > Michael
> >
> >
> >
> >
> > --- In ib-support@yahoogroups.com, "Martijn Tonies"
<m.tonies@u...>
> > wrote:
> > > >
> > > > try
> > > > //Udfører opdatering del 1
> > > > if (not (DMMain.trAlmindelig.Active)) then
> > > > DMMain.trAlmindelig.StartTransAction;
> > > > DMOpdat533.Opdat5.ExecuteScript;
> > > > DMMain.trAlmindelig.Commit;
> > > > except
> > > > ShowMessage('Kunne ikke oprettet ABS funktion ');
> > > > DMMain.trAlmindelig.RollBack;
> > > > end;
> > >
> > > And the script component uses the same transaction?
> > >
> > > 'Cause it should be available then.
> > >
> > > What is the error message that you're getting?