Results 1 to 7 of 7
  1. #1
    azhar2006's Avatar
    azhar2006 is offline Expert
    Windows XP Access 2007
    Join Date
    Mar 2012
    Posts
    528

    Problem in the field of currency

    Hello Guys
    I suffer from currency figures
    I have two fields for his work in the field and a third form for the collection of these fields
    What is happening is
    When I enter, for example, $ 100 in a field number one
    And 603 dollars in the field No. 2


    Be the result of field No. 3 is
    603,100
    In other words be $ 100 a Cent
    Where it should be the amount is 703
    What is the solution
    Click image for larger version. 

Name:	wwwww.JPG 
Views:	9 
Size:	53.6 KB 
ID:	15171

  2. #2
    orange's Avatar
    orange is offline Moderator
    Windows XP Access 2003
    Join Date
    Sep 2009
    Location
    Ottawa, Ontario, Canada; West Palm Beach FL
    Posts
    16,848
    It sounds like you are adding text strings. Make sure you are dealing with numeric data type.

    Show us your field definitions.

  3. #3
    azhar2006's Avatar
    azhar2006 is offline Expert
    Windows XP Access 2007
    Join Date
    Mar 2012
    Posts
    528
    Yes I'm sure it's digital
    But there is a point at $ 100
    There is a comma in the 610

  4. #4
    orange's Avatar
    orange is offline Moderator
    Windows XP Access 2003
    Join Date
    Sep 2009
    Location
    Ottawa, Ontario, Canada; West Palm Beach FL
    Posts
    16,848
    Can you show us the fields and their datatype? Or post a copy of the database with private/confidential stuff removed.

    What is the expression that does the addition?

  5. #5
    azhar2006's Avatar
    azhar2006 is offline Expert
    Windows XP Access 2007
    Join Date
    Mar 2012
    Posts
    528
    ok

    SELECT Table1.ID, Table1.COM, Table1.DAT, Table1.Paid, Table1.nammad, Table1.Quantity, Table1.purity, Table1.Ounce, Table1.wages, ([Ounce]/31.1) AS IOunce, [IOunce]*[purity]+[wages] AS Igram, [Quantity]*[Igram] AS Expr1, [wages]*[Quantity] AS Expr3, [MB]-[Expr1] AS Expr2, [Quantity]*[purity] AS Expr5, [IOunce]*[Expr5] AS Expr4
    FROM tblCOM INNER JOIN Table1 ON tblCOM.IDCOM = Table1.COM;

    Click image for larger version. 

Name:	erererer.JPG 
Views:	8 
Size:	19.2 KB 
ID:	15172

  6. #6
    orange's Avatar
    orange is offline Moderator
    Windows XP Access 2003
    Join Date
    Sep 2009
    Location
    Ottawa, Ontario, Canada; West Palm Beach FL
    Posts
    16,848

  7. #7
    azhar2006's Avatar
    azhar2006 is offline Expert
    Windows XP Access 2007
    Join Date
    Mar 2012
    Posts
    528
    OK
    Thank you for your help
    This is the structure of the tables
    That's where the table that is based on his fields that I mentioned is
    tblFOreign_Companies
    That's where his name was mentioned table (Table1)
    Attached Files Attached Files

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

Similar Threads

  1. currency field in form
    By azhar2006 in forum Forms
    Replies: 5
    Last Post: 01-16-2014, 03:05 PM
  2. formatting a field to be currency in VBA
    By Lupson2011 in forum Forms
    Replies: 8
    Last Post: 06-25-2012, 08:02 AM
  3. Access export currency field to XML
    By pfarnell in forum Import/Export Data
    Replies: 1
    Last Post: 11-29-2011, 01:46 PM
  4. Replies: 2
    Last Post: 03-23-2011, 11:43 AM
  5. Currency Problem
    By EHittner in forum Access
    Replies: 1
    Last Post: 11-05-2009, 09:46 PM

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