Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Using CursorAdapter instead of Views
Message
General information
Forum:
Visual FoxPro
Category:
The Mere Mortals Framework
Miscellaneous
Thread ID:
00951912
Message ID:
00952284
Views:
9
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
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform