Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Replaceing data form combo
Message
De
18/10/2005 11:23:55
 
 
Information générale
Forum:
Visual FoxPro
Catégorie:
Base de données, Tables, Vues, Index et syntaxe SQL
Versions des environnements
Visual FoxPro:
VFP 9
OS:
Windows XP SP2
Database:
Visual FoxPro
Divers
Thread ID:
01059808
Message ID:
01059927
Vues:
15
i am also entering new data with these combos(more than one).

What do you mean? You mean you are adding new items to the combo's List? If this is the case, all you need is code like this in the combo's valid(). Assuming that the RowSource type is 2-Alias or 6-Fields (for example):
IF NOT EMPTY( This.DisplayValue ) AND This.ListIndex = 0
  APPEND BLANK IN MyAlias
  REPLACE DescriptionField WITH This.DisplayValue IN MyAlias
  This.Requery()
ENDIF
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform