Subject RE: [IBO] field not found
Author Riho-Rene Ellermaa
And I wasted half a day trying to find the missing code. Hint: never use obvious english words for fieldnames.
BTW, I seem to miss some messages. I didn't receive Geoffs reply at all!


Riho-Rene Ellermaa
senior programmer
Hansabank

-----Original Message-----
From: Pirtea Calin [mailto:pcalin@...]
Sent: Monday, February 11, 2002 4:19 PM
To: IBObjects@yahoogroups.com
Subject: Re: [IBO] field not found


"Geoff Worboys (TeamIBO)" <geoff@...> wrote in message
news:11947912593.20020211231931@......
> > EIB_Statement error: "Fieldname: code not found"
>
> Is there a lookupcombo involved somewhere?
>
> There is still a bug in IBO4.2.Fr (arrived in IBO4.2.Fp)...
>
> In IB_Dataset.IMP...
>

That is IBA_Dataset.IMP

> procedure TIB_Dataset.KeyToChildAction( AAction: TIB_KeyChildAction;
> Info: longint );
> <...>
> ADataset.Prepare;
> //TIB_Row( Info ).Values[ tmpVals ] :=
> // TIB_BDataset( ADataset ).Lookup(
> // tmpKeyVals,
> // TIB_Row( Info ).Values[ tmpKeyFlds ], tmpFlds );
> TIB_Row( Info ).Values[ tmpVals ] :=
> TIB_BDataset( ADataset ).Lookup(
> tmpKeyFlds,
> TIB_Row( Info ).Values[ tmpKeyVals ], tmpFlds );
> <...>
> end;
>
>
> It is just that the tmpKeyFlds and tmpKeyVals were reversed in the
> call the Lookup.
>
> hth
>
> --
> Geoff Worboys - TeamIBO
> Telesis Computing





[Non-text portions of this message have been removed]