Information générale
Catégorie:
Gestionnaire d'écran & Écrans
>Sawadee,
>
> I have a combobox and I want to set the .Value so the user will see a default value inside the box BEFORE they use it. I've set .Value in the form designer with a string and an expression. I've tried setting the .Value in Init of Thisform, This, etc. The box is not bound to a table.field because I need to add items to it that are not in the table. Like, Select All or SelectMulti, which are names I do not want placed in my userid field of the user table. We want these options "inside" the dropdown. Why won't this box display .Value when it is set. It does display the first value in a cursor if I use SQL to load it but if I try to add items by setting recordsourcetype to 0, it blows away the list and only shows the AddItems. If I use an array, the initial value is blank, like RecordSourceType 0. This is a problem when someone sez to me, "I want a selectable option when the form appears." and my reply is "That's easy enough." :)-- It seems silly to have to create a table just so my
>combobox will display an Initial value. Is there a way to set RecordSourceType 0 and have the box display the first item in the list "without" selecting anything?
>
>Eric K.
In my example tempvar is the data item you are collecting in the combobox
Précédent
Répondre
Voir le fil de ce thread
Voir le fil de ce thread à partir de ce message seulement
Voir tous les messages de ce thread
Voir tous les messages de ce thread à partir de ce message seulement