Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Listbox bound do Sorted view inserts at end of list
Message
From
03/02/1999 18:50:26
 
 
To
03/02/1999 18:39:29
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Miscellaneous
Thread ID:
00183686
Message ID:
00183689
Views:
20
>I have a listbox bound to a sorted view in a private Data session. I insert records into the view via a property sheet and they appear in my listbox at the end of the list. How can I get them to appear in the proper position in my listbox without updating the table and requerying all of the data? I cannot put a value in the order property of my view because it only accepts index tags and I can't figure out how to assign an index tag for a view.
>
>TIA,
>
>Dave

You can index a view, the same way as you index a table:
Select MyView
Index On MyField Tag MyTag
If you will get an error doing this, it will mean that you should temporarily reset Buffering on this view using CURSORSETPROP()
Edward Pikman
Independent Consultant
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform