Results 1 to 5 of 5
  1. #1
    Chris Waller is offline Novice
    Windows 7 32bit Access 2000
    Join Date
    Oct 2014
    Location
    Blackpool, Lancashire
    Posts
    8

    Query to produce Items to Action Table


    Hello,

    I have created an Access Database which has replaced 15 Spreadsheets. The problem apart from me being a novice at Access, is that I don't know how to create the table below which has been copied from Excel. I have two columns that hold dates. The first column is the date the item was received by the team and the other column is the date that action was completed. The table has to be amendable for any month\year and any number of months etc.

    The data on the BF row calculates anything that was received by the team before the first day of the current month and has no date in the completed column.
    The data on the new row calculates anything that was received within the specific month\year.
    The data on the Carried Forward row is to all intents and purposes the same as the BF data.

    As I am a novice at Access, please be gentle with me.
    Jun-14 Jul-14 Aug-14 Sep-14 Oct-14 Nov-14 Dec-14
    BF 2 8 9
    New 16 22 9
    Carried forward 8 9 13

  2. #2
    ranman256's Avatar
    ranman256 is offline VIP
    Windows Vista Access 2010 32bit
    Join Date
    Apr 2014
    Location
    Kentucky
    Posts
    9,550
    This may be good for XL but not for databases.
    Your acutal table fields should be

    [code], [Date], [Value]
    BF , Jun-14, 8


    This allows searching, other functions. The final XL layout like you have above can be reproduced in reporting/queries, but it is useless for data searching.
    Adjust your table accordingly.

  3. #3
    orange's Avatar
    orange is offline Moderator
    Windows XP Access 2003
    Join Date
    Sep 2009
    Location
    Ottawa, Ontario, Canada; West Palm Beach FL
    Posts
    16,870
    Chris,

    You need to work through a tutorial or two to understand what database and Access really are. You are in spreadsheet mode and that just does not apply to database, as ranman256 has said.
    Here is a tutorial with a solution that will help you understand database/design.
    You have to work through the tutorial. Good luck.

  4. #4
    Chris Waller is offline Novice
    Windows 7 32bit Access 2000
    Join Date
    Oct 2014
    Location
    Blackpool, Lancashire
    Posts
    8
    Thanks for the replies, I will have to work through the tutorial I guess. Thanks again.

  5. #5
    Chris Waller is offline Novice
    Windows 7 32bit Access 2000
    Join Date
    Oct 2014
    Location
    Blackpool, Lancashire
    Posts
    8
    Thanks for that. I was only ever interested in running a report to show the current position rather than trying to do any searches or anything fancy etc.

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

Similar Threads

  1. Query to exclude items from another table
    By BrockWade in forum Queries
    Replies: 5
    Last Post: 02-20-2014, 03:56 PM
  2. Replies: 3
    Last Post: 03-12-2013, 01:38 PM
  3. Replies: 2
    Last Post: 01-28-2013, 11:32 AM
  4. Replies: 17
    Last Post: 09-24-2012, 08:42 AM
  5. Replies: 3
    Last Post: 04-13-2012, 10:39 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