Marc,
I forgot to mention a few things.
Notice that we use [b:3kf5obs0]total encapsulation[/b:3kf5obs0] in this class. You don't have to open either the customer database or the dial database. Nor do you have to remember which indexes to set. And there are no work areas or aliases to worry about. Finally, you don't have to remember to save the phone numbers to a different database. All you have to do is:
oKlants := TKlants():New()
Then everything is all setup and ready to go.
If you need to make any modifications to the behavior of this class, there is only one place that needs to be modified.
This provides very easy to use and update code. And very stable code.
Regards,
James
↧