Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Cursor Adapter - CursorRefresh
Message
De
21/07/2005 02:06:42
 
 
À
20/07/2005 18:04:57
Steve Buttress
Steve Buttress Software Consulting
Bloomington, Californie, États-Unis
Information générale
Forum:
Visual FoxPro
Catégorie:
Base de données, Tables, Vues, Index et syntaxe SQL
Versions des environnements
Visual FoxPro:
VFP 9
OS:
Windows XP SP2
Network:
Windows 2003 Server
Database:
Visual FoxPro
Divers
Thread ID:
01034076
Message ID:
01034555
Vues:
23
Hi Steve

I have written a couple of articles on CA's using Mark's Builder at www.foxite.com.

May help you out to read them.

Bernard

>Thanks Mark,
>
>This is my first time using a CA. I didn't realize that CursorFill had to be run for any new configuration. I like your Assign methods, just assumed that was sufficient to reset the SQL command and all I had to do was requery it. Works fine now.
>
>
>>When your Select command changes, you must use CursorFill to "re-execute" the query. CursorRefresh will always execute the select command used to create the cursor. The cSelectCmdFilter should be populated before the CA instanciates and the CursorFill fires. If you parameterize the filter and the only piece that changes is the value of the parameter, then the CursorRefresh works exactly like a Requery does on a view. The same principle for views applies to the CA in that if you open a local/remote view then change the SQL command used to create that view, just issuing a Requery on the view does not execute that new SQL. It still uses the SQL used to create that instance of the view. The CA is just a wrapper for all this functionality.
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform