Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Using CursorAdapter instead of Views
Message
Information générale
Forum:
Visual FoxPro
Catégorie:
The Mere Mortals Framework
Divers
Thread ID:
00951912
Message ID:
00952284
Vues:
10
I am not sure how this really applies to the CA. The CA is just a different means of creating your cursors which is not much different than the way a view is opened in the DE. Once the CA creates your cursor, you can still index it as long as it is not table buffered. You can temporarily set buffering to record, create the index, the reset it back to table buffering.
lnOldBuffering = CursorGetProp('buffering', 'MyCursor')
CursorSetProp('buffering', 3, 'MyCursor)
index on...
CursorSetProp('buffering', lnOldBuffering, 'MyCursor')
>I have just started using CursorAdapters instead of Views and I am having difficulty setting up an incremental search in a grid column that was working with a local view.
>I tried to use the PostInitHook in the DE by just changing the code from "This.CreateIndex('v_Staff', 'Index on UPPER(cName) TAG cName') to 'ca_Staff' instead of 'v_Staff'. I have a feeling this method only works for views. At present I am only concerned with "Native" data. What is the best way to set up incremental search using CursorAdaptor instead of local views? The column is populated with data and just doesn't respond when I start inputing my search string.
>
>Thanks in Advance!
Mark McCasland
Midlothian, TX USA
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform