Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Can I use two CAs on the same form?
Message
 
 
To
All
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Title:
Can I use two CAs on the same form?
Environment versions
Visual FoxPro:
VFP 9
OS:
Windows XP SP2
Database:
Visual FoxPro
Miscellaneous
Thread ID:
01106677
Message ID:
01106677
Views:
57
Hi everybody,

I have CA class for an Address table that I created using Mark McCasland builder. Now I need to use this class (two instances of it, I assume) on two different pages of the pageframe. What would be my best solution:

1) Use the same object (class instance) for both pages and move it to the form instead of the pages. Requery CA every time I switch between pages?

2) Create a separate complete copy of the class (and BO class) and use an instance of a separate CA and BO class for the second page? This would mean code duplication... :(

More ideas? I'm using MereMortals framework...
If it's not broken, fix it until it is.


My Blog
Next
Reply
Map
View

Click here to load this message in the networking platform