Note: This is an example to explain the principle of what I am trying to achieve, not a specific query.
Prompt for a year of birth
Code: Select all
Add if %INDI.BIRT[1].DATE:YEAR% was later than
Upon running, the value of 1900 is entered for the parameter 'BirthYear'
This will return all people with a birth year after 1900
What I would now like to do is reference the parameter 'BirthYear' and calculate another year based on it.
Code: Select all
Exclude if %INDI.DEAT[1].DATE:YEAR% was earlier than BirthYear+50
Many thanks