473,326 Members | 2,081 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,326 software developers and data experts.

No decimal currency format

Hi All.

How can i put a zero decimal for my currency into my format statement,

==[StartDate] & ", for " & [duration] & " days. Cost " &
Format([crsinscost],"Currency")
which is the data source for a textbox on a report

Thanks

Gerry Abbott


Nov 13 '05 #1
4 22544
Format([crsinscost],"$#,##0;($#,##0)")

On Tue, 16 Nov 2004 14:59:01 -0000, "Gerry Abbott" <pl****@ask.ie> wrote:
Hi All.

How can i put a zero decimal for my currency into my format statement,

==[StartDate] & ", for " & [duration] & " days. Cost " &
Format([crsinscost],"Currency")
which is the data source for a textbox on a report

Thanks

Gerry Abbott


Nov 13 '05 #2
You want to display whole dollars only. No cents. Ignore negatives?

=[StartDate] & ", for " & [duration] & " days. Cost " &
Format([crsinscost],"$#,##0")

--
Allen Browne - Microsoft MVP. Perth, Western Australia.
Tips for Access users - http://allenbrowne.com/tips.html
Reply to group, rather than allenbrowne at mvps dot org.

"Gerry Abbott" <pl****@ask.ie> wrote in message
news:DA*******************@news.indigo.ie...
Hi All.

How can i put a zero decimal for my currency into my format statement,

==[StartDate] & ", for " & [duration] & " days. Cost " &
Format([crsinscost],"Currency")
which is the data source for a textbox on a report

Thanks

Gerry Abbott

Nov 13 '05 #3
Thanks, Allen,
this format uses a specific character for the currency.
1.Is there a way to use the system currency symbol here.
2.Is there a good reaource to expain the formatting

Gerry Abbott

"Allen Browne" <Al*********@SeeSig.Invalid> wrote in message
news:41***********************@per-qv1-newsreader-01.iinet.net.au...
You want to display whole dollars only. No cents. Ignore negatives?

=[StartDate] & ", for " & [duration] & " days. Cost " &
Format([crsinscost],"$#,##0")

--
Allen Browne - Microsoft MVP. Perth, Western Australia.
Tips for Access users - http://allenbrowne.com/tips.html
Reply to group, rather than allenbrowne at mvps dot org.

"Gerry Abbott" <pl****@ask.ie> wrote in message
news:DA*******************@news.indigo.ie...
Hi All.

How can i put a zero decimal for my currency into my format statement,

==[StartDate] & ", for " & [duration] & " days. Cost " &
Format([crsinscost],"Currency")
which is the data source for a textbox on a report

Thanks

Gerry Abbott


Nov 13 '05 #4
Hi Gerry. It's easy enough to use your own currency symbol in the formatting
string.

To get help on Format():
- Open the Immediate Windows (Ctrl+G).
- Type: Format(
- Move the cursor back into the word.
- Press F1
- When the Help window opens, chose the one about number formatting.

--
Allen Browne - Microsoft MVP. Perth, Western Australia.
Tips for Access users - http://allenbrowne.com/tips.html
Reply to group, rather than allenbrowne at mvps dot org.

"Gerry Abbott" <pl****@ask.ie> wrote in message
news:zP*******************@news.indigo.ie...
Thanks, Allen,
this format uses a specific character for the currency.
1.Is there a way to use the system currency symbol here.
2.Is there a good reaource to expain the formatting

Gerry Abbott

"Allen Browne" <Al*********@SeeSig.Invalid> wrote in message
news:41***********************@per-qv1-newsreader-01.iinet.net.au...
You want to display whole dollars only. No cents. Ignore negatives?

=[StartDate] & ", for " & [duration] & " days. Cost " &
Format([crsinscost],"$#,##0")
"Gerry Abbott" <pl****@ask.ie> wrote in message
news:DA*******************@news.indigo.ie...
Hi All.

How can i put a zero decimal for my currency into my format statement,

==[StartDate] & ", for " & [duration] & " days. Cost " &
Format([crsinscost],"Currency")
which is the data source for a textbox on a report

Thanks

Gerry Abbott

Nov 13 '05 #5

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

Similar topics

0
by: John Hicks | last post by:
Is there an accepted best practice on whether to store decimal currency amounts (e.g. dollars and cents) in MySQL decimal column types? Certainly, the most straightforward way is to use decimal...
2
by: Dalan | last post by:
This should not be an issue, but it is. I'm sure that someone knows what little piece of code is needed too persuade Access 97 to include a currency format for labels (Avery, mailing type). Have...
2
by: DD | last post by:
I have a UnionQry that is run from StatementsI and StatementP. the Due and Paid colunms are currency and show the $ however when i union the two the currency format has gone. Any help please...
2
by: Bob Dydd | last post by:
Hi Everbody Question Changing the regional settings ie. from UK to US AUS etc, Access retains the original currency format that the application was created in. So if an mdb that is written...
3
by: Claudia Fong | last post by:
Hi, My db is stored in access and I have a field amount and its type is currency. When I read from the db and display it in a textbox, it shows me 15000000 instead of $150,000.00. How can...
7
by: zlf | last post by:
1¡¢Here is a number. double nu = 123 2¡¢Format it with 3¡¢The result is "$123" I want to ask how to deformat "$123" to 123 Thx (Currency symbol is not restricted to '$')
3
by: Mike L | last post by:
Data in datagrid shows all numbers to the 1000th place. So, $3.00 is shown 3.0000 How do I set the datagrid column to currency format? DataGridColumnStyle colStyle4 = new...
5
by: ramaswamynanda | last post by:
Hello, I have a currency field on my form. The default formats for this field are dollar, euro. There is no pound symbol.....How do i put in a currency format, having the pound sign. Any help...
2
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...
0
by: DolphinDB | last post by:
Tired of spending countless mintues downsampling your data? Look no further! In this article, you’ll learn how to efficiently downsample 6.48 billion high-frequency records to 61 million...
0
isladogs
by: isladogs | last post by:
The next Access Europe meeting will be on Wednesday 6 Mar 2024 starting at 18:00 UK time (6PM UTC) and finishing at about 19:15 (7.15PM). In this month's session, we are pleased to welcome back...
0
by: ArrayDB | last post by:
The error message I've encountered is; ERROR:root:Error generating model response: exception: access violation writing 0x0000000000005140, which seems to be indicative of an access violation...
1
by: PapaRatzi | last post by:
Hello, I am teaching myself MS Access forms design and Visual Basic. I've created a table to capture a list of Top 30 singles and forms to capture new entries. The final step is a form (unbound)...
1
by: CloudSolutions | last post by:
Introduction: For many beginners and individual users, requiring a credit card and email registration may pose a barrier when starting to use cloud servers. However, some cloud server providers now...
1
by: Defcon1945 | last post by:
I'm trying to learn Python using Pycharm but import shutil doesn't work
1
by: Shællîpôpï 09 | last post by:
If u are using a keypad phone, how do u turn on JavaScript, to access features like WhatsApp, Facebook, Instagram....
0
by: Faith0G | last post by:
I am starting a new it consulting business and it's been a while since I setup a new website. Is wordpress still the best web based software for hosting a 5 page website? The webpages will be...
0
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 3 Apr 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 former...

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.