Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Combox problem - Autocomplete won't let me add
Message
De
11/01/2000 03:55:11
 
 
À
10/01/2000 15:17:29
Carol Adler
U.S. Army Kwajalein
Apo, Iles Marshall
Information générale
Forum:
Visual FoxPro
Catégorie:
Gestionnaire d'écran & Écrans
Divers
Thread ID:
00315066
Message ID:
00316008
Vues:
25
Hi Carol.

>> The user needs to be able to see a list of the companies already in the table, but be able to add a record with a new company name if not already in the table. <<

Long time no see! How's it going? I know nothing about the class you are using, but I have an auto-complete combo class I can e-mail to you if you are interested.

There is also one from FPA September 1998 that Tamar wrote that works great. Then, to add new items, all you do is put in a check like this in the combo's valid:
IF This.ListIndex = 0 AND !EMPTY( This.DisplayValue )
   *** The user typed something in the combo that isn't in the list
   *** Add it to the underlying table
   *** Requery the combo and
   *** Set the combo's value to the newly added item
ENDIF
Marcia
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform