Page 2 of 2 FirstFirst 12
Results 16 to 20 of 20
  1. #16
    Jaap's Avatar
    Jaap is offline Advanced Beginner
    Windows 11 Access 2021
    Join Date
    Apr 2017
    Location
    North Holland
    Posts
    49
    I like to thank you all,



    Note I don't see why you use whole numbers for your weights, you may need to change your datatype to double - otherwise your fisherman may lose out

    Before I will do anything, can you confirm if the changes I've made are correct, please?

    Click image for larger version. 

Name:	Changed to Double.png 
Views:	20 
Size:	86.0 KB 
ID:	51189


  2. #17
    Jaap's Avatar
    Jaap is offline Advanced Beginner
    Windows 11 Access 2021
    Join Date
    Apr 2017
    Location
    North Holland
    Posts
    49
    I think this is what you mean to tell me.

    I've made some experiments with Update Query, when using Field Size Double: it works fine, when using Long Integer: in some cases wrong calculations appears.

    Table setting
    Click image for larger version. 

Name:	Field Size Double.png 
Views:	15 
Size:	5.4 KB 
ID:	51199
    Last edited by Jaap; 12-13-2023 at 03:48 AM. Reason: Again placing wrong examples :-(

  3. #18
    Jaap's Avatar
    Jaap is offline Advanced Beginner
    Windows 11 Access 2021
    Join Date
    Apr 2017
    Location
    North Holland
    Posts
    49
    Thank you all for helping me, everything is working fine now. :-)

  4. #19
    Join Date
    Jan 2017
    Location
    Swansea,South Wales,UK
    Posts
    4,940
    Quote Originally Posted by Jaap View Post
    I think this is what you mean to tell me.

    I've made some experiments with Update Query, when using Field Size Double: it works fine, when using Long Integer: in some cases wrong calculations appears.

    Table setting
    Click image for larger version. 

Name:	Field Size Double.png 
Views:	15 
Size:	5.4 KB 
ID:	51199
    it is called Integer for a reason?
    The Long just means you can hold larger integer numbers in it, as opposed to the Integer type.

    https://learn.microsoft.com/en-us/of...a-type-summary
    Please use # icon on toolbar when posting code snippets.
    Cross Posting: https://www.excelguru.ca/content.php?184
    Debugging Access: https://www.youtube.com/results?sear...bug+access+vba

  5. #20
    Jaap's Avatar
    Jaap is offline Advanced Beginner
    Windows 11 Access 2021
    Join Date
    Apr 2017
    Location
    North Holland
    Posts
    49
    Quote Originally Posted by Welshgasman View Post
    it is called Integer for a reason?
    The Long just means you can hold larger integer numbers in it, as opposed to the Integer type.

    https://learn.microsoft.com/en-us/of...a-type-summary
    Dear Welshgasman,

    Thank you for helping me, I've learne from Micron I've pasted undernee:

    The question I have is, do you really want to alter the numbers in the table? Then you'd need a calculated field in an Update query that either divides or multiplies the fields by 2. Usually it's best to leave original data alone and do the calculations in forms or reports (because you shouldn't be mucking about in tables or queries). That way you don't lose the original values should something go wrong with the process that would edit this data.

    I was trying to drive everyone crazy with my nervous behavior, apologies for that.

    While working in a Copy File, and with the Update Query, I saw that there were indeed errors in the results.
    With the settings as in the Appendix, I see that the results are fortunately OK.

    Click image for larger version. 

Name:	Final solution for me.png 
Views:	10 
Size:	42.1 KB 
ID:	51215

    Regards Jaap.

Page 2 of 2 FirstFirst 12
Please reply to this thread with any new information or opinions.

Similar Threads

  1. Capturing real time Data from Bio-metric Scanner DB!
    By cap.zadi in forum Import/Export Data
    Replies: 7
    Last Post: 10-09-2018, 07:17 AM
  2. Employee Metric DB-stuck on design
    By JeRz in forum Database Design
    Replies: 2
    Last Post: 07-16-2018, 09:20 AM
  3. Replies: 0
    Last Post: 06-17-2016, 08:56 AM
  4. Using pound sign as date delimiter
    By EddieN1 in forum SQL Server
    Replies: 1
    Last Post: 03-07-2012, 10:38 PM
  5. Replies: 1
    Last Post: 11-02-2011, 02:18 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