I'm having a hard time with this concept.
Would something like this be the idea behind a class...?
Say I want to be able to specify a market, and for that market, I'd like to get back all the residential customers who have purchased $1000 or more in the last year...Specifically, I want the customer's name, dollar amount of purchases in the last year, and address.

So, I would "set" the market. Then the class functions would do the processing to find the qualifying customers, and I would "get" the name, total sales and address...

Is that more or less the idea? Then any other program that needs customer name, sales and address based on market number would create an instance of an object based on this class?

Thanks,
Jeff