Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Weird behavior in List Box
Message
 
À
17/06/2008 14:23:05
Information générale
Forum:
Visual FoxPro
Catégorie:
Autre
Versions des environnements
Visual FoxPro:
VFP 9 SP2
OS:
Windows XP SP2
Network:
Windows 2003 Server
Database:
Visual FoxPro
Divers
Thread ID:
01324823
Message ID:
01324882
Vues:
12
Yep, BoundColumn was set to 1. Yes, the EMPLOYEE # field is 4 characters. I don't know how they've had this form this way for so many years and no one ever complained about it not working properly until today. I removed the ControlSource="EMPLOYEE" and also removed the "EMPLOYEE." from the ROWSOURCE property. The form and the listbox now appear to be working properly.

Cecil

>>The ControlSource says EMPLOYEE, so I am assuming that it is the EMPLOYEE number field and not just a named ControlSource.
>>

>That's why you're getting the results you mention. Unless you set BoundColumn to something other than 1, the ControlSource gets assigned the value of the first column in the list. You have the last name there. I'll guess that the Employee field is 4 characters?

>Tamar
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform