Hello, Have you done the CALCFIELDS before? Customer.CALCFIELDS(Balance); Customer.SETFILTER(Customer.Balance, '<>%1',Customer.BalanceField); IF Customer.FINDSET(TRUE, FALSE) THEN BEGIN REPEAT // Do some export stuff here Customer.CALCFIELDS(Balance); Customer.BalanceField := Customer.Balance; Customer.MODIFY; UNTIL Customer.NEXT = 0; END; best regards,
↧