Results 1 to 4 of 4
  1. #1
    astokes1024 is offline Novice
    Windows 10 Office 365
    Join Date
    Sep 2024
    Posts
    3

    Make Table Query is creating a different data set in the created table, but only for 1 column.

    I pasted pictures that didn't appear in a previous thread with the same Title. I'm a newbie and it seems like there isn't a way to edit or delete a thread so I just started a new one.

    My issue:

    I have a make table qry that is displaying this in the datasheet view:
    Class R12 Avg R12 OEC PU $ R12 PU %
    1000 245 6386776 5440409 .852
    2000 16 209490 121322 .579




    My created table is producing the following:

    Class R12 Avg R12 OEC PU $ R12 PU%
    1000 245 6386776 5440409 0
    2000 16 209490 121322 0


    why is only my R12 PU% column not returning valid records?

    this is my Make table SQL:

    SELECT RUL.Hierarchy, PTRSC_SOLByConfigAveragesR12.AvgUnitCount AS [R12 Average Unit Count], PTRSC_SOLByConfigAveragesR12.AvgFleetSizeOEC AS [R12 Average OEC], PTRSC_SOLByConfigAveragesR12.AvgFleetOnRentOEC AS [Physical Ute ($)], PTRSC_SOLByConfigAveragesR12.AvgOnRentPercent AS [R12 PU%] INTO qry_make_table_CC_Performance_Metrics
    FROM RUL LEFT JOIN PTRSC_SOLByConfigAveragesR12 ON RUL.Hierarchy = PTRSC_SOLByConfigAveragesR12.CategoryClassificatio n
    GROUP BY RUL.Hierarchy, PTRSC_SOLByConfigAveragesR12.AvgUnitCount, PTRSC_SOLByConfigAveragesR12.AvgFleetSizeOEC, PTRSC_SOLByConfigAveragesR12.AvgFleetOnRentOEC, PTRSC_SOLByConfigAveragesR12.AvgOnRentPercent;

  2. #2
    Micron is offline Very Inert Person
    Windows 10 Access 2016
    Join Date
    Jun 2014
    Location
    Ontario, Canada
    Posts
    13,423
    I suspect your resulting field is of data type integer or long, neither of which can contain decimal portions of a number. Your results also look like text as they appear to be left justified but can't tell for sure. Try entering the value you expect directly in the table and it probably won't work. Change field property to Double, save, then try editing again.

    I can't think of a reason why you cannot edit the other thread. Site is very slow lately so maybe you didn't wait long enough when you tried. We're also getting time-outs on page loads.
    The more we hear silence, the more we begin to think about our value in this universe.
    Paraphrase of Professor Brian Cox.

  3. #3
    Join Date
    Jan 2017
    Location
    Swansea,South Wales,UK
    Posts
    6,556
    You CANNOT paste pictures on this site.
    You need to use the attachments button, then they look as pasted.
    Always worth previewing a post anyway before posting.
    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

  4. #4
    astokes1024 is offline Novice
    Windows 10 Office 365
    Join Date
    Sep 2024
    Posts
    3
    That was it! Thank you

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

Similar Threads

  1. Replies: 2
    Last Post: 09-13-2024, 02:39 AM
  2. Creating Table from column data in another table.
    By Clifford86 in forum Database Design
    Replies: 9
    Last Post: 05-14-2024, 04:14 PM
  3. Replies: 9
    Last Post: 06-15-2017, 03:00 PM
  4. Replies: 2
    Last Post: 09-27-2014, 09:48 AM
  5. Adding new column to make-table query
    By dtn118 in forum Access
    Replies: 2
    Last Post: 08-03-2008, 06:51 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