General information
Category:
Object Oriented Programming
Hi Ellen...
As I see it, you have some process that changes data to any number of fields in any number of different data sources. Generically, it is all data. The question being, how do you get the update process to process everything....generically....right??
If this is the problem, the way I would handle it is like this...
Whenever you make a change to something, have a collection class of some sort get populated. Then, when you need to go through the update process, pass the collection. Have the update process iterate through the collection. What information is contained in the collection depends on your situation. If you are using ADO, the collection could be an array of ADO Recordsets. If you use other data access strategies, the task gets a bit more difficult, but it can be done. This is why ADO is nice, because it is a set of true objects that can be passed around.
Good luck,
Previous
Next
Reply
View the map of this thread
View the map of this thread starting from this message only
View all messages of this thread
View all messages of this thread starting from this message only