Marc,
OK, I know OOP seems overwhelming. But how is this for simple?
Here is the entire customer class that adds the addPayment() method. It inherits from my TRecord class.
[code=fw:jesinzk5][/code:jesinzk5]
Then it only takes two lines of code to apply a payment.
[code=fw:jesinzk5][/code:jesinzk5]
Notice how easy it is to read and understand. What you don't see is all the code it inherits. You don't have to deal with workareas, opening databases, alias referencing, buffering data, record locking and record locking failures, etc.
James
↧