I am trying to do the following: insert a user-selected date into a date field on a form by clicking on a calendar.
I have done: created a command button next to the date field. This command button opens a form with a calendar (Calendar Control 10.0). I have put a command button underneath the calendar with the text "Insert selected date into date field".
So far so good... (please tell me if I'm on the right track). Here I get stuck. Obviously when the user clicks on this command button, the idea is for the selected date to jump into the date field, and the calendar must close.
The command button wizard gives me a few options:
- Record navigation
- Record operations
- Form operations
- Report operations
- Application
- Miscellaneous
What step do I choose here? By a process of elimination I choose Miscellaneous -> Run Macro. (Am I still on the right track??) Now the wizard wants to know which macro I want to run. I suppose I must write the macro... Please help!!
I have never done this before and don't know if I'm chasing my own tail. If there is a better way of doing this thing, please teach me. If I am on the right track, please help me over this hurdle.
Thanks a lot!
I have done: created a command button next to the date field. This command button opens a form with a calendar (Calendar Control 10.0). I have put a command button underneath the calendar with the text "Insert selected date into date field".
So far so good... (please tell me if I'm on the right track). Here I get stuck. Obviously when the user clicks on this command button, the idea is for the selected date to jump into the date field, and the calendar must close.
The command button wizard gives me a few options:
- Record navigation
- Record operations
- Form operations
- Report operations
- Application
- Miscellaneous
What step do I choose here? By a process of elimination I choose Miscellaneous -> Run Macro. (Am I still on the right track??) Now the wizard wants to know which macro I want to run. I suppose I must write the macro... Please help!!
I have never done this before and don't know if I'm chasing my own tail. If there is a better way of doing this thing, please teach me. If I am on the right track, please help me over this hurdle.
Thanks a lot!