HI Jim.
>I am having trouble getting my head around the whole CursorAdapter Class and its (intended) usage.
To add to Simon's comments, one thing to realize is that a CursorAdapter isn't a different cursor, nor is it the cursor itself, nor does it "contain" a cursor. Rather, CursorAdapter is well-named: the "Adapter" part means that it sits between a data source (eg. SQL Server) and a VFP cursor, and provides a means of moving information both ways (retrieval and updates). As Simon points out, the difference between a VFP cursor created with a SQL SELECT statement, a view, or CREATE CURSOR and one that was created by a CursorAdapter is simply that doing things to the latter will fire events in the CursorAdapter object.
So, think of CursorAdapter as an extension of the existing cursor model, one that allows us to hook into things that VFP has always done behind the scenes.
Doug
Précédent
Suivant
Répondre
Voir le fil de ce thread
Voir le fil de ce thread à partir de ce message seulement
Voir tous les messages de ce thread
Voir tous les messages de ce thread à partir de ce message seulement