Results 1 to 6 of 6
  1. #1
    simonwait is offline Novice
    Windows 10 Office 365
    Join Date
    Jun 2020
    Posts
    4

    Is Access report the right tool here?

    Hi.



    I manage a small football (soccer) club and we have all player info in Access which i use to create various documents. This yeah part of the process is that we have to download a squad list of our players. This list shows little frames with the player details in. The trouble is that each time this list is produced the order of the players seems randomised. On this list we then have to stamp each player with a unique player league code. We have the player name, team and league code already in a table and so my thought was to just do a report and maybe add a couple of fields in the table which show which column and row they are on list. (The lists are 2 columns and depending on team size could be 5 rows or up to 10).

    I created a report with the field of the league number but im not sure if can dictate very easily which box the data goes in for a particular player. I get the feeling I'm going to have to go down the VBA route but just wondering if there is a better way of doing this. Ideally i would like to keep this within Access purely because everything else is but if sending things to word, excel or even say publisher is better then they are options. Attached is a crude sketch of what we are doing.

    Click image for larger version. 

Name:	WhatsApp Image 2025-07-19 at 14.11.15_57fd9ca2.jpg 
Views:	28 
Size:	83.3 KB 
ID:	53151

    Many thanks in advance for your thoughts on the best way to approach this.

  2. #2
    Join Date
    Jan 2017
    Location
    Swansea,South Wales,UK
    Posts
    6,552
    You do know that you have to specify the sort order in the report?
    You can specify number of columns in a report very easily.
    You can put that data on another line using Chr(13) & Chr(10)
    Would need to use a Tab character as well or several spaces.

    Not sure how you would surround it with a box though.

    You can put another textbox over a textbox and format that with a border. However then I lose the 2 columns for some reason. However that is only in report view.
    Attached Thumbnails Attached Thumbnails Screenshot 2025-07-19 144847.png  
    Please use # icon on toolbar when posting code snippets.
    Cross Posting: https://www.excelguru.ca/content.php?184
    Debugging Access: https://www.youtube.com/results?sear...bug+access+vba

  3. #3
    June7's Avatar
    June7 is offline VIP
    Windows 11 Access 2021
    Join Date
    May 2011
    Location
    The Great Land
    Posts
    53,770
    Your mockup shows players listed in numerical order snaking right then down except for Jane - why? What rule applies? If league code does not dictate order then you will need another field in table to do that. I have built reports with unusual sort requirements and yes, VBA is involved.

    AFAIK, multi-column does not display in ReportView at all, only PrintPreview or direct to printer.
    Textbox as border works but could use a Rectangle control to surround other controls with a border. In either case, could position it behind others with right click >Position >SendToBack. BackStyle can be set transparent.
    How to attach file: http://www.accessforums.net/showthread.php?t=70301 To provide db: copy, remove confidential data, run compact & repair, zip w/Windows Compression.

  4. #4
    Join Date
    Jan 2017
    Location
    Swansea,South Wales,UK
    Posts
    6,552
    AFAIK, multi-column does not display in ReportView at all.
    Yes, I found that out. I do not play around much with reports.
    Please use # icon on toolbar when posting code snippets.
    Cross Posting: https://www.excelguru.ca/content.php?184
    Debugging Access: https://www.youtube.com/results?sear...bug+access+vba

  5. #5
    Join Date
    May 2018
    Location
    Living in Scotland UK
    Posts
    1,818
    Hi
    Are you able to upload a copy of the database?

  6. #6
    jojowhite's Avatar
    jojowhite is online now Competent Performer
    Windows 11 Access 2021
    Join Date
    Jan 2025
    Posts
    433
    you can create a Two-Column report that is Sorted by LeageNumber.
    see samplereport report on the demo.
    Attached Files Attached Files

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

Similar Threads

  1. Is Access the right tool?
    By wsammy in forum Access
    Replies: 7
    Last Post: 12-09-2017, 12:55 PM
  2. Replies: 3
    Last Post: 05-09-2017, 08:58 AM
  3. Is Access the right tool for this?
    By tmacg7 in forum Access
    Replies: 3
    Last Post: 03-08-2016, 06:20 PM
  4. Replies: 8
    Last Post: 11-08-2012, 07:08 AM
  5. Is Access the right tool for me?
    By buienxg in forum Access
    Replies: 1
    Last Post: 11-26-2011, 02:32 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