M
MPayne
Guest
Help, I am trying to do an After Update with a check box and a date. The date is entered then a box is checked for 30, 60, or 90 days. The other date field needs to update with a calculated date. I believe I have the idea of it but I can't make it work.
1st -- I make a Option Group I include 30 Days, 60 Days and 90 Days as check boxes.
2nd -- I add two text boxes from the table list of Date 1 and Due Date.
3rd -- In preferences in the due date field I go to After Update and do an Event Procedure.
4th -- Once in Event procedure (Code) this is where I get lost.
Do I type:
If Check49.Value = 1 Then
DueDate.Value = Date1.Value + 30
ElseIf Check51.Value = 2 Then
DueDate.Value = Date1.Value + 60
ElseIf Check54.Value = 3 Then
Due Date.Value = Date1.Value + 90
EndElse
Please tell me if this is correct or what I am doing wrong.
Thanks in advance,
MPayne

1st -- I make a Option Group I include 30 Days, 60 Days and 90 Days as check boxes.
2nd -- I add two text boxes from the table list of Date 1 and Due Date.
3rd -- In preferences in the due date field I go to After Update and do an Event Procedure.
4th -- Once in Event procedure (Code) this is where I get lost.
Do I type:
If Check49.Value = 1 Then
DueDate.Value = Date1.Value + 30
ElseIf Check51.Value = 2 Then
DueDate.Value = Date1.Value + 60
ElseIf Check54.Value = 3 Then
Due Date.Value = Date1.Value + 90
EndElse
Please tell me if this is correct or what I am doing wrong.
Thanks in advance,
MPayne