Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Combo-Box Mystery?
Message
De
14/05/1997 10:47:52
Vinod Parwani
United Creations L.L.C.
Ad-Dulayl, Jordanie
 
Information générale
Forum:
Visual FoxPro
Catégorie:
Codage, syntaxe et commandes
Divers
Thread ID:
00032051
Message ID:
00032167
Vues:
35
>>>Here is a strange one. I have a combo-box on a very busy screen. The combo-box is populated from an array which is created via an SQL statement that reads a table of 300-400 records. Some here is where the strangeness begins: The user entered a value of "Oil & Grease" into the valid value table that is used to create the array for the combo-box. The combo-box drop-down list displays Oil & Grease. After selecting Oil & Grease the "&" is converted into an "_" (underscore) for the display value. Any input is appreciated! tia Steve.
>>
>>trying to do a macro substitution?
>>
>>used to work on a system where the & sign designated field on screens, reports. couldn't use it in captions, etc. haven't seen that in vfp, but brings back some odd memories.
>>
>>anyhow, maybe it is just having trouble displaying that in combo. have you tried other symbols?
>
>Sure enough, it looks like a VFP 3.0b bug. I just created a little form with a combo-box that is populated from a hard-coded array setup in the Init. And the style of combo-box is drop-down list. Try it.
>
>Create a form with a combo-box. Change the style to drop-down list. Change the source to laTest array and source type 5-Array. Create a little array laTest[4] that includes text strings with the "&" symbol. In the Init code. You will clearly see this bug. I am still trying to get to the MS KB for additional reference, but I am suffering the bandwidth blues... Any other comments are welcome.

This same problem I faced way back in 2.6, i searched a lot, finally became so frustrated that changed my "&" to "N", if you find any answer let me know, as I am writing "CNF" instead of "C&F"
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform