G
Guest
On my main form, I'm trying to bind a field called "term_mos" to 2 option
buttons: 1) in months and 2) in weeks so that I can calculate an ending date.
I used the option group and boxed in the 2 option buttons, but it allows me
to select both. My current code is:
if option=1 Then
Enddate=DateAdd("m",[term_mos],[StartDate])
else
Enddate=DateAdd("ww",[term_mos],[startDate])
End If
Would this go under before Update event procedure?
Help!
thank you.
buttons: 1) in months and 2) in weeks so that I can calculate an ending date.
I used the option group and boxed in the 2 option buttons, but it allows me
to select both. My current code is:
if option=1 Then
Enddate=DateAdd("m",[term_mos],[StartDate])
else
Enddate=DateAdd("ww",[term_mos],[startDate])
End If
Would this go under before Update event procedure?
Help!
thank you.