I have several fields in my database specified as Currency data type. Is there a
way globally to set these fields not to display the dollar sign?
Thanks!
Melissa 3 13447
You may try removing the symbol from your local settings in Control Panel.
However, a better option, depending on your version, may be to use a Number
datatype and in the bottom where it says Field Size, choose Decimal. Another
option may be to use the Format option to remove it. This will still give
you the Currency datatype and its precision, but without the character.
--
Wayne Morgan
MS Access MVP
"Melissa" <mw*****@earthl ink.net> wrote in message
news:sg******** ********@newsre ad2.news.atl.ea rthlink.net... I have several fields in my database specified as Currency data type. Is
there a way globally to set these fields not to display the dollar sign?
Thanks!
Melissa
Melissa wrote: I have several fields in my database specified as Currency data type. Is there a way globally to set these fields not to display the dollar sign?
Thanks!
Melissa
The Currency Datatype is different than Currency Formatting.
Formatting affects only how the field is displayed.
Retain the Field Datatype as Currency, but set the format to Fixed with
2 decimals,
or use
#,###.00;-#,###.00;0.00
in the format field if you wish the comma as a thousands separator and
0.00 if the field is Zero.
See Access Help regarding
Format + Currency and Number Datatypes
for additional possibilities.
--
Fred
Please reply only to this newsgroup.
I do not respond to personal e-mail.
On Wed, 17 Dec 2003 20:57:24 GMT in comp.databases. ms-access, "Wayne
Morgan" <co************ *************** @hotmail.com> wrote: You may try removing the symbol from your local settings in Control Panel. However, a better option, depending on your version, may be to use a Number datatype and in the bottom where it says Field Size, choose Decimal. Another option may be to use the Format option to remove it. This will still give you the Currency datatype and its precision, but without the character.
<rant>
IMHO there should be a global option to turn this off, it's a right
royal PITA to have it displayed as default, particularly as every app
I've ever written in Access that handles money is multi currency.
When exporting to other formats I have to resort to cdbl() or
something in a query to stop the currency symbol from being exported
also. As far as I'm concerned when exporting to another format there
should be no formatting of any kind unless explicitly specified.
</rant>
p.s. sorry for tagging on your post Wayne, my rant isn't aimed at you.
--
A)bort, R)etry, I)nfluence with large hammer. This thread has been closed and replies have been disabled. Please start a new discussion. Similar topics |
by: Brandon McCombs |
last post by:
hello,
I have an app that pops up a custom dialog box and one of the fields for
user input is an account balance field. The data gets put into an
Object and eventually into an instance of DefaultListModel. When I use
getText() on the field I pass it to Double.parseDouble to convert it so
I can store it as a number and not a string. When I display it (either
in the list or in the dialog box) I want it to be displayed using
currency...
|
by: Micromanaged |
last post by:
In my response.write line, I need to format a field to be a currency
value. Is there a quick and dirty way to do it or is it an involved
edit? Here is my code:
Response.Write("<td>" & WhataRecordset.Fields.Item(0).Value &
"</td><td>" & WhataRecordset.Fields.Item(1).Value & _
"</td><td>" & WhataRecordset.Fields.Item(2).Value & "</td><td>" &
WhataRecordset.Fields.Item(3).Value & _
"</td><td>" & WhataRecordset.Fields.Item(4).Value &...
|
by: news.shaw.net |
last post by:
I have a subform that contains a currency field.
If I tab my way to the field, everything works as desired, a number can
be entered, and when I leave the field it is rendered as a currency amount.
But if I click on the field with the mouse and enter a number, it shows
up like this: 250.00$0.00 with the $0.00 appended to what I type. I
have to delete it each time.
I've tried a few VBA OnEnter solutions, but nothing has worked so...
|
by: Tom Keane |
last post by:
Hi, I need some helpings again!
I have a query from one of my tables that gets a total amount of money and
gets a percentage from it
ie, the field I create in the query is invGSTAmount from a field in my table
called invAmount, so I but in the design view of my query:
invGSTAmount: *1/11
|
by: Dave Stone |
last post by:
This question appeared years ago in the context of Acc2K and SQL
Server 7, but no replies were posted. HOWEVER!! It still seems to be a
problem with Acc XP and SQL Server 2000. Surely someone has a fix 6
years down the line...
I used the Upsizing Wizard to build a SQL database from an Access
back-end and link it to the Access f/e. All the data appear to have
gone across OK as viewed from Enterprise Manager, but from the
front-end all...
| |
by: David Nunn |
last post by:
Need to preface that I am not much of an Access type. Doing
I have several tables that have currency fields, which I run queries
against to compare the figures in both. The data is imported from
Excel spreadsheets supplied by different parties, over which I have no
control.
My problem is that whilst several parties supply the spreadsheets with
the currency fields containing two figures to the right of the decimal
place (ie 123.51,...
|
by: Rob Richardson |
last post by:
Greetings!
I have a database created in MS Access that has some fields containing
Currency data. Every time I try to use one of the OleDbDataReader's
GetXXX() methods to read it, I get an invalid cast exception. Is it
possible to use the OleDbDataReader to get the value of a currency field in
an Access database? If so, how?
Rob, who probably shouldn't even ask this question, since the
OleDbDataReader is too simplistic. I should...
|
by: Zwoker |
last post by:
Hello everyone,
I have an MS Access 2003 application that is distributed as an MDE.
All the users around the Asia/Pacific region that use it are running Windows XP.
Many of them have different currency symbols in use, and these are declared on their regional settings in the control panel on their PCs. But despite this all the currency fields on the reports are appearing with a leading dollar symbol - which is the default for my PC,...
|
by: Ian |
last post by:
I have an Access 2000 database written in the UK, this database has many
fields set to Currency, I now want to move this database over to a user
in the USA but my Currency fields still show the UK £ sign.
If I look at these currency fields on my UK PC with it set to regional
UK (not USA) then the fields format settings just say Currency, if I
then add the USA region to my PC and look at the format again it says:
£#,##0.00;-£#,##0.00
I...
|
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, people are often confused as to whether an ONU can Work As a Router. In this blog post, we’ll explore What is ONU, What Is Router, ONU & Router’s main usage, and What is the difference between ONU and Router. Let’s take a closer look !
Part I. Meaning of...
|
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 effortlessly switch the default language on Windows 10 without reinstalling. I'll walk you through it.
First, let's disable language synchronization. With a Microsoft account, language settings sync across devices. To prevent any complications,...
| |
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 Update option using the Control Panel or Settings app; it automatically checks for updates and installs any it finds, whether you like it or not. For most users, this new feature is actually very convenient. If you want to control the update process,...
|
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, and deployment—without human intervention. Imagine an AI that can take a project description, break it down, write the code, debug it, and then launch it, all on its own....
Now, this would greatly impact the work of software developers. The idea...
|
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 presenter, Adolph Dupré who will be discussing some powerful techniques for using class modules.
He will explain when you may want to use classes instead of User Defined Types (UDT). For example, to manage the data in unbound forms.
Adolph will...
|
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 then checking html paragraph one by one.
At the time of converting from word file to html my equations which are in the word document file was convert into image.
Globals.ThisAddIn.Application.ActiveDocument.Select();...
|
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 last exercise I practiced was to create a LAN-to-LAN VPN between two Pfsense firewalls, by using IPSEC protocols.
I succeeded, with both firewalls in the same network. But I'm wondering if it's possible to do the same thing, with 2 Pfsense firewalls...
|
by: muto222 |
last post by:
How can i add a mobile payment intergratation into php mysql website.
| |
by: bsmnconsultancy |
last post by:
In today's digital era, a well-designed website is crucial for businesses looking to succeed. Whether you're a small business owner or a large corporation in Toronto, having a strong online presence can significantly impact your brand's success. BSMN Consultancy, a leader in Website Development in Toronto offers valuable insights into creating effective websites that not only look great but also perform exceptionally well. In this comprehensive...
| |