G
Guest
I have a form with the following controls:
[EffectiveDate] - Agreement effective date
[CurrentTermExp] - Expiration date of current term
[cboRenewal] - Conditions under which agreement renews; one of the choices
is "Autorenews-1year" (bound to [RenewalID]=1)
I also have a query [qryAgmtsThatAutoExpire] with a calculated field [Expr1]
that essentially turns out the current term expiration date based on
[EffectiveDate], and on the condition that [RenewalID]=1.
I would like to write an event in my form so that when the user chooses
"Autorenews" ([RenewalID]=1) from the combo box, and provided that
[EffectiveDate] is not null, the control [CurrentTermExp] does a DLookup and
instantly displays the value calculated in [Expr1] in my query. If
[RenewalID] does NOT =1 I'd like to still be able to enter [CurrentTermExp]
manually.
[EffectiveDate] - Agreement effective date
[CurrentTermExp] - Expiration date of current term
[cboRenewal] - Conditions under which agreement renews; one of the choices
is "Autorenews-1year" (bound to [RenewalID]=1)
I also have a query [qryAgmtsThatAutoExpire] with a calculated field [Expr1]
that essentially turns out the current term expiration date based on
[EffectiveDate], and on the condition that [RenewalID]=1.
I would like to write an event in my form so that when the user chooses
"Autorenews" ([RenewalID]=1) from the combo box, and provided that
[EffectiveDate] is not null, the control [CurrentTermExp] does a DLookup and
instantly displays the value calculated in [Expr1] in my query. If
[RenewalID] does NOT =1 I'd like to still be able to enter [CurrentTermExp]
manually.