Subject | Re: [IBO] Topic: KeyDescLinks with CalculatedFields bug? |
---|---|
Author | TeamIBO |
Post date | 2002-01-29T00:18:45Z |
> Ibo 4.2FpMarco, I have not tried to interpret everything you posted, simply the
fact that your are using 4.2.Fp and have trouble with CalculateFields.
Did you catch my earlier post about a bug in the KeyToChildAction
method (IBA_Dataset.IMP file)...
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;
The commented out code is what was there, below it is the replacement
that gets the locate parameters in the correct order.
--
Geoff Worboys - TeamIBO
Telesis Computing