Results 1 to 4 of 4
  1. #1
    ss188 is offline Novice
    Windows 10 Access 2016
    Join Date
    Mar 2017
    Posts
    2

    Advice - getting data filtered to generate report

    Hello all

    I wonder if anyone can help me/point me in the right direction.

    I have a large dataset which has data about students in a school. Each student is in several classes. What I need to do, and am struggling is to filter the students for each class then populate a report with that group of students. I have over 100 classes so need to automate this process. I am really struggling with how to filter the data and then place it within the report. I need the whole process automated.



    Here is some example data -

    name Grade Grade Class 1 Class 2 Class 3 Class 4
    xx 2 3 8G 8F 8D 8M
    xx 8J 8G 8E 8J
    xx 8E 8S 8G 8G
    xx 8S 8J 8E 8K

    This s a small sample of the data. I need to select the students for each class then populate a report with that data for every class I have. Any pointers would be really helpful.

    Regards

  2. #2
    ranman256's Avatar
    ranman256 is offline VIP
    Windows Vista Access 2010 32bit
    Join Date
    Apr 2014
    Location
    Kentucky
    Posts
    9,525
    your data is designed wrong. Relational databases use normalized records. Yours should be:
    Name, Grade,Class
    xx, 2, 8g
    xx, 2, 8f
    xx, 2, 8m

    queries then collate and report data from this.

  3. #3
    ss188 is offline Novice
    Windows 10 Access 2016
    Join Date
    Mar 2017
    Posts
    2
    Sorry, thanks for the advice but I don;t think I explained myself correctly. The problem I have is that I get the data from another system in this format. Unfortunately I cannot get it out any other way so have it in a flat file in the first instance. I need to be able to get it in a format that I can use but not sure how to automate this.

    Regards

  4. #4
    andy49's Avatar
    andy49 is offline VIP
    Windows 10 Access 2007
    Join Date
    Nov 2016
    Location
    London
    Posts
    1,051
    You could put the data in a temporary table then "sort it " into the correct table structure using sql/vba. Easier to work with from there.


    Sent from my iPhone using Tapatalk

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

Similar Threads

  1. Replies: 5
    Last Post: 12-12-2016, 07:23 AM
  2. Replies: 0
    Last Post: 07-18-2016, 10:41 AM
  3. Replies: 9
    Last Post: 03-21-2014, 10:51 AM
  4. Filtered Report from filtered datasheet form
    By gemadan96 in forum Reports
    Replies: 7
    Last Post: 01-03-2014, 05:12 PM
  5. Report based of filtered data from a form
    By Fabdav in forum Reports
    Replies: 1
    Last Post: 09-15-2011, 05:28 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