Information générale
Catégorie:
Codage, syntaxe et commandes
>What is the control source for the visual objects on your form?
>Larry Rix
My problem with the combobox was that the up and down arrow keys would not let you move through the items. That was because the combobox had what apeared to be a two column display: code and description. But it was really a single column display where someone had put the code and description together into one text field. So the controlsource did not match anything in the combo box. That is why the arrow keys would not work.
My problem with the checkboxes was that the change of value (using click or spacebar) would not show the change of value until you moved off the checkbox. I read an old post on this and it is a known intermittant problem. I put the following suggested code in the checkbox1.valid and it solved the problem.
with this
.value = EVALUATE(.ControlSource)
NODEFAULT
endwith
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