Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
OOP Design
Message
General information
Forum:
Visual FoxPro
Category:
Object Oriented Programming
Title:
Miscellaneous
Thread ID:
00198504
Message ID:
00199028
Views:
23
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
Map
View

Click here to load this message in the networking platform