473,465 Members | 1,964 Online
Bytes | Software Development & Data Engineering Community
Create Post

Home Posts Topics Members FAQ

How to change the format of text in a report?

33 New Member
So i have a report that will be seen by several customer around the world. I have done some research on ways to change some of the financial figures to show the correct currency. There are two fields on the report that I would like the correct currency symbol to be displayed. So fore example when creating the report for my Japanease customers i will be using Yen. So i opened up the report in design view and went to the properties box for the 2 desired fields. In the format box i typed ¥#,### so the format will show up as Yen.

So here is the weird part. One of the fields, we will call it field A the Correcy format is applied. However, the second field (field B) it still shows up using a USD ($) currency format. I am wondering why this would happen and how do i fix this?

Let me give one more piece of information about field B. The report is being generated from a query and in that query the field B is an expression. The expression is
IIf([Credit]<[Total Std Cost],[Total Std Cost],[Credit])

It basically is taking the lowest of the two values in the previous query. Now i have checked the formats for all of these fields and they all read as the correct currency format (¥#,###). However it just seems like once this IIf statement is ran, it changes the currency to USD ($) format. Is there an easy fix for this?
Sep 24 '10 #1

✓ answered by slenish

Kent,

What you have to look at first is what is Credit and Total Std Cost displaying? If they are currency in USD that is why you are getting a USD result. You need to either change those fields to give the currency you are looking for or you might want to look at creating another query that pulls some of the information from this original one minus this field B and create a new field to calculate the currency difference.

Slenish

2 1881
slenish
283 Contributor
Kent,

What you have to look at first is what is Credit and Total Std Cost displaying? If they are currency in USD that is why you are getting a USD result. You need to either change those fields to give the currency you are looking for or you might want to look at creating another query that pulls some of the information from this original one minus this field B and create a new field to calculate the currency difference.

Slenish
Sep 25 '10 #2
kent christensen
33 New Member
got it! Thanks!
Sep 27 '10 #3

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

Similar topics

1
by: Newgene | last post by:
Hi, group, I have python2.3 installed on win2k. I noticed that when I open a dos format text file (eol is '\r\n'), readline() always returns a line ending with '\n' only, not '\r\n'. While I read...
2
by: ezelasky | last post by:
We are using the bcp utility (via APIs) to export data from a SQL table in a fixed format text file. BCP is inserting spaces for a field if the field contains a NULL. This is fine with us except...
3
by: dennist685 | last post by:
Format text as a heading I'm progressing through a walkthrough on DetailsView control Early on it says Type Edit Employees, select the text, and then format the text as a heading. I clicked...
0
by: mannaikarthik | last post by:
Hi, Currently I am designing some reports in ASP.NET using SQL Server reporting services-2000 I want to format a report item (a column in the report) like the following. Just consider a...
2
by: devathi | last post by:
I have to display 16 columns in A4 size paper, am able to display arnd 4 columns in one paper. Suggest java program for generating A4 format excel report in which i can display any number of columns.
13
by: Neil Cerutti | last post by:
Many of the file formats I have to work with are so-called fixed-format records, where every line in the file is a record, and every field in a record takes up a specific amount of space. For...
2
by: David | last post by:
I have VB6 app that generates a report using the Printer object. It basically was an old text report that i generated using Print# statements. I am wondering if the Printer object has changed...
2
by: mahesh123 | last post by:
Hi Folks, I am generating the text reports from the visual basic 6.0. while printing the text report the Char(12) ie page break character is not recognising. Is there any alternate Solution for...
3
by: Phil Stanton | last post by:
Correct me if I'm wrong, but is it impossible to change the font in a report field when in print preview (MDE database) or can it only be done in design view in the MDB database. Part of my...
6
by: K Viltersten | last post by:
I have the following button: <asp:LinkButton id="Btn" runat="server" text="Click"> </asp:LinkButton> I have added an action listener in the javascript where I change the text on it:...
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
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
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,...
0
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome a new...
0
by: conductexam | last post by:
I have .net C# application in which I am extracting data from word file and save it in database particularly. To store word all data as it is I am converting the whole word file firstly in HTML and...
0
by: TSSRALBI | last post by:
Hello I'm a network technician in training and I need your help. I am currently learning how to create and manage the different types of VPNs and I have a question about LAN-to-LAN VPNs. The...

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.