E
Emma
Access 97,
I have an option group with 3 options, stored in a field
called "progress". The options have labels on the form.
When I create a report which includes this field, it shows
1, 2, or 3 in the progress box. How do I get it to show
the labels? I don't think there is any direct way of
doing it, but I was hoping for something like creating a
text box whose text depends on the value of the the
progress field. but I can't seem to get the text box to
work. I wanted to type in VB
if progress.value = 1 then
txtprogress.text = "option 1"
else if progress.value = 2 then
txtprogress.text = "option 2"
else progress.value = 3 then
txtprogress.txt - "option 3"
end if
end if
but the .value and .text options are not available. Can
anyone tell me where I've gone wrong and what to do???!!
Thanks
I have an option group with 3 options, stored in a field
called "progress". The options have labels on the form.
When I create a report which includes this field, it shows
1, 2, or 3 in the progress box. How do I get it to show
the labels? I don't think there is any direct way of
doing it, but I was hoping for something like creating a
text box whose text depends on the value of the the
progress field. but I can't seem to get the text box to
work. I wanted to type in VB
if progress.value = 1 then
txtprogress.text = "option 1"
else if progress.value = 2 then
txtprogress.text = "option 2"
else progress.value = 3 then
txtprogress.txt - "option 3"
end if
end if
but the .value and .text options are not available. Can
anyone tell me where I've gone wrong and what to do???!!
Thanks