1. Computer problem? Tech Support Guy is completely free -- paid for by advertisers and donations. Click here to join today! If you're new to Tech Support Guy, we highly recommend that you visit our Guide for New Members.

Access - Simple Timecard Crosstab

Discussion in 'Business Applications' started by chaostheory, Dec 12, 2011.

Thread Status:
Not open for further replies.
Advertisement
  1. chaostheory

    chaostheory Thread Starter

    Joined:
    May 18, 2007
    Messages:
    114
    I have a setup similar to this, with a crosstab query. How can i make the numbers from Tuesday show up on the same row as Monday for the same project name/task name combination... The numbers are hours spent on a particular project

    [​IMG]
     
  2. Rockn

    Rockn

    Joined:
    Jul 29, 2001
    Messages:
    21,334
    Hide the date field in the query.

    Actually they never will because they are bound to different dates, tasks and projects. If you want it for all of them put them as criteria and hide the fields.
     
  3. chaostheory

    chaostheory Thread Starter

    Joined:
    May 18, 2007
    Messages:
    114
    Gosh that was easy lol. Sorry for asking such a newb question. Now i realize that all fields set as groupby row have to be identical for them to group the data on the same row. Removed the date field and it worked perfectly!

    The next dilema is now that i removed date i have no way to pull a timecard for "one week".

    Edit: actually i can just store the "week ending" date in each record for that week and just use the date on the last sheet as the date to pull records for...then it will pull all the time records for that employee on that week. Fantastic...

    I love it when things start to come together.
     
  4. Rockn

    Rockn

    Joined:
    Jul 29, 2001
    Messages:
    21,334
    You can put a parameter as the criteria for the date filed like Between [Begin Date] and [End Date] and it will prompt you for the dates.You can also do it via a form that fires off the query.
     
As Seen On
As Seen On...

Welcome to Tech Support Guy!

Are you looking for the solution to your computer problem? Join our site today to ask your question. This site is completely free -- paid for by advertisers and donations.

If you're not already familiar with forums, watch our Welcome Guide to get started.

Join over 733,556 other people just like you!

Loading...
Thread Status:
Not open for further replies.

Short URL to this thread: https://techguy.org/1030936

  1. This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
    By continuing to use this site, you are consenting to our use of cookies.
    Dismiss Notice