Results 1 to 6 of 6
  1. #1
    waqas is offline Competent Performer
    Windows XP Access 2007
    Join Date
    Aug 2011
    Posts
    117

    Cool Sub Queries

    Dear Experts.

    i want to count type from one table in different columns how can i write query.

    IDTYPEMONTH419877OFFOCT419877OFFDEC419877Annual LeaveDEC419877Annual LeaveDEC420219Annual LeaveDEC420219Annual LeaveDEC420219Annual LeaveDEC420260OFFNOV420260OFFDEC420260Annual LeaveNOV420260Annual LeaveNOV420260Annual LeaveNOV420260Annual LeaveNOV420260Annual LeaveNOV420260Annual LeaveNOV

    it should be count like this



    ID, MONTH, OFF, ANNUAL LEAVE
    419877 OCT 1 2

    for each id in each month

    kidly guide me how can i write a query

  2. #2
    admessing's Avatar
    admessing is offline GIS DBase Tamer
    Windows XP Access 2007
    Join Date
    Dec 2011
    Location
    Northern CO
    Posts
    79
    First thing you may watn to do is put your data in the forum into a format that is easier to read for us....it all runs together in your initial post.

    Try giving us a screenshot of the data...or export a few records to an excel spreadsheet and posting that. Its hard to determine where one variable begins and another ends.

  3. #3
    waqas is offline Competent Performer
    Windows XP Access 2007
    Join Date
    Aug 2011
    Posts
    117

    Wink how to write query

    Dear Experts.

    i have attached datasheet image.

    i want to count late, EarlyOrLate and type from one table in different columns how can i write query.

    note in type column more than one information in different dates

    like "Annual Leave", "Sick Leave", "OFF" and more

    example:

    ID, MONTH, OFF, ANNUAL LEAVE, Sick Leave
    419877, OCT, 1, 2, 3

    how can i count different information in different columns by query.

  4. #4
    waqas is offline Competent Performer
    Windows XP Access 2007
    Join Date
    Aug 2011
    Posts
    117

    Cool Need how to write Query

    Dear Experts,

    kindly guide me as my last email.

    just reminder.

  5. #5
    waqas is offline Competent Performer
    Windows XP Access 2007
    Join Date
    Aug 2011
    Posts
    117

    Unhappy

    Just Reminder

  6. #6
    waqas is offline Competent Performer
    Windows XP Access 2007
    Join Date
    Aug 2011
    Posts
    117

    Question

    Kindly guide me.

    how can i write query to get result from rows information in columns

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

Similar Threads

  1. VBA vs Queries
    By TheDeceived in forum Access
    Replies: 6
    Last Post: 12-16-2011, 06:11 AM
  2. Value from 2 queries
    By kwooten in forum Reports
    Replies: 1
    Last Post: 10-19-2011, 01:23 PM
  3. Help with SQL queries
    By gary223 in forum Queries
    Replies: 7
    Last Post: 04-29-2011, 09:43 PM
  4. Queries
    By MeganDoak in forum Queries
    Replies: 3
    Last Post: 04-22-2010, 12:13 AM
  5. need help with queries
    By gromit95 in forum Queries
    Replies: 1
    Last Post: 02-06-2009, 06:50 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