Define data fetcher
1.Right click any cell, choose "Define Data Fetcher":

2:Click "New" to build a query from Personnel Form.

3.Choose the default settings, and click "OK":

4.Input the name of data fetcher, and click "Data Source":

5.Click PersonnelForm_Main, and Click "OK":

6.Click "Fill methods"

7.Click the first "Double click here to build expression...":

8. Double click "<PersonnelForm_Main>-personnelForm_Main.EmpID", and click "OK":

9.Similarly, set the other field, and click "OK":

10.Click "OK":

11.Click "OK':

12. Save and close the template.