473,396 Members | 2,158 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,396 software developers and data experts.

Displaying an amount based on a Constant Exchange Rate

Hi,
I have a Constants table with two columns. The first entry in it is
"ExchangeRate, 1.618"

I want to display value in a text box in dollars based on an amount in
a Products table multiplied by the exchange rate in the constants
table.

At the moment I have this in the Control Source of the text box.

=[GermanListPrice]*(SELECT Value FROM Constants WHERE ConstantType =
'ExchangeRate';)

The text box generates "#Name?"

Any suggestions?

Thanks in Advance
Dave
Nov 12 '05 #1
1 1243
DFS
David,

Try:

=[GermanListPrice] * DLookup("Value","Constants","ConstantType =
'ExchangeRate'")
"David" <d.*******@student.qut.edu.au> wrote in message
news:c2*************************@posting.google.co m...
Hi,
I have a Constants table with two columns. The first entry in it is
"ExchangeRate, 1.618"

I want to display value in a text box in dollars based on an amount in
a Products table multiplied by the exchange rate in the constants
table.

At the moment I have this in the Control Source of the text box.

=[GermanListPrice]*(SELECT Value FROM Constants WHERE ConstantType =
'ExchangeRate';)

The text box generates "#Name?"

Any suggestions?

Thanks in Advance
Dave

Nov 12 '05 #2

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

1
by: Miles Cousens II | last post by:
I would like to be able to import the following xml document on a daily basis to get the current exchange rates and then create the same output file so I can use Biztalk 2002 to import that file,...
0
by: Ellen Manning | last post by:
I've got an A2K form with a subform based on a query. This query has a checkbox and an amount field and returns records if checkbox is checked. I Dsum the amount field and display on the main...
2
by: Johm | last post by:
Can i use a constant in a query ? I have a constant Public Const rate As Double = 10 Can i use it in the query ? I want to multiply the field with the constant rate, but Access does not accept...
6
by: Peter | last post by:
I'm interested to know what ideas are out there for reading a parallel port at a constant sample rate while still allowing the user to interact with the GUI. That is, reading it every 10ms for...
2
by: monomaniac21 | last post by:
Hi i want to display the price of a product on my site in multiple currencies that is constantly updated to keep in line with exchange rate fluctuations can anyone tell me how i could get access to...
3
by: Tantr Mantr | last post by:
Hello , I have a class which I serialize using XMLSerializer. This class has public properties which are based on other interfaces. Because of this I am unable to serialize the object. Error :...
1
by: Eric | last post by:
I've built a Currency class, more or less like Java's, a Money class to handle rounding and allocation, and a Moneybag that should collect different monies and convert them to a given exchange...
2
by: strychtur | last post by:
Hi All, Right now we get a daily email with the current currency exchange rate in it. Then someone copies that data into a SQL Sever table every day. I am looking to automate this process. The...
1
by: littlealex | last post by:
IE6 not displaying text correctly - IE 7 & Firefox 3 are fine! Need some help with this as fairly new to CSS! In IE6 the text for the following page doesn't display properly - rather than being...
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
0
by: ryjfgjl | last post by:
In our work, we often receive Excel tables with data in the same format. If we want to analyze these data, it can be difficult to analyze them because the data is spread across multiple Excel files...
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
0
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
0
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...
0
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows...
0
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each...
0
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing,...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.