General information
Category:
Databases,Tables, Views, Indexing and SQL syntax
>>>>If I use a de subclass with table buffered views where do I create the indexes?
>>>>
>>>>In the past I've just been using form.load and opening the view, creating the indexes, set buffermode, and then requery.
>>>
>>>I'd do that in de.init - by that time, its objects are created and cursors opened. You may do that in each cursor's .init, if you want to keep it a bit neater.
>>>
>>>Haven't tried it in a subclassed DE, though - this is from old form-embedded DE. But it should behave the same, being the same base class.
>>
>>Thank you!!!
>
>Wait, wait... try it first and tell me whether it works for a subclassed DE or not - I said I haven't tried it, so if you do, let us know whether it works. Please? :)
I cannot make it work. For whatever reason... it appears that the tables are not actually opened during the cursor init or the de init. I placed messageboxes in all of the inits and watched the data session window. The tables were not opened till _after_ the de init.
Previous
Reply
View the map of this thread
View the map of this thread starting from this message only
View all messages of this thread
View all messages of this thread starting from this message only