Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Combo Question
Message
Information générale
Forum:
Visual FoxPro
Catégorie:
Codage, syntaxe et commandes
Titre:
Combo Question
Divers
Thread ID:
00676853
Message ID:
00676853
Vues:
72
I want to build a combo class for users. The combo should have
2 columns, Initials and Full Name.

I have the following:
SELECT Inits, FullName;
  FROM Users;
  ORDER BY 2;
  INTO ARRAY aTemp
	
IF _TALLY > 0
  =ACOPY(aTemp, This.aDataItems)
ENDIF

.RowSource = "This.aDataItems"
.RowSourceType 	= 5
This works fine, to a point. When I pop open the list, I see the
2 columns, Initials and Full Name. When I select an item, I see the
users initials. What I'd really like is to see the full name, but store
the initials.

Any ideas?

Thanks
Everything makes sense in someone's mind
public class SystemCrasher :ICrashable
In addition, an integer field is not for irrational people
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform