Step 1: Create a form named sick leave in a folder. From ‘Toolbox’ select ‘Textbox’, ‘Buttons’ and create a form. The form looks like the figure below.
Step 2: In the trigger of the ‘FORMNAME’ button write a rule ‘messagebox (Me.Name)’.
Step 3: Create another form in the folder and place an ‘External Form’ in it. Add the sick leave form to the external form by selecting the navigate URL and adding the forms needed in the external form as shown in the below figures 3, 4 and 5.
Step 4: In the preview of the form click on the button ’FORMNAME’, the name of the form will be displayed in the message box. Click on the arrow shown on the right of the form and while clicking on the ‘repeat’ option the same form repeats and clicking on the ‘FORMNAME’ button and we can get the name of the particular form also.