K
Kass
I have a calculation in a query using DLookup to a table. The lookup value
in the table is a number and is formatted for currency. I want currency to
show in my qurey and related report, but is seems to be treating the DLookup
result as text. The DLookup string is as follows:
Bank Fee: IIf([Membership Opts]="Bank Monthly" And [Rate Opts]="NEW
RATE",DLookUp("[Bank Payroll Fee]","[Type]","[Type]![Membership Type]='" &
[Type] & "'")," X ")
I am trying to look up the "Bank Payroll Fee" currency value in a table
named "Type" when the "Membership Type" from the "Type" table and text from
the field "Type" match. The formula works fine and pulls out the results I
want buy it looks like text, ie.... 22 instead of 22.00 or $22.00 like it
should.
Thanks for your help!
in the table is a number and is formatted for currency. I want currency to
show in my qurey and related report, but is seems to be treating the DLookup
result as text. The DLookup string is as follows:
Bank Fee: IIf([Membership Opts]="Bank Monthly" And [Rate Opts]="NEW
RATE",DLookUp("[Bank Payroll Fee]","[Type]","[Type]![Membership Type]='" &
[Type] & "'")," X ")
I am trying to look up the "Bank Payroll Fee" currency value in a table
named "Type" when the "Membership Type" from the "Type" table and text from
the field "Type" match. The formula works fine and pulls out the results I
want buy it looks like text, ie.... 22 instead of 22.00 or $22.00 like it
should.
Thanks for your help!