Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
3-tier programming, Codebook, and business classes
Message
General information
Forum:
Visual FoxPro
Category:
Classes - VCX
Miscellaneous
Thread ID:
00083772
Message ID:
00084594
Views:
38
> Hmm..interesting..are your GetFieldData/WriteFieldDate methods "generic" or do you have to customize them with each new project you do? It looks like they could just be drop in methods. Very interesting. I''m thinking you could also use something like this in those situations when you have a VFP front-end and want to take advantage of the easier VFP to VFP to x situation. Use views/tables where they're easier on the front-end, but expose those methods (GetField/WriteField) so that other "not-yet-thought-of" programs can access the data if they need to.

Paul,

Actually the GetFieldData and WriteFieldData methods are coded in the busBase class and are generic. Other methods are coded in the specific subclasses for each business entity, of course Get and Write can be overridden if necessary. The design only reuires that the interface to those methods remain constant.

GetFieldData 1 argument the field name to get
WriteFieldData 2 arguments, 1 the field name and 2 the value
Previous
Reply
Map
View

Click here to load this message in the networking platform