Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Replaceing data form combo
Message
From
18/10/2005 11:23:55
 
 
General information
Forum:
Visual FoxPro
Category:
Databases,Tables, Views, Indexing and SQL syntax
Environment versions
Visual FoxPro:
VFP 9
OS:
Windows XP SP2
Database:
Visual FoxPro
Miscellaneous
Thread ID:
01059808
Message ID:
01059927
Views:
14
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
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform