G
Guest
I am using Access 97 and am writing a Report that displays the data from a
Field called Mollart Division. The data is generated using an Option Group in
a Form using the 3 labels: Sub-contract, Machine Tools and Tooling.
In my Table the Option Group returns the value 1, 2 or 3. However, I want to
display the Label Name rather than the numerical value in the report.
Looking at other postings is seems an iif statement might be the best way to
do this and I have constructed this one: -
=IIf([Mollart Division]=1,"Sub-contract",IIf([Mollart Division]=2,"Machine
Tools",IIf([Mollart Division]=3,"Tooling")))
where 'Mollart Division' is the field name in the table.
I am VERY confused as to where I would put this statement. Do I put it into
in the properties relating to the field in the Table, the Form or the report?
And more importantly where in the properties?
Thanks for any help in advance!
Field called Mollart Division. The data is generated using an Option Group in
a Form using the 3 labels: Sub-contract, Machine Tools and Tooling.
In my Table the Option Group returns the value 1, 2 or 3. However, I want to
display the Label Name rather than the numerical value in the report.
Looking at other postings is seems an iif statement might be the best way to
do this and I have constructed this one: -
=IIf([Mollart Division]=1,"Sub-contract",IIf([Mollart Division]=2,"Machine
Tools",IIf([Mollart Division]=3,"Tooling")))
where 'Mollart Division' is the field name in the table.
I am VERY confused as to where I would put this statement. Do I put it into
in the properties relating to the field in the Table, the Form or the report?
And more importantly where in the properties?
Thanks for any help in advance!