Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Business Object
Message
 
To
26/05/2001 17:29:02
General information
Forum:
Visual FoxPro
Category:
Classes - VCX
Title:
Miscellaneous
Thread ID:
00511773
Message ID:
00511860
Views:
18
>Alex,
>
>>Hmmmmm.... Mere Mortals does it through cursors.
>
>Not for COM operation in a physically-distributed n-Tier design.

Sure, but I'd venture a guess that most VFP "n-Tier" apps are logical n-Tier, not physical. It's not clear from the original question which he was asking about. In Mere Mortals, it doesn't matter. The middle tier business object deals with native VFP cursors. It handles the translation to ADO or XML for you, if necessary.

If this is just a logical n-Tier, I'd create a third object that managed the other two, then you can wrap both objects into a transaction. One of the major limitations of VFP when doing something like this is that you can't requery inside of a transaction. It makes writing "black box" code that can be wrapped inside of a transaction nearly impossible. I've run into this more than once while trying to create an object to facilitate collaboration between objects. Too bad.
-Paul

RCS Solutions, Inc.
Blog
Twitter
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform