Subject | Re: [IBO] field not found |
---|---|
Author | Pirtea Calin |
Post date | 2002-02-11T14:19:11Z |
"Geoff Worboys (TeamIBO)" <geoff@...> wrote in message
news:11947912593.20020211231931@......
Best regards,
Aplication Developer
Pirtea Calin Iancu
S.C. SoftScape S.R.L.
pcalin@...
news:11947912593.20020211231931@......
> > EIB_Statement error: "Fieldname: code not found"That is IBA_Dataset.IMP
>
> Is there a lookupcombo involved somewhere?
>
> There is still a bug in IBO4.2.Fr (arrived in IBO4.2.Fp)...
>
> In IB_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
Best regards,
Aplication Developer
Pirtea Calin Iancu
S.C. SoftScape S.R.L.
pcalin@...