D
Don
On an employee form, there is a sub-form which lists education (high
school, college, etc). The subform is rather simple and really just lists
the degree, graduation date, and some comments for each degree a person has.
(The subform gets its data from a table where the record contains fields for
employee number, degree, etc, so it is a one to many link with the employee
table.) We would like to format the graduation date field on a
record-by-record basis (education record that is). I had the following
compound IIF in the control source field:
=IIf([GradDateValidity]="Day",Format([GraduationDate],"mm/dd/yyyy"),(IIf([Gr
adDateValidity]="Month",
Format([GraduationDate],"mm/yyyy"),Format([GraduationDate],"yyyy"))))
However, during testing found this caused problems with trying to input
data. Basically, it does not like the IIF in the control source field for
entering data.
It comes down to modifying the Controls format property on a detail record
by detail record basis. Can this be done?
Thanks!
Don
school, college, etc). The subform is rather simple and really just lists
the degree, graduation date, and some comments for each degree a person has.
(The subform gets its data from a table where the record contains fields for
employee number, degree, etc, so it is a one to many link with the employee
table.) We would like to format the graduation date field on a
record-by-record basis (education record that is). I had the following
compound IIF in the control source field:
=IIf([GradDateValidity]="Day",Format([GraduationDate],"mm/dd/yyyy"),(IIf([Gr
adDateValidity]="Month",
Format([GraduationDate],"mm/yyyy"),Format([GraduationDate],"yyyy"))))
However, during testing found this caused problems with trying to input
data. Basically, it does not like the IIF in the control source field for
entering data.
It comes down to modifying the Controls format property on a detail record
by detail record basis. Can this be done?
Thanks!
Don