General information
Category:
Coding, syntax & commands
Title:
How do I index a free table being viewed through a listbox?
I have a form containing a listbox displaying one field from a free table. The table is listed in the Data Environment of the form(along with a few others required for the report). The table in Data Environment displays the correct field under index, but after trying to index several different places, I can't seem to index the listbox. I tried the init code of the table in Data Environment (cursor), and I tried indexing in the command button which calls the aforementioned form. If I try to:
use mytable
index on myfield to something
I get an error 'file is in use' (by Data Environment I assume).
Any help would be greatly appreciated.
Thanks
Next
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