Page 2 of 3 FirstFirst 123 LastLast
Results 16 to 30 of 41
  1. #16
    newuserthatneedsassistanc is offline Advanced Beginner
    Windows 7 64bit Access 2007
    Join Date
    Jul 2017
    Posts
    66
    Did the basic query with just QTY STATUS TRANSTYPE as the only fields but it's freezing Access each time

  2. #17
    newuserthatneedsassistanc is offline Advanced Beginner
    Windows 7 64bit Access 2007
    Join Date
    Jul 2017
    Posts
    66
    Keeps freezing


    Click image for larger version. 

Name:	Capt3wure.PNG 
Views:	11 
Size:	16.2 KB 
ID:	29438

  3. #18
    aytee111 is offline Competent At Times
    Windows 10 Access 2013 64bit
    Join Date
    Nov 2011
    Location
    Nomad
    Posts
    3,936
    You need to link the two tables.

  4. #19
    Bulzie is offline VIP
    Windows 7 64bit Access 2007
    Join Date
    Nov 2015
    Posts
    1,474
    If you are still having issues with the data, does that first post query get rid of dups and give you the records to consider when doing the QTY sum? If so, save that query without any conditions or sums, just the GroupBy. Then create a 2nd query based on that first query, add only those 3 fields and do what I said in post 4. Or you could use that query to do a DSum:

    DSum("Qty", "YourQueryName", "[Transtype] = 'L' And [STATUS] In(A,B,C,D,E,F,G,H)"

    Aytee111 and I have given you a few different ways so see which one works. But you should get your recordset correct before trying to do totals and such.

  5. #20
    newuserthatneedsassistanc is offline Advanced Beginner
    Windows 7 64bit Access 2007
    Join Date
    Jul 2017
    Posts
    66
    Shows blank

    Click image for larger version. 

Name:	Capture345345.PNG 
Views:	10 
Size:	4.9 KB 
ID:	29439Click image for larger version. 

Name:	Capt34554ure.PNG 
Views:	10 
Size:	18.0 KB 
ID:	29440

  6. #21
    aytee111 is offline Competent At Times
    Windows 10 Access 2013 64bit
    Join Date
    Nov 2011
    Location
    Nomad
    Posts
    3,936
    To link tables the data has to be exactly the same on both sides. Which field is exactly the same in both tables? It is usual to name them the same so that there is no confusion.

  7. #22
    newuserthatneedsassistanc is offline Advanced Beginner
    Windows 7 64bit Access 2007
    Join Date
    Jul 2017
    Posts
    66
    Got something


    Click image for larger version. 

Name:	Captur32434e.PNG 
Views:	10 
Size:	10.0 KB 
ID:	29443

  8. #23
    newuserthatneedsassistanc is offline Advanced Beginner
    Windows 7 64bit Access 2007
    Join Date
    Jul 2017
    Posts
    66
    IDK how we would have negatives though, everything should be 0 or positive

  9. #24
    aytee111 is offline Competent At Times
    Windows 10 Access 2013 64bit
    Join Date
    Nov 2011
    Location
    Nomad
    Posts
    3,936
    IDK how you got more than one record from the above query.

  10. #25
    newuserthatneedsassistanc is offline Advanced Beginner
    Windows 7 64bit Access 2007
    Join Date
    Jul 2017
    Posts
    66
    Did the link between tables

    Click image for larger version. 

Name:	Ca542354pture.PNG 
Views:	10 
Size:	18.8 KB 
ID:	29446

  11. #26
    orange's Avatar
    orange is offline Moderator
    Windows 10 Access 2010 32bit
    Join Date
    Sep 2009
    Location
    Ottawa, Ontario, Canada; West Palm Beach FL
    Posts
    16,725
    Can you tell us in simple, plain English --no Access jargon -- what are you trying to do?
    Remember we don't know you, your environment or your business.

    Let's identify WHAT before we keep guessing and working with HOW.

  12. #27
    newuserthatneedsassistanc is offline Advanced Beginner
    Windows 7 64bit Access 2007
    Join Date
    Jul 2017
    Posts
    66
    The goal is to try and get the total QTY, when Transtype is L and when Status is ABCDEFGH

  13. #28
    newuserthatneedsassistanc is offline Advanced Beginner
    Windows 7 64bit Access 2007
    Join Date
    Jul 2017
    Posts
    66
    Only certain project numbers [NUMBERS] in projmast is wanted. Those with L and ABCDEFGH

  14. #29
    orange's Avatar
    orange is offline Moderator
    Windows 10 Access 2010 32bit
    Join Date
    Sep 2009
    Location
    Ottawa, Ontario, Canada; West Palm Beach FL
    Posts
    16,725
    As I said we(I specifically) don't know our environment or issue, so clarity is key.

    What exactly does this mean
    The goal is to try and get the total number of hours, which is "QTY", when Transtype is L and when Status is ABCDEFGH
    Status is A or B or C
    OR
    Status ="ABCDEFGH"

    Any detail/context you can provide clearly will be helpful. People are here and willing to help, but not to guess repeatedly at what you are trying to do.

  15. #30
    newuserthatneedsassistanc is offline Advanced Beginner
    Windows 7 64bit Access 2007
    Join Date
    Jul 2017
    Posts
    66
    QTY is quantity of hours
    Each time someone posts hours worked, they enter it into QTY. Im trying to total up QTY for project numbers where Transtype = L and when the project category is either ABCDEFG or H

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

Similar Threads

  1. Replies: 3
    Last Post: 02-23-2016, 12:16 PM
  2. Importing Information From Microsoft Word to Microsoft Access
    By Runlynch in forum Import/Export Data
    Replies: 9
    Last Post: 01-17-2016, 06:21 PM
  3. Replies: 13
    Last Post: 10-06-2015, 09:12 AM
  4. Replies: 1
    Last Post: 09-13-2011, 01:52 PM
  5. Replies: 0
    Last Post: 10-13-2010, 03:28 PM

Tags for this Thread

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