Results 1 to 10 of 10
  1. #1
    mmiklauz is offline Novice
    Windows 10 Access 2007
    Join Date
    Jul 2017
    Posts
    10

    Update table problem

    Hi, Access experts! Can someone explain me what is happening (btw sorry for my bed English). I have trouble with updating table. So, in one table I have column (Data Type=Number, Data Size=Double) and in another table I have the same data type and Dana Size column. The problem is when I update the second table with column data from first table I get different number format. I struggling with this problem for two days and I can't understand what is happening.



    Thanks in advance,


    Click image for larger version. 

Name:	Table.jpg 
Views:	9 
Size:	114.3 KB 
ID:	29636

  2. #2
    JoeM is offline VIP
    Windows 7 32bit Access 2007
    Join Date
    Jun 2012
    Posts
    3,904
    That's just the Format property (you can see it is below "Field Size" and above "Decimal Places" in your screen print. You have not selected anything for this property.
    Click on the format property and choose the option you want (one that includes commas).

  3. #3
    mmiklauz is offline Novice
    Windows 10 Access 2007
    Join Date
    Jul 2017
    Posts
    10
    Quote Originally Posted by JoeM View Post
    That's just the Format property (you can see it is below "Field Size" and above "Decimal Places" in your screen print. You have not selected anything for this property.
    Click on the format property and choose the option you want (one that includes commas).
    I did. But still the same thing

    Click image for larger version. 

Name:	Table2.jpg 
Views:	8 
Size:	193.1 KB 
ID:	29639
    Attached Thumbnails Attached Thumbnails Table2.jpg  

  4. #4
    JoeM is offline VIP
    Windows 7 32bit Access 2007
    Join Date
    Jun 2012
    Posts
    3,904
    When you hit the drop-down box, it shows the different options, and what they look like.
    General Number does NOT show commas. Choose one that does, like Standard.

  5. #5
    mmiklauz is offline Novice
    Windows 10 Access 2007
    Join Date
    Jul 2017
    Posts
    10
    Quote Originally Posted by JoeM View Post
    When you hit the drop-down box, it shows the different options, and what they look like.
    General Number does NOT show commas. Choose one that does, like Standard.
    Again, I get different format. I can't understand...

    Click image for larger version. 

Name:	Table3.jpg 
Views:	8 
Size:	148.4 KB 
ID:	29640

  6. #6
    JoeM is offline VIP
    Windows 7 32bit Access 2007
    Join Date
    Jun 2012
    Posts
    3,904
    Please explain how you are updating one table from the other.
    Are you using an Update Query? If so, please post the SQL code for that query.
    It looks like you are dividing the value by 1000.

  7. #7
    mmiklauz is offline Novice
    Windows 10 Access 2007
    Join Date
    Jul 2017
    Posts
    10
    Quote Originally Posted by JoeM View Post
    Please explain how you are updating one table from the other.
    Are you using an Update Query? If so, please post the SQL code for that query.
    It looks like you are dividing the value by 1000.
    Yes I use Update Query,
    there is SQL code:

    UPDATE DISTINCTROW TkontoSum INNER JOIN Tmmdogu ON (TkontoSum.nivo = Tmmdogu.nivo) AND (TkontoSum.konto = Tmmdogu.konto) SET Tmmdogu.[dec] = [Tkontosum]![SumOfiznos], TkontoSum.nivo = [TkontoSum]![nivo], Tmmdogu.konto = [TkontoSum]![konto]
    WHERE (((TkontoSum.nivo)=[TkontoSum]![nivo]) AND ((Tmmdogu.konto)=[TkontoSum]![konto]));

    Click image for larger version. 

Name:	Table4.jpg 
Views:	8 
Size:	106.8 KB 
ID:	29641

  8. #8
    JoeM is offline VIP
    Windows 7 32bit Access 2007
    Join Date
    Jun 2012
    Posts
    3,904
    I am not sure what is going on. It may have something to do with your Regional Settings (where it may be trying to use commas to denote decimals instead of periods).

  9. #9
    mmiklauz is offline Novice
    Windows 10 Access 2007
    Join Date
    Jul 2017
    Posts
    10
    Quote Originally Posted by JoeM View Post
    I am not sure what is going on. It may have something to do with your Regional Settings (where it may be trying to use commas to denote decimals instead of periods).
    Ok, thank you for your help..

  10. #10
    JoeM is offline VIP
    Windows 7 32bit Access 2007
    Join Date
    Jun 2012
    Posts
    3,904
    You are welcome.

    That is where things get tough to replicate, when people are using different versions of Access with different regional settings.
    You may want to play around with those, and see if you can get it working the way you like.
    I would just recommend setting both tables to use the same Data Type and Formats, so you at least eliminate any confusion that may cause.

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

Similar Threads

  1. Entry Update Form Problem with the update
    By cuddles in forum Forms
    Replies: 1
    Last Post: 05-30-2014, 02:38 PM
  2. Query table update problem
    By sroy in forum Forms
    Replies: 1
    Last Post: 06-17-2013, 02:41 AM
  3. Replies: 1
    Last Post: 02-08-2012, 04:50 PM
  4. another update problem
    By slimjen in forum Queries
    Replies: 1
    Last Post: 01-26-2012, 05:20 PM
  5. Replies: 1
    Last Post: 01-22-2011, 12:23 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