Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Adding Items to a Listbox
Message
De
25/04/2001 10:05:00
Cetin Basoz
Engineerica Inc.
Izmir, Turquie
 
 
À
25/04/2001 09:45:01
Information générale
Forum:
Visual FoxPro
Catégorie:
Gestionnaire d'écran & Écrans
Divers
Thread ID:
00499533
Message ID:
00499545
Vues:
19
This message has been marked as the solution to the initial question of the thread.
>I have a listbox that I use to filter the contents of a grid. The listbox is populated using
>RowSourceType=3-SQL Statement
>RowSource = SELECT salesrepid FROM sales!salesreps INTO CURSOR tmpSalesId ORDER BY salesrepid
>
>I would like to add an "ALL" option to the listbox. How can I do this? Is there a better way of doing this than whats
>shown above?
>
>Thanks in advance for your help,
>Russell Clendenon
SELECT ' [All]' as 'salesrepid' ;
 FROM sales!salesreps ;
union ;
SELECT salesrepid ;
 FROM sales!salesreps ;
 INTO CURSOR tmpSalesId ;
 ORDER BY 1
Cetin
Çetin Basöz

The way to Go
Flutter - For mobile, web and desktop.
World's most advanced open source relational database.
.Net for foxheads - Blog (main)
FoxSharp - Blog (mirror)
Welcome to FoxyClasses

LinqPad - C#,VB,F#,SQL,eSQL ... scratchpad
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform