Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
How to get the data out of an Array APRINTERS()
Message
From
21/11/1997 10:54:07
 
 
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Miscellaneous
Thread ID:
00061601
Message ID:
00061605
Views:
31
>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
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform