W
Webb
Hello;
I am working on a Contact database to track psychiatric appointmets. I am
new to this, so I am just learning and I need some help. I have a subform
which has the following fields
DOC#
Appointment Date
Appointment Time
Return to Clinic
I would like to have an Option Group which would calculate the following
options from the Appointment Date field and return a date automatically in
the Return to Clinic field.
Options would be 1 wk
2 wks
3 wks
1 mo
2 mo
3 mo
I used the Option Group Wizard, which allows me to enter in the above
options and it automatically places 1, 2, 3, 4, 5, 6 as the value for each.
It asks me if I want to store the value in a field, and I chose the Return
to Clinic Field. Then I right click on one of the option buttons and try to
put in the DateAdd function where it shows the value: =DateAdd("w", 1,
[Appointment Date]), but I think I'm doing something wrong, or I'm not
putting it in the right spot or something because it returns a date of
12/31/1899, when I choose the first option. then when I choose each
corresponding option, it adds 1 one day to it (1/1/1900, 1/2/1900, ect.
Can someone help me figure it out, or tell me what I'm doing incorrectly?
Any help is appreciated.
LaDonna
I am working on a Contact database to track psychiatric appointmets. I am
new to this, so I am just learning and I need some help. I have a subform
which has the following fields
DOC#
Appointment Date
Appointment Time
Return to Clinic
I would like to have an Option Group which would calculate the following
options from the Appointment Date field and return a date automatically in
the Return to Clinic field.
Options would be 1 wk
2 wks
3 wks
1 mo
2 mo
3 mo
I used the Option Group Wizard, which allows me to enter in the above
options and it automatically places 1, 2, 3, 4, 5, 6 as the value for each.
It asks me if I want to store the value in a field, and I chose the Return
to Clinic Field. Then I right click on one of the option buttons and try to
put in the DateAdd function where it shows the value: =DateAdd("w", 1,
[Appointment Date]), but I think I'm doing something wrong, or I'm not
putting it in the right spot or something because it returns a date of
12/31/1899, when I choose the first option. then when I choose each
corresponding option, it adds 1 one day to it (1/1/1900, 1/2/1900, ect.
Can someone help me figure it out, or tell me what I'm doing incorrectly?
Any help is appreciated.
LaDonna