Re: Cursor Adapter in DE Question

Author: MB Software Solutions, LLC

Posted: 2011-10-12 at 10:24:42

On 10/12/2011 10:16 AM, Rafael Copquin wrote:

> Running the risk of overkill in this matter, I use CA's assiduously in

> all my apps, but always in code, not the wizard. Even in client/server

> situations, CA's are great, simply because you can insert, delete or

> modify your CA cursor as any regular VFP cursor and then, with a simple

> tableupdate you get the underlying tables updated. With SPT you have to

> code with the slight modifications demanded by T-SQL, which in some

> cases is different from VFP syntax. A bit of extra work and care.

>

> I developed a series of classes that build CA's in code by simply

> passing parameters to the class and coding is much faster that way.

>

> In any case, you can use a combination of SPT and CA's in the same

> routine and both will work just as well. I guess it is a matter of

> choice or oportunity.

I'll take a moment to again point out that Paul McNett's

MakeUpdatable.prg in the ProFox downloads section is a great utility for

making SPT cursors updatable easily.

--

Mike Babcock, MCP

MB Software Solutions, LLC

President, Chief Software Architect

http://mbsoftwaresolutions.com

http://fabmate.com

http://twitter.com/mbabcock16

_______________________________________________

Post Messages to: ProFox@leafe.com

Subscription Maintenance: http://leafe.com/mailman/listinfo/profox

OT-free version of this list: http://leafe.com/mailman/listinfo/profoxtech

Searchable Archive: http://leafe.com/archives/search/profox

This message: http://leafe.com/archives/byMID/profox/4E95A32A.60901@mbsoftwaresolutions.com

** All postings, unless explicitly stated otherwise, are the opinions of the author, and do not constitute legal or medical advice. This statement is added to the messages for those lawyers who are too stupid to see the obvious.

©2011 MB Software Solutions, LLC