>>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.
The next version of MM will be using XML as the data transport mechanism. The architecture will utilize the windows DNA model, much like COM codebook, but with much more flexibility!
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