Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Local view or cursoradapter?
Message
From
25/02/2005 15:50:12
 
 
To
25/02/2005 12:20:44
Alan Harris-Reid
Baseline Data Services
Devon, United Kingdom
General information
Forum:
Visual FoxPro
Category:
Databases,Tables, Views, Indexing and SQL syntax
Miscellaneous
Thread ID:
00990608
Message ID:
00990705
Views:
18
Alan,

>...Are there any advantages of using a CA over a local view of native data? Will the fact that the datasources are free-tables make any difference?

I'm about to dive into a similar project and will know more about free-table "issues" very soon. Meanwhile, one of the big advantages of CA is that you can set up your own top-level subclass of CursorAdapter class, put enhanced functionality there (such as indexing cursors based on an array property that you add (or collection) to hold indexing info, or other specific enhancements related to making it work better with free tables.)

Then, you can subclass from there for each CA you need and inherit all the good stuff from above.

To me, the subclassability of CAs (and XMLAdapters) is one of the greatest advantages.

You also may find that if you eventually need to convert to SQL Server or another ODBC backend, it may be a bit easier to just tweak the top-level CA instead of having to create remote views or SQL Passthrough commands for every table.
David Stevenson, MCSD, 2-time VFP MVP / St. Petersburg, FL USA / david@topstrategies.com
Previous
Reply
Map
View

Click here to load this message in the networking platform