I have created a simple class named customer that handles data for a customer. Retrieves,updates customer's data etc.
Well when i m dealing with more than one customer i think i should deal with a collection of customers.
p.e. i should be able to do this
dim objCustomers as new colCustomers
dim objCustomer as clsCustomer
objCustomers.Open lngID
for each objCustomer In objCustomers
debug.Print objCustomer.Name
next
Any help would be appreciated
Well when i m dealing with more than one customer i think i should deal with a collection of customers.
p.e. i should be able to do this
dim objCustomers as new colCustomers
dim objCustomer as clsCustomer
objCustomers.Open lngID
for each objCustomer In objCustomers
debug.Print objCustomer.Name
next
Any help would be appreciated