Results 1 to 12 of 12
  1. #1
    TSD is offline Novice
    Windows 10 Access 2019
    Join Date
    Sep 2025
    Posts
    3

    How create a printable form or report that will print a membership id card

    Hello all!
    This is my first post here. I'm new to creating access database and having some issues.
    I was given the task of taking the database table from an older commercial membership software package that crashed, and no longer has support, and create an access front end for that table. I can load the table into access but it had some issues in formatting so I exported it to an Excel sheet so I could cleanup the issues. I then used Access to import that cleaned up Excel sheet and from there started building the front end.
    So far I have a working front end and various search functions that are working well.

    The next step is to be able to take the MembershipID (twice, once showing the member number and the second one using free3to9 barcode font), MembersFirstName, MembersLastName, ExpirationDate, and MemberPhoto and create a printable ID card on an actual ID card printer.

    This is where I am totally lost! I have tried to create a report, choosing the card printer as the destination printer in order to create the correct report page size (plastic cards are 85.6mm x 53.98mm) but I cannot get the data to display correctly.
    I still have to create the ability to take a photo of the member using webcam, from within Access. The photos are stored in a folder using the members ID number as the filename.

    The I have created a visual representation of the ID card on the form that has the Members record info on and it looks exactly how I want it to look if printed to a plastic ID card. Clueless where to start. Here is what the visual of the card looks like in my member record form: The red is just me scratching out the Business name at the top and the Members name in the middle.
    I have created a text box for the name that combines the first and last name and centered in the box for consistency as there are a lot of short and long first and last names out there! Any help on how to go about this would be greatly appreciated!
    Click image for larger version. 

Name:	MemberID Example.jpg 
Views:	48 
Size:	17.4 KB 
ID:	53293

  2. #2
    Join Date
    Jan 2017
    Location
    Swansea,South Wales,UK
    Posts
    6,550
    I would normally say to use a report, but if you already have the ID card as a form (or make it such) then print the form for relevant records? Not something I have done deliberately, I must admit.

    See if this helps. https://www.google.com/search?q=prin...hrome&ie=UTF-8

    Otherwise, replicate the ID card in a normal report and use that for relevant records. This method is probably a lot easier.
    If you cannot find the correct layout dimensions, then create a custom layout to match your ID card paper.
    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
    jojowhite's Avatar
    jojowhite is offline Competent Performer
    Windows 11 Access 2021
    Join Date
    Jan 2025
    Posts
    430
    for photo capturing, there is a free working database here:

    cheap alternative to Access Imagine | Access World Forums

    if you can upload your db with the ID card image, i can incorporate the code
    to your db.

  4. #4
    June7's Avatar
    June7 is offline VIP
    Windows 11 Access 2021
    Join Date
    May 2011
    Location
    The Great Land
    Posts
    53,770
    Quote Originally Posted by TSD View Post
    I have tried to create a report, choosing the card printer as the destination printer in order to create the correct report page size (plastic cards are 85.6mm x 53.98mm) but I cannot get the data to display correctly.
    And why not? What happens?
    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.

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

  6. #6
    TSD is offline Novice
    Windows 10 Access 2019
    Join Date
    Sep 2025
    Posts
    3
    Thanks @mike60smart for pointing me to that Microsoft document!
    I figured out what I was doing wrong.. I was pulling data from the table when I should have been pulling the data from the current open form which has all the correct fields for the current record to be on the report AND the member form MUST be open for the report to pull the data otherwise it only shows the expressions in the fields
    Click image for larger version. 

Name:	Screenshot 2025-09-30 110405.jpg 
Views:	33 
Size:	24.3 KB 
ID:	53294.

  7. #7
    Join Date
    Jan 2017
    Location
    Swansea,South Wales,UK
    Posts
    6,550
    No, I would pull from table but for ids required, which might be on the form,
    I would likely have a print form that specifies the IDs.
    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

  8. #8
    TSD is offline Novice
    Windows 10 Access 2019
    Join Date
    Sep 2025
    Posts
    3
    I was trying to pull from the table but that seems where I was having issues displaying anything. Plus, the Name and Expire areas on the card are a text box pulling in 2 values (eg first and last name) in order to center justify the full name in the text box. Same for the Expire area... its a text box with the text "Expires" & a formatted pull of the expiring date field of that record. The main club member form that displays the members record has a button to print the ID card for that record. I have no other area that would need that form displayed.

  9. #9
    Join Date
    Jan 2017
    Location
    Swansea,South Wales,UK
    Posts
    6,550
    All of that can be done in the report, but if you have it working leave it as it is, one card at a time.
    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

  10. #10
    jojowhite's Avatar
    jojowhite is offline Competent Performer
    Windows 11 Access 2021
    Join Date
    Jan 2025
    Posts
    430
    Quote Originally Posted by TSD View Post
    Thanks @mike60smart for pointing me to that Microsoft document!
    I figured out what I was doing wrong.. I was pulling data from the table when I should have been pulling the data from the current open form which has all the correct fields for the current record to be on the report AND the member form MUST be open for the report to pull the data otherwise it only shows the expressions in the fields
    Click image for larger version. 

Name:	Screenshot 2025-09-30 110405.jpg 
Views:	33 
Size:	24.3 KB 
ID:	53294.
    you mean gasman?

  11. #11
    Join Date
    Jan 2017
    Location
    Swansea,South Wales,UK
    Posts
    6,550
    No Mike posted a link in #5
    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

  12. #12
    Join Date
    May 2018
    Location
    Living in Scotland UK
    Posts
    1,818
    Hi Gasman I think your tip to use the Form showed the Op the way forward.
    My linked doc was to do with Normalization.

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

Similar Threads

  1. Replies: 8
    Last Post: 01-01-2022, 01:26 PM
  2. Replies: 2
    Last Post: 03-09-2018, 07:11 PM
  3. Replies: 6
    Last Post: 11-21-2016, 04:48 AM
  4. Create a printable report of certain records
    By gjpcrest in forum Access
    Replies: 3
    Last Post: 09-08-2016, 01:18 AM
  5. Replies: 3
    Last Post: 05-18-2015, 08:46 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