How to Use a Subreport in MS Access

Поділитися
Вставка
  • Опубліковано 1 гру 2024

КОМЕНТАРІ • 13

  • @seanmackenziedataengineering
    @seanmackenziedataengineering  7 місяців тому

    Download the file used in this video: mackenziemackenzie.com/downloads

  • @RolfF.Widmer
    @RolfF.Widmer 21 день тому +1

    Thanks Sean, your video help me a lot! Btw. I like your background music. I also heard a wolf howl (I guess) and a train passing 🙂

    • @seanmackenziedataengineering
      @seanmackenziedataengineering  21 день тому

      Thanks - that office I had a few years ago was right beside some train tracks. I usually had to pause recording while trains went by 😂

  • @RolfF.Widmer
    @RolfF.Widmer 21 день тому +1

    Thanks

  • @v0vo4ka78
    @v0vo4ka78 7 місяців тому +1

    Please write a link to the file in which you are working in the video, and thank you for you video)

    • @seanmackenziedataengineering
      @seanmackenziedataengineering  7 місяців тому

      You can get a download at mackenziemackenzie.com/downloads
      Look for the entry on 2021-11-02. It also has some design for the filter by month which was done on this dataset. ua-cam.com/video/c45ny4vQGFs/v-deo.html

  • @Jaylea1010
    @Jaylea1010 Рік тому +1

    Thanks for the great help!
    Is there a way to change formatting for each "main" report?
    I.E.
    I have multiple companies that use the same subreport. I want to use the formatting for each company (ex. colors and font) but the data is coming from the same query. I have different main reports for each company pulling the same subreport.

    • @seanmackenziedataengineering
      @seanmackenziedataengineering  Рік тому

      You can make changes to colors and things when you use the On Format of different sections of the report object. Open Report in Design > right-click Detail bar > On Format > Code > type something like Me!txtSomething.ForeColor = vbRed
      When you open the report you'll see that textbox has red lettering. Try it! You can then do something like If Me!txtCompany = "Acme Co" Then Me!txtSomething.ForeColor = vbGreen

  • @NotMuchHere
    @NotMuchHere Рік тому +1

    I tried to create something like this ...on a form one table with 12 rows, a sub table with 50 per row, and a sub table to that with 1-1000 rows per sub row. When the form came up, the master section had 10000 rows and the next previous never changed the master row it move the sub sub report ... this is not what was wanted ... is yours better?

    • @seanmackenziedataengineering
      @seanmackenziedataengineering  Рік тому

      It sounds like you need to set the Parent-Child settings on each subreport object so that it filters each detail section. You need to select the subreport container on the parent form in order to see this. Let me know if you cannot find the setting.

  • @josemarandre1971
    @josemarandre1971 Рік тому +1

    Many thanks