Results 1 to 2 of 2
  1. #1
    Derrick0690 is offline Novice
    Windows 7 32bit Access 2007
    Join Date
    Mar 2012
    Posts
    4

    Query Help - Beginner User

    Good morning everyone. I have a question regarding designing a query in MS Access 2007 that I could use some help with. I am not very experienced with this program and I think that is why I am having this problem. Please keep in mind that I do not know code or MYSQL.



    I have two tables. Each table’s design can be seen below.

    I need to build a query to return the total amount of hours that were spent by each role on each task. I also need to include the Project ID associated with each task as well as the associated task description. How would I go about doing this?

    Regards,
    Derrick0690
    Resource Information Table
    Initials Text
    Last Text
    First Text
    Role Text
    Email Text

    Data Table
    Record Number AutoNumber
    Project ID Number
    Task Text
    Task Desc Text
    Hours Number
    Resource Initials Text

  2. #2
    Robeen is offline VIP
    Windows XP Access 2010 32bit
    Join Date
    Mar 2011
    Location
    Tulsa, Oklahoma.
    Posts
    1,596
    1. Create a New Query in Design View.
    2. Select your two tables.
    3. Drag the Initials field from one table to the other in the design window to create a join between the two tables.
    4. Double-Click each of the fields from the two tables that you need to see in your query [this should put the fields in the query pane below].
    5. Sort your query by Initials [hopefully no two people have the same initials - or name], and then sort by Task.
    6. Run your query.

    If you have the right data, then you can Group your results by Resource and Task and do a Sum on the Hours.

    Let us know if you have problems.

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

Similar Threads

  1. Expression help for a beginner
    By Badvgood in forum Queries
    Replies: 5
    Last Post: 12-01-2011, 05:31 PM
  2. Beginner at relationships.
    By Juice118 in forum Database Design
    Replies: 6
    Last Post: 08-02-2011, 09:33 AM
  3. Help a DB beginner
    By adquinn in forum Access
    Replies: 0
    Last Post: 02-08-2011, 08:25 PM
  4. Beginner Access Help
    By Joseph in forum Access
    Replies: 1
    Last Post: 03-07-2010, 04:36 PM
  5. Absolute Beginner Help
    By jonesbp in forum Access
    Replies: 1
    Last Post: 08-17-2009, 08: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