On Wednesday 21 September 2011 10.22:34 wahono sri wrote:

> My purpose is like create master-detail recordset. After master is
> scrolled, I want to put calculated value from detail to master field
> (with fkinternalcalc option). But my problem, if detail has 10
> records, the value from detail recordset is only from first row, as my
> code above.
> 
I think by a simple scroll without post the fkInternalCalc field value needs 
not to be refreshed because the data does not change? If the data in master 
dataset has been edited oninternalcalcfields of the master dataset will be 
called by updaterecord().

If the detail dataset has constant data or can be updated locally and is small 
enough to be stored locally it is also possible to use a fkLookup field in the 
master dataset with a local index for the key field in the detail dataset. 
Please do not set <TField>.LookupCache. MSEgui lookup fields use the fast 
direct data access.

Is the master dataset displayed in a grid? If not use a tfieldparamlink can be 
used in order to synchronize master and detail datasets.

Martin
_______________________________________________
MSEide-MSEgui-talk mailing list
[email protected]
https://lists.berlios.de/mailman/listinfo/mseide-msegui-talk

Reply via email to