Hi there, I feel like this should be an easy thing to do, however the answer keeps eluding me.
I have a query and this is one of the fields being calculated and displayed:
Group Info: IIf(IsNull([Form1]),Null,100-[Form1])/100
Form1 is an average which is being calculated in a another crosstab query (which is the recordsource for this query)
The calculation works fine and gives me results like this...
.95534244
.894345
.95
1
<null>
.92345
1
However, I would prefer to display the results as percentages (95%, 89%, 100%, etc) rather than decimal figures. I went into the field properties and set the format property to "Percent" but that didn't make a difference. I think the problem may be that Access thinks this is a text field rather than a number field, but I even added a CDbl() to the formula and even that didn't help.
Any ideas?
Maq
<insert witty signature here>
I have a query and this is one of the fields being calculated and displayed:
Group Info: IIf(IsNull([Form1]),Null,100-[Form1])/100
Form1 is an average which is being calculated in a another crosstab query (which is the recordsource for this query)
The calculation works fine and gives me results like this...
.95534244
.894345
.95
1
<null>
.92345
1
However, I would prefer to display the results as percentages (95%, 89%, 100%, etc) rather than decimal figures. I went into the field properties and set the format property to "Percent" but that didn't make a difference. I think the problem may be that Access thinks this is a text field rather than a number field, but I even added a CDbl() to the formula and even that didn't help.
Any ideas?
Maq
<insert witty signature here>