hi,
i have two command buttons for active calendar, i want to put the calendar beside the clicked command button in the form named entry. how can i know which button is clicked?
i try the following code to identify if the command button command138 is clicked, does this way is right?
Dim c As CommandButton
If c = Formsentry("Command138") Then....
the second code Formsentry("Command138") is always not right, i try Form("sentry").Command138...how to correct it?
or do you have some good idea to put the calendar beside a clicked command button?
thank you
i have two command buttons for active calendar, i want to put the calendar beside the clicked command button in the form named entry. how can i know which button is clicked?
i try the following code to identify if the command button command138 is clicked, does this way is right?
Dim c As CommandButton
If c = Formsentry("Command138") Then....
the second code Formsentry("Command138") is always not right, i try Form("sentry").Command138...how to correct it?
or do you have some good idea to put the calendar beside a clicked command button?
thank you