Home | Contact Us | FAQ | Search & Site Map | Link to Us
Sign In | Join | Other 45 Sites in Network
Home
Discussion GroupsFormsForms ProgrammingQueriesModules / DAO / VBAReports / PrintingMacrosDatabase DesignSecurityConversionImporting / LinkingSQL Server / ADPMultiuser / NetworkingReplicationSetup / ConfigurationDeveloper ToolkitsActiveX ControlsNew UsersGeneral 1General 2
Access DirectoryToolsTutorialsUser Groups
Related Topics
SQL ServerOther DB ProductsMS OfficeMore Topics ...

MS Access Forum / Reports / Printing / December 2006

Tip: Looking for answers? Try searching our database.

Left align currency symbol plus negative numbers in red

Thread view: 
Enable EMail Alerts  Start New Thread
Thread rating: 
Evi - 18 Dec 2006 21:25 GMT
In my Access report I want my currency symbols to be left aligned (just as
the currency button does in Excel).
Using
£* #,##0.00

in the Format Property box

works fine

I have one control which has be red if the number is negative.

Using

£#,##0.00[Black];- £#,##0.00[Red]

works fine for that.

But I want to combine the two formats so that my Red/Black control also has
a left aligned currency symbol.

If, however I try to put

£*#,##0.00[Black];- £*#,##0.00[Red]

into the format box it exchanges the * for a \ and creates nonsense.

Is there a way of doing what I want?

Thanks
onedaywhen - 19 Dec 2006 11:41 GMT
> In my Access report I want my currency symbols to be left aligned (just as
> the currency button does in Excel).
[quoted text clipped - 6 lines]
>
> into the format box it exchanges the * for a \ and creates nonsense.

Try:

£* #,##0.00[Black];- £* #,##0.00[Red]

I think the character after the * is the one used to pad the text,
therefore in you case a space needs to follow the *.

Jamie.

--
Evi - 19 Dec 2006 21:58 GMT
Evi wrote:

> In my Access report I want my currency symbols to be left aligned (just as
> the currency button does in Excel).
[quoted text clipped - 6 lines]
>
> into the format box it exchanges the * for a \ and creates nonsense.

Try:

£* #,##0.00[Black];- £* #,##0.00[Red]

I think the character after the * is the one used to pad the text,
therefore in you case a space needs to follow the *.

Jamie.

You are a total genius Jamie, you've solved it!
Evi
 
Sign In
Join
My Latest Posts
My Monitored Threads
My Blog
My Photo Gallery
My Profile
My Homepage

Start New Thread
Enable EMail Alerts
Rate this Thread



©2008 Advenet LLC   Privacy Policy - Terms of Use
This website includes both content owned or controlled by Advenet as well as content owned or controlled by third parties.