Information générale
Catégorie:
Codage, syntaxe et commandes
Hi Ben.
>> When I leave the controlsource empty I have an empty value
but I want the user to have the posibility to search an name
I use for adding an new record a command button
with a click event "append blank" <<
I think we talked about this in another thread. This is your problem:
control source user.name
rowsource user.name
This is your problem. You can't bind the control to the same data source that you are using for its RowSource. If you want to use the combo for navigation. Make it an unbound control. When the user makes a new selection in the combo, it will move the record pointer in its RowSource. When this happens, you can refresh the form's bound controls to display the new information. If I were you, I would use an Add button to add a new person and set the combo's value in the code that does the saving of a person record.
Marcia
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