Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
How to get the data out of an Array APRINTERS()
Message
De
21/11/1997 10:54:07
 
 
À
21/11/1997 10:46:15
Information générale
Forum:
Visual FoxPro
Catégorie:
Codage, syntaxe et commandes
Divers
Thread ID:
00061601
Message ID:
00061605
Vues:
36
>Hello all
>
>I am creating a form to print a couple of labels, they will be printed on two different printers. I want the user to select a check box as to weather or not a label is printed and if it is, to select a printer from a ComboBox with it datasource set to an array. I use APRINTERS() to create the Array. Problem... some of the elements in the array start with (\) (\\G6-200\HP4V) which in turn disables them in the drop down list.
>
>What can I do to prevent them from being disabled in the Drop down List?
>
>Thanks
>Jon Wilshusen
>Omaha NE

I think before displaying in the combo, you could modify array elements a little bit, e.g. adding space(1) on left. When selection is made, you can LTRIM() the space out.
Edward Pikman
Independent Consultant
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform