Results 1 to 8 of 8
  1. #1
    bharatkk is offline Novice
    Windows 7 64bit Access 2007
    Join Date
    Apr 2017
    Location
    Pune, India
    Posts
    9

    How to customize comma notation in a number ?

    Hi everyone,



    I am from India and our comma notation to denote number is different than western countries and we represent our number in lakhs, crores etc. instead of billions and millions. For example, in western countries one billion will be represented as 1,000,000,000/- but in India it would be represented as 1,00,00,00,000/-.

    The Regional settings in my Laptop is already set to my country and the above works fine in In Excel, however, this doesn't work in MSExcess 2007. I have tried many combinations and I have been after this for last many days. On searching the internet there are many links for Excel but none for Access and now I am not sure if there is a solution for Access at all.

    If anyone could help me it would be great, otherwise I think the Access is not suitable for my requirement. Then can anyone suggest an alternative for Access 2007 where I would get solution to my problem?

    Thanks in advance,

    Regards,

    Bharat

  2. #2
    ranman256's Avatar
    ranman256 is offline VIP
    Windows Vista Access 2010 32bit
    Join Date
    Apr 2014
    Location
    Kentucky
    Posts
    9,549
    Did you try using the FORMAT property of the field in a query?
    right click the field on the query line,format, enter you India format string.

  3. #3
    bharatkk is offline Novice
    Windows 7 64bit Access 2007
    Join Date
    Apr 2017
    Location
    Pune, India
    Posts
    9
    Thanks you very much for your response.
    Yes I tried "#,##0" which works fine in excel but not in access.
    Thanks anyway.

  4. #4
    aytee111 is offline Competent At Times
    Windows 10 Access 2013 64bit
    Join Date
    Nov 2011
    Location
    Nomad
    Posts
    3,936
    The Format function will format anything into anything, all you need to do is get it right. Google how to format numbers in Access.

    The main difference between Excel and Access is that the latter is a data storage and retrieval tool. That should determine which tool to use, not how much knowledge you have.

  5. #5
    ranman256's Avatar
    ranman256 is offline VIP
    Windows Vista Access 2010 32bit
    Join Date
    Apr 2014
    Location
    Kentucky
    Posts
    9,549
    The format works perfectly. I use it a lot. But since yours is an odd structure, it may require vb.

  6. #6
    CJ_London is offline VIP
    Windows 10 Access 2010 32bit
    Join Date
    Mar 2015
    Posts
    11,845
    the 'easy' format is

    ## ## ## ###

    or

    && && && &&&

    which displays separated with spaces, not commas

    12 34 56 789

    in the context of formatting, the comma is a special character which will only work as a '000 separator. If your numbers are always that large, you can display the comma as a literal character e.g.

    &&\,&&\,&&\,&&&

    which will display

    12,34,56,789

    but for smaller numbers you will get preceding commas - e.g.

    ,,56,789

    Looking around the internet, there does not seem to be an easy solution with other systems either. Found this link which may be of help and explains a bit more, but does mean more work to apply

    http://allenbrowne.com/ser-44.html

  7. #7
    bharatkk is offline Novice
    Windows 7 64bit Access 2007
    Join Date
    Apr 2017
    Location
    Pune, India
    Posts
    9
    Thanks everybody for responding to my query. I am a novice to MS Access so obviously I do not have much knowledge. So with whatever little knowledge I have I tried my best, including most of the suggestion above, but unfortunately I am unable to find solutions at my end.

    Thanks you very much everybody once again.

  8. #8
    bharatkk is offline Novice
    Windows 7 64bit Access 2007
    Join Date
    Apr 2017
    Location
    Pune, India
    Posts
    9
    I found the solution in MS Office 2010 and the format "#,##0" worked for me.

    Thank you all for your support and feedback.

Please reply to this thread with any new information or opinions.

Similar Threads

  1. Replies: 5
    Last Post: 02-21-2017, 08:14 AM
  2. Converting Scientific notation in a Query
    By wuhsean22 in forum Queries
    Replies: 2
    Last Post: 02-06-2013, 05:30 PM
  3. RC Notation and additional criteria
    By mkc80 in forum Access
    Replies: 3
    Last Post: 11-05-2012, 03:30 PM
  4. RC Notation and Date Comparison
    By mkc80 in forum Access
    Replies: 2
    Last Post: 10-10-2012, 06:22 PM
  5. Extract Strings from a Dot Notation Field
    By wwalkerbout in forum Programming
    Replies: 17
    Last Post: 02-27-2012, 02:15 AM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
Other Forums: Microsoft Office Forums