Hi Frank
Parent table: CPos (Purchase orders)
Fields: tPos_num (key), nPos_Amt_Bas, cPos_Adj_Amt

Related table: CPoi (PO increases)
Fields: tPos_num (key), dPoi_Dat, nPoi_Amt

With CPos as the active table:

cPos_Adj_Amt = nPos_Amt_Bas + sum(CPoi::nPoi_Amt)

Assuming that all purchase increase are entered as requested, i.e,
chronologically and not retractively, how do I retrieve the amount of the
last one entered?
Use
Last ( CPoi::nPoi_Amt )



Ciao
G. Pupita
Certified FileMaker 9 Developer
FileMaker Business Alliance

Reply via email to