473,396 Members | 1,865 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.

Sum the value of unbound control in report footer

50
This is my second post for the same question, hope this time I did explain more clearly about my problem.

I need a report that generate the total value of projects from a few foreign currency to USD.

In report detail section:

-2 textboxes bound to CURRENCY and CValue from a query.
-Another 2 textboxes (unbound control) -> txtRate and txtUSD

CURRENCY CValue Rate Value(USD)
txtCurr txtCValue txtRate txtUSD

-users need to key in the conversion rate in txtRate.
-txtUSD used to calculate the converted value, where i set its control source to =[CValue]*[txtRate]

In report footer:
-another textbox txtTotalUSD is created, its control source set to Sum([CValue]*[txtRate]), but it wouldn't work and keep prompt me to enter value in txtRate.Sum only work for the fields from query/table, but it did not work for unbound value/calculated value.

Is there a way to get the total amount for USD from the unbound field in report detail? Please advise me on this, thank you very much.

Beemomo
Jul 8 '10 #1

✓ answered by nico5038

You can't type in fields in a report.
In this case I would create a conversion rate table and make sure that all used currency codes are present for the required report. When missing, jump to the currency code table instead of showing the report.

For the report you can join the tblCurrencyCodeRate to calculate the USD price.

One other consideration should be the use of a currency date, as they can differ over time....

Nic;o)

4 3480
nico5038
3,080 Expert 2GB
You can't type in fields in a report.
In this case I would create a conversion rate table and make sure that all used currency codes are present for the required report. When missing, jump to the currency code table instead of showing the report.

For the report you can join the tblCurrencyCodeRate to calculate the USD price.

One other consideration should be the use of a currency date, as they can differ over time....

Nic;o)
Jul 8 '10 #2
beemomo
50
@nico5038
Hi Nic;o),

Thank you so much for your advise. Yup, you are right, and also the unbound text box of txtRate is not working properly in report as in it works in form. Store the currency value in another table will be the solution.

Regards,
Beemomo
Jul 9 '10 #3
nico5038
3,080 Expert 2GB
Glad I could help and success with your aplication !

Nic;o)
Jul 9 '10 #4
Khuram
1
ur data comes from query. u can make calculation field in query and then make bound control to that calculated field in ur report. then u can take sum
Jul 9 '10 #5

Sign in to post your reply or Sign up for a free account.

Similar topics

2
by: L Mehl | last post by:
Different users of the app will want or not want to see report footer ( appears as a separate page). I can make the section invisible with a DLookup of a Y or N value from a 'parameters' table ...
2
by: Galina | last post by:
Hello I have a report, which lists records. Each record has money paid field. Money paid can be 0 or not 0. I calculate and print summary of money for a group in the group footer, as well as...
6
by: Mike MacSween | last post by:
I have a report based on: PARAMETERS Forms!frmProductions!ProdID Long; SELECT Sum(qryRoleEvent.Fee) AS SumOfFee, First(qryMusician.LastName) AS LastName, First(qryMusician.FirstName) AS...
1
by: Roger | last post by:
I've got a continuous form based on a query the first 2 controls on the form are bound to columns in the query a third control (paymentAmount) is unbound I have a total control in the footer,...
3
by: scott_baird | last post by:
Probably something simple, but it's driving me up the wall... In a report, I have an unbound control that is the total of 2 other bound controls (currency) as follows: unbound control =cash1 +...
13
by: Greg | last post by:
Most suggestions on this topic recommend to use a page footer and make it visible only on the last page. My problem is that the footer is half of the height of a page which means the detail would...
3
by: Fred's | last post by:
Hi Folks, I have a report which the record source is a query name: Query3 and in my Query3 I have this parameter "between And ". Therefore, when I open my report, it will ask for a Start Date...
12
D Giles
by: D Giles | last post by:
Access 2003: A subreport control (sum total calculated textbox located in the subreport report footer) does not show total of all records when referenced as a total in the main report footer - only...
5
by: John McAtee | last post by:
I am using Access 2007. Created a contribution database for a non-profit. Created parameter query that displays contributions for a specified time period using the "Between And " parameter. The...
5
by: beemomo | last post by:
I need a report that generate the total value of project from a few foreign currency to USD. In report detail section: There are 2 fields (CURRENCY,CurrValue) from query table which are displayed...
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
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...
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
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers,...
0
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...
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
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.