Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations gkittelson on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

referencing a table record in query expression 2

Status
Not open for further replies.

ps32208

Technical User
Jul 29, 2005
42
EU
Hi,

I have an expression: Actual Annual Renewal Value $: Sum(([Amount Lcl]))*12*1.868

I want to replace 1.868 with a reference to a table record. It will always reference the same field and same table record.

Lets say the table is called ex_rate and it is record 1.

Can anyone help pls?

Thanks.
 
I missed Field name out, which is called: Exchange Rate
 
You may want to change to:
DLookup("[Exchange Rate]","ex_rate","ID=1")
...if there are more than one record in this table ( assuming adjusting for actual fieldnames).
--Jim
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top