>Public NQUAN,NNOW,LWAIT,CRAMOUNT,CTHIS,paytest,NTICK >paytest=0 >LWAIT=.T. >CTHIS=This.Value >NTICK=INVOICE.NTICKET >SET CONSOLE OFF >Sum PAYRECEIVED.namount For PAYRECEIVED.NTICKET = NTICK To CRPAYDo you have a relation set at this time that might be causing the payreceived records to appear doubled?