G
Guest
This is what i have:
If Me!frm_GSCRecurrent.Form!RecurrentTraining + 390 < Date Then
Me.Text24.ControlSource = "='Expired'"
Else: Me.Text24.ControlSource = "='Current'"
End If
This works well. The subform named "frm_GSCRecurrent" is a continuous
subform on a main form (the Text24 textbox is located on the main form). It
keeps track of recurrent training dates (field "RecurrentTraining"; that is
the only field on the subform, besides the IDrecord field linked to the main
form).
What i want is for the function to consider ONLY the last record on the
subform. So far, it takes under consideration the record where the cursor is.
How can i make it consider the last record (RecurrentTraining) of the subform?
Thanks guys for your help.
If Me!frm_GSCRecurrent.Form!RecurrentTraining + 390 < Date Then
Me.Text24.ControlSource = "='Expired'"
Else: Me.Text24.ControlSource = "='Current'"
End If
This works well. The subform named "frm_GSCRecurrent" is a continuous
subform on a main form (the Text24 textbox is located on the main form). It
keeps track of recurrent training dates (field "RecurrentTraining"; that is
the only field on the subform, besides the IDrecord field linked to the main
form).
What i want is for the function to consider ONLY the last record on the
subform. So far, it takes under consideration the record where the cursor is.
How can i make it consider the last record (RecurrentTraining) of the subform?
Thanks guys for your help.