Lets see if I understand.....
I am a male, current age is 30. You are interested in the factor when (if?) I am 55 for October - 10th month.
The form is named frmData and there is a control named "txtCurAge" for the age and a text box for the month nmber named "txtMthNum"
So the SQL would look like
Code:
SELECT tblMortality.[X-Age], tblMortality.[Male-Mo], tblMortality.[55]
FROM tblMortality
WHERE (((tblMortality.[X-Age])=[Forms]![frmData].[txtCurAge]) AND ((tblMortality.[Male-Mo])=[Forms]![frmData].[txtMthNum]));
To select a different age, say 65, you would have to change the select clause. This means editing the SQL string.
From
Code:
SELECT tblMortality.[X-Age], tblMortality.[Male-Mo], tblMortality.[55]
to
Code:
SELECT tblMortality.[X-Age], tblMortality.[Male-Mo], tblMortality.[65]
Otherwise you have to include ALL of the fields 25-100.
If you are creating the query in code to use for calculation, it is easy to change the field in the select clause.
If the query is a saved query for a form or report, it can be done, but requires code.
If a SQL string in a form or report, still possible, but again code to mofigy the SQL.
HOW the query is changed depends on what you are using the query for.