Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
DropDown Combo data entry and Fields RowSourceType
Message
De
29/10/1999 10:33:10
 
 
À
29/10/1999 08:26:08
Rex Mahel
Realm Software, Llc
Ohio, États-Unis
Information générale
Forum:
Visual FoxPro
Catégorie:
The Mere Mortals Framework
Divers
Thread ID:
00283298
Message ID:
00283800
Vues:
13
Rex,

Is the IncrementalSearch property set to .F.? That's how it has to be set for my usggestion to work.


>
>Thanks for your response. Unfortunately, I cannot get any new info into the ComboBox. It appears to be using the trying to be searching the existing list based on what I am typing and when it cannot find a match, returning the value of the first record.
>
>This is a custom ComboBox, so I probably need to create a base class and keep adding code until the Combo breaks.
>
>Thanks
>
>Rex
>
>>Hi Rex,
>>
>>1. Set buffering to Opt. Table buffering for the RowSource table.
>>2. In the LostFocus of the combobox, put:
>>INSERT INTO rowsourcetable (field) VALUES (This.DisplayValue)
>>3. Make sure you have a TABLEUPDATE() somewhere to save the changes. If you want immediate saves, put it after the INSERT.
>>
>>This should do it.
>>
>>
>>>
>>>I am trying to use a DropDown ComboBox to not only select an existing value, but also to enter new values. I am using a RowSourceType of 6 - Fields in the ComboBox and am unable to type new info into the control.
>>>
>>>What am I doing wrong?
>>>Do I have to use another RowSourceType to be able to enter new data?
>>>
>>>TIA
>>>
>>>Rex
------------------------------------------------
John Koziol, ex-MVP, ex-MS, ex-FoxTeam. Just call me "X"
"When the going gets weird, the weird turn pro" - Hunter Thompson (Gonzo) RIP 2/19/05
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform