Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Listbox bound do Sorted view inserts at end of list
Message
De
03/02/1999 18:50:26
 
 
À
03/02/1999 18:39:29
Information générale
Forum:
Visual FoxPro
Catégorie:
Codage, syntaxe et commandes
Divers
Thread ID:
00183686
Message ID:
00183689
Vues:
21
>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
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform