Results 1 to 2 of 2
  1. #1
    sanbhau is offline Novice
    Windows XP Access 2007
    Join Date
    Apr 2016
    Posts
    7

    Generating different types of reports from a table

    I have a table which contains data as below,


    Emp_No Emp_Name Designation DOB Posted_at Address Type
    1 A1 X 19-Aug-81 P FGF II
    2 A2 Y 10-Jun-85 P FNH I
    3 B3 X 25-Jul-79 Q LKNFKJN I
    4 N6 Z 28-Apr-80 R HDSZS I
    5 J8 Y 13-Oct-80 P NBGFJ II
    6 F7 X 19-Aug-81 P NDJ I
    7 M3 Z 12-Sep-84 Q BDSE III
    8 F6 Y 10-Jun-85 R NJUK IV
    9 W2 X 26-Jun-85 P NFYTH V

    Now how can I generate following reports,
    1. Staff Position Office Wise
    Office X Y Z Total
    P 3 2 0 5
    Q 1 0 1 2
    R 0 1 1 2
    Total 4 3 2

    2. Staff Position Details
    Designation ‘X’
    P 3 1 Mr. A1 FGF II
    2 Ms. F7 NDJ I
    3 Ms. W2 NFYTH V
    Q 1 1 Mr. B3 LKNFKJN I
    R 0
    Designation ‘Y’
    P 2 1 Mr. A2 FNH I
    2 Ms. J8 NBGFJ II
    Q 0
    R 1 1 Mr. F6 NJUK IV
    Designation ‘Z’
    P 0
    Q 1 1 Mr. M3 BDSE III
    R 1 1 Ms. N6 HDSZS I

  2. #2
    ranman256's Avatar
    ranman256 is offline VIP
    Windows Vista Access 2010 32bit
    Join Date
    Apr 2014
    Location
    Kentucky
    Posts
    9,521
    Dont report on tables, use queries.
    The 1st example you need a CROSSTAB query. Use the Query Wizard. It will guide you thru the step to create it.

    The other is a simple select query.
    use the report wizard to sort it like you showed in the example.

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

Similar Threads

  1. Generating excel reports with ms access vba
    By matthuk1973 in forum Reports
    Replies: 2
    Last Post: 04-05-2016, 09:50 PM
  2. Generating Reports
    By jj1 in forum Access
    Replies: 2
    Last Post: 09-11-2014, 06:58 AM
  3. generating reports into the foreground
    By CurtisHight in forum Reports
    Replies: 3
    Last Post: 12-20-2013, 04:49 PM
  4. Replies: 15
    Last Post: 07-05-2013, 10:44 AM
  5. Generating split reports
    By daddylongtoe in forum Reports
    Replies: 1
    Last Post: 12-02-2010, 05:39 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