>Thank. But is it exist in access2000 ?
I don't think so. I don't see anything in the help file about control arrays. Either way, the info on the MSKB article does not allow you to have one piece of code for all controls. You can also declare an array of controls, but that doesn't do what you want either.
You'll probably have to include a call in each of the command button's click event to a custom sub or function that does the processing for all of them, passing a parameter as to which button was pressed. Not as clean as a control array, but it could get you started.
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