AA Arens wrote:
Rick,
Where do I have to fill in the Choose function and under which object
and procedure?
I guess under the object that has to display the Mr. / Mrs.
You have a field in a table that contains numbers right? You would use Choose()
in reports, forms, and queries where you want to evaluate the field value and
display "Mr" and "Mrs" instead of the numeric value.
Beside this, I have also tried to choose the "Mrs";;"Mr" at the format
property, but noppes. Do you mean the format at the field properties
(tab: Format, Format) from the form? Or the table properties (tab
General -Format)?
What numbers are you storing? The format property has four sections separated by
semi-colons and each section controls the display of "positive values",
"negative values", "zero", and "null" respectively. If you are storing the
numbers 1 and 2 then a format property will not help you. If you store two
numbers that each fall into separate groups as defined above then it should
work.
--
Rick Brandt, Microsoft Access MVP
Email (as appropriate) to...
RBrandt at Hunter dot com