> * Parent degistiginde normal olarak tableupdate() olacak veya revert >>
Procedure parentchanged * Parent degistiginde normal olarak tableupdate() olacak veya revert * Boylece select-sql dogru sonuc verecek Tableupdate(2,.T.,'FatParent') Tableupdate(2,.T.,'FatChild') External Array arrToplam Select Sum(Fiyat*Miktar), Sum(Miktar) ; from FatChild ; where ParId = FatParent.PkId ; into Array arrToplam Thisform.txttoplam.Value = Iif(_Tally=0,0,arrToplam[1,1]) Thisform.txtmiktar.Value = Iif(_Tally=0,0,arrToplam[1,2]) EndprocDoesn't method name and code together say "when parent changes you would etiher do tableupdate or revert and thus select-sql would give correct result".