Tables :: Number Formatting - Comma For Thousands

Jul 15, 2013

I am trying to make sure that my double will have a comma for thousands, but will also be able to display more than 2 decimal places (probably 4).

I am struggling with what format to use - if the number doesn't have any decimal places, the point is still put in.
#,##0.####

Examples:
23.2 = 23.2
64587.255 = 64,587.255
5000 = 5,000.

View Replies


ADVERTISEMENT

Queries :: How To Count Number Of Comma Within The Field

Nov 20, 2014

I have one field containing a couple of 6 digit codes and would like to count the number of codes in the field and write the number to a calculated field. Each code is separated by a comma and a space. How can I count the no of comma within the field?

View 3 Replies View Related

Tables :: Text Conversion - Invalid Character Or Comma Entered

Jun 11, 2015

I'm having trouble converting text to proper text in Access 2010 using Windows 8.1 as OS.

The message I keep getting is:

The expression you entered contains invalid syntax. You omitted an operand or operator, you entered an invalid character or comma, or you entered text without surrounding it in quotation marks.

The formula I use is:

strconv([field],3)

View 7 Replies View Related

Number Formatting

Jun 28, 2007

I'm having an issue with the way my number fields are displayed on my form.

I want the number to be dislayed with 2 decimal places. I have formatted the numbers so that they are 'fixed' and specified 2 in the decimal places property but my numbers are rounding themselves down.

eg. I type 1.25 but it comes up as 1.00

Thank you in advance for your help.

View 3 Replies View Related

Number Formatting

Jun 1, 2006

I am trying to calculate the square footage on a form. The formula I have is

(WxH)/144


For example:

W = 6.375
H = 11.5

Square footage should be 0.509115

However I am getting 632.500000


The width (W) and height (H) are formatted as double. So is the square footage. Is this not correct?

View 4 Replies View Related

Reports :: Displaying Currency In Thousands?

Apr 16, 2013

I am working on a forecasting report that has many values, mostly in the millions of dollars. I would like to display my $ fields in the thousands of $ so that I can make the text font larger and most easily readable. How do I do this so that instead of, for instance, $2,259,123, I display $2,259.

View 6 Replies View Related

Quickly Entering Thousands Of Lines

Feb 7, 2012

I have three account types, 110 fiscal months, seven types of fees each associated with a cost. That's 2310 pieces of data if I enter the information with the collumns: AccKey, DateKey, FeeDesc, FeeCost (e.g. For account type one on Fiscal month Jan '11, an overdraft fee was $10). I have all the data on an excel sheet, but it is formatted so that each fiscal year is separate. Is there a way for me to enter this info quickly?

View 1 Replies View Related

Problem With Number Formatting

Jul 10, 2005

Hi,

I have a problem with a table that has number formats setup as usual - #,##0.00;(#,##0.00) and formatted to 2dp. However when inputting say 1.58 into the table it will round to 2.00 and does not show any decimals except as .00. When I remove the number formatting and set the decimal place to Auto, or 1 the same occurs but no decimal places are showing.

Can anybody explain why this is happening? I have tried searching through the properties, etc. to no avail.

Thanks very much for your help,


Roly

View 2 Replies View Related

Number Formatting In Queries

Dec 1, 2005

Hi,

Im trying to combine 2 fields below into one column.

ID - 001 (This is formatted in table using 000)

Sometext - "BLAH"

In the query I have written this ...

Newfield: [Sometext] & [ID]

But when I preview the query the data displays as "BLAH1" and not "BLAH001"

what should i do to correct this formatting issue?

many thanks!

View 2 Replies View Related

Forms :: Combos With Tens Of Thousands Of Records

Aug 27, 2014

I'm trying to follow Allen Browne's - Combos with Tens of Thousands of Records [URL] ....

However, I keep getting the error...

Compile Error:
Invalid use of Me keyword
(This being a new module)

That's how it shows in his code (the use of me.comboname.rowsource) but it's not working for me.

View 7 Replies View Related

Formatting The Day Of The Month As An Ordinal Number

Feb 9, 2006

Is there a way to format the day of the month as an ordinal number? For example instead of formatting the day as January 1, I would like to format the day as the 1st, 2nd, 3rd etc. day of the month. I need to do this in order to match the format of a contract that we want to use as a mail merge.

View 2 Replies View Related

Telephone Number - Formatting Issue

Mar 10, 2005

I am trying to get a "formatted phone" number to appear on a "make table" query. I have revised the input mask properties to format the field to parantheses around the area code and a dash after the first three digits. The query works fine as long as I run a "Select Query" but when I change the query to a "Make Table" query, the new table does not come across with the telephone number in the correct ( )xxx-xxxx format! Using the Input Mask wizard, I've tried both options of storing the data and still get the same results. I do NOT want to have to go into this new table each time and reformat the telephone number as I'm sending the table directly to a switchboard in a different database. Any ideas on how to keep the formatted phone number intact?

View 1 Replies View Related

General :: Change Formatting Of Number Columns?

Nov 21, 2014

Is there a way to change the formatting of a numbers column to the formatting :

1 = 0001

11 = 0011

111 = 0111

1111 = 1111

But that would have to apply to this also

1 - 2 = 0001 - 0002

11 - 22 = 0011 - 0022

111 - 222 = 0111 - 0222

1111 - 2222 = 1111 - 2222

If that makes sense ....

View 14 Replies View Related

Formatting A Number Field For Datasheet View

Feb 8, 2012

How do I make a number display as "001" and not "1" in datasheet view? The field type is number not text.

View 3 Replies View Related

Forms :: Conditional Color Formatting For Plus And Minus Number

Apr 18, 2014

how to have a different conditional colour formatting for a plus and a minus number

If the field value is a Plus Number
The background colour will be Green

If the field value is a Negative Number
The background colour will be Pink

View 6 Replies View Related

Modules & VBA :: Database With Thousands Of Records - Open Image Matching A Field

May 6, 2015

I have to create a database with more than ten thousand records. There is a field on which image by clicking the image to be displayed with the default program based on the image on which you clicked.

Code:

Private Sub Campo1_Click()
Dim L As Long
L = ShellExecute(0, "Open", """" & "C:UsersNickDesktopDocumentiPicturesDioDiego.jpg" & """", vbNullString, vbNullString, 1)
End Sub

When onClick event happens on the image is displayed the same image regardless of the record on which you clicked. How do I change the code to open the image of the field that was clicked?

View 2 Replies View Related

Tables :: Consecutively Number Table Rows With User Determined Start Number

Jul 13, 2014

I have an Access2007/SQL Server 2012 system with 20 users for an insurance company. The company does most of its business via a network of vehicle dealers around the country. If someone comes in to buy a motorcycle, boat, or recreational vehicle at a dealership they need insurance to take it home, and our dealers send the quotes to us.

The dealers, in turn, receive payment from us each month for their efforts. Some are paid a % commission on the premium, some are paid for each quote they send regardless of whether the policy actually sells or not, and some are paid a set amount per sold policy. (Yes, that is relevant information!)

We already have reports that tally the amounts due each dealer based on their payment scheme, but last month our bookkeeper had to write about 650 checks manually because the check writing is not automated. She'd look at the report, and then enter name, address, and amount (in digits and words) into Quick Books and print the checks from there, a horribly tedious process. I've been asked to print the checks from Access. Basically one click would print all 650 checks.

I've opted to use a Make Table query to move the commissioned dealers amounts to a single location, and then to run two append queries to add the records from those paid per quote and those paid per policy. At the end of the day, one table contains all the information necessary to print the checks...except one.

The check number.

I need a way to sequentially number each record in the new table with a user generated starting point, the first check number.

By the way, the check blanks are on standard letter sized paper, three to a page, with tear-off perforations to separate them, in case that information has any relevance.

I think the best way to accomplish this is from the report itself. I've created a blank field on each record for the check number, and what seems most logical is that the sequential number is generated on print and written back to the table, rather than just generating all the numbers at once. That way, should print ever be interrupted, it will be easy to take up where we left off.

View 14 Replies View Related

Tables :: Procedure To Restrict / Stop Auto Number Increment For Certain Number Of Record Count

Mar 16, 2014

I would like to know if there is any procedure to restrict/stop auto number increment for certain number of record count (say 50), then increment by 1 for next 50 records.

View 8 Replies View Related

New To Access, Auto Formatting Tables

Jun 17, 2005

Hey guys, very new to access.

I've been put in charge of setting up a database for work which stores statement and invoice information.

I'm just wondering how I can auto format a field.
I'm guessing it's in the "Validation" section.

A statement is a collective of invoices for each month.
So each March '05 Statement will contain all March '05 Invoices



Basically, what I would like it to be able to do (:)) is for the date inputed into the database, it creates it's own "statementnumber".

Eg. March '05 will create a number as 305 for example. 3 being the month, 05 being the year.
Because I need a common number to setup a relationship of One-to-Many.
Just wondering if this was possible.

Thanks guys :)
Greg

View 7 Replies View Related

Tables :: Field Formatting With Focus

Oct 12, 2012

I have a SSN field and i want it to have the dashed (I got this part down.) But when I click on the field to copy an paste it I want the dashes to disappear. I am thinking What ever the code (if any) would on in the fields onFocus event. I don't want it to copy the dashes.

View 14 Replies View Related

Tables :: Formatting A Table Field?

Mar 31, 2013

In a table, I would like a particular field to look thusly:

xx-xx-x-x-x

My question is how do I format it so that the dashes (-) are automatically inserted when the data is keyed into the input screen. The dashes would also have to be displayed on the table.

View 2 Replies View Related

Tables :: Calculated Column Expression Formatting

Nov 4, 2013

I've now since moved everything into one table but i need formatting of my calculated field (I'm new to all this).

Below are the 3 expressions working independently of one another, I just need them combined in to one if possible. As I am getting an "invalid syntax" error or "too many arguments" when I try to get it working

PHP Code:

0.5*IIf([Type]="Offlist" And [APP_LINE_OFFA]>3,1,0)+0.2*IIf([Type]="Offlist" And [APP_LINE_OFFB]>2,1,0)+
IIf([Type]="Offlist",Abs([EP_DETAILS_OFF]*0.15+[REF_DETAILS_OFF]*0.15),0) 

PHP Code:

IIf([Type]="Onlist",Abs([EP_DETAILS_ON]*0.15+[REF_DETAILS_ON]*0.2+[GEN_NOTE_ON]*0.2+[APP_LINE_ON]*0.25+[SPEC_INS_ON]*0.2),0) 

PHP Code:

IIf([Type]="Aged Report", Abs([EP_DETAILS_AGED]*0.2+[REF_DETAILS_AGED]*0.2+[GEN_NOTES_AGED]*0.3+[SPEC_INS_AGED]*0.3),0) 

View 4 Replies View Related

Tables :: Formatting Addresses In A Text Field Within A Table

May 22, 2013

I have been using Access for several years but always in a basic way. I have started work on an existing Members database where the Members Addresses have been pasted in from Notepad or been imported from csv or manual entry.The ones that have been manually entered are on one line. The ones that are imported from csv or pasted from Notepad are on multiple lines like you would naturally type on an envelope..In Notepad they look like this:

'Oakdale' 123 Expression Road
Name of Town
Name of County
Postcode

Sometimes the addresses have 4 lines and sometime they also have the name of a village which makes it 5 or 6 lines. When imported into Access they also view (datasheet view) in the same way with the return at the end of each line. However, I cannot enter a new address in this manner directly into Access.How can I enter the address text into a text filed and be able to format it so that it looks like the above?

I have searched many times for an answer to this but cannot find a way of explaining it that search engines understand. I first came across this 12 years ago when I worked on a massive Members database for a radio station all the addresses where formatted in the same way and had been imported through csv. When I do this the csv file marks up the text as "'Oakdale' 123 Expression Road□Name of Town□Name of County□Postcode"

I have tried exporting to csv ad then importing it into GMAIL and this works fine I have also printed off labels and envelopes and all the addresses print fine too; I just don't know how to input it in that format other than pasting all addresses through a basic text file.

View 5 Replies View Related

Tables :: Phone Statistics - Formatting Field To Show Duration Not Time

Apr 13, 2014

I am building a database to enter staff phone statistics. As an example my fields would be - Name, Date, Staffed time, Available time, Aux time and then calculated fields to show the percentage of time i.e %Aux, %Available etc.

My problem is the formatting of the times entered as they are duration not time. Say staffed time is entered as 08:00:00 for 8 hours and Aux time 03:57:21. The only format I can see to suit is date time but then Access takes these entries as 8am and 3:57am is there a way to change this to work as duration hh:mm:ss?

View 6 Replies View Related

Forms :: Default Formatting Option In Conditional Formatting Dialog?

Aug 1, 2014

Need to confirm whether the Default formatting option in the Conditional formatting Dialog won't work in datasheet view of a form. Please note that all conditional criteria are working fine but not the Default Formatting option - only in the Datasheet view (In Single Form view the default formatting is working fine)

View 11 Replies View Related

Tables :: Change Item Number In 3 Tables

Jan 1, 2015

We sometimes make an error in entering a stock code and have to change the code.

Our main table is = Investments01_tbl
Other tables that use the same stock codes from the above table are
= Alerts_Stocks
= Investments01_tbl_SubForm

The table = Investments01_tbl_SubForm = can contain the same stock code many times.How can we create a query that can be used to enable us to change the stock codes in the 3 tables at the same time?

View 1 Replies View Related







Copyrights 2005-15 www.BigResource.com, All rights reserved