Results 1 to 5 of 5
  1. #1
    Harpya is offline Novice
    Windows 11 Access 2021
    Join Date
    Nov 2023
    Location
    Brazil / USA / Germany
    Posts
    2

    Collection Database - Creating PDFs for each entry in batch

    Hi there, I am new to the forum and newish to access. I have been searching for an answer to my question, and even though it seems rather simple, I am not able to find an answer that works for me. So, I would appreciate any help.



    I have set up a database with a personal collection of historic industrial art items. In the main table, each object (entry) has about 25 columns of specific values (manufacturer, origin, age, history, value, time collected etc.), also there are three entries for photographs showing the object. In principle, it is not much different from, say, a DVD collection.

    I would like to export certain elements (colums) of that table in a pdf so I can easily share it with fellow collectors.

    Here is what I would ideally be able to do:

    1. Have one pdf page for each object with select data and the three images - all of which are already in my extensive table.
    2. Be able to use this template to export multi page pdfs with objects and in an order that I choose (f.e. by year, origin, etc)

    I have already created a form that I can print, but it is nearly impossible for me to format this to a single pdf page for each object. I guess, reports are the way to go, but it seems that I have to create/design a new report, every time I want to export different objects.

    Many thanks for any help, and sorry if this has been answered already. If that is the case, please help me out with a link.

  2. #2
    CJ_London is online now VIP
    Windows 10 Access 2010 32bit
    Join Date
    Mar 2015
    Posts
    11,430
    1. Use a report, not a form
    2. not sure why you believe you need to create/design a new report for different objects - you need to clarify. If it is a case of showing/hiding controls depending on the type of object, use the onformat events to do this

  3. #3
    Micron is offline Virtually Inert Person
    Windows 10 Access 2016
    Join Date
    Jun 2014
    Location
    Ontario, Canada
    Posts
    12,801
    Yes you need a report, which you can also output as a pdf if desired. Each page can be one item. The fields you include are governed by the query you create for the report. Why do you think you need additional reports for additional items? One report should be good enough if it has the same format as any other for this purpose. If your images are stored in a table then that will soon cause your db to bloat to the maximum size and you will have issues with that. Common approach is to store images in a folder and link to them in the appropriate control(s).
    The more we hear silence, the more we begin to think about our value in this universe.
    Paraphrase of Professor Brian Cox.

  4. #4
    June7's Avatar
    June7 is online now VIP
    Windows 10 Access 2010 32bit
    Join Date
    May 2011
    Location
    The Great Land
    Posts
    52,929
    As already advised, build a report and use its Sorting & Grouping features to set record ordering and even force page breaks if desired. Explore DoCmd.OpenReport and DoCmd.OutputTo commands. Review https://codekabinett.com/rdumps.php?...docmd-outputto



    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
    Harpya is offline Novice
    Windows 11 Access 2021
    Join Date
    Nov 2023
    Location
    Brazil / USA / Germany
    Posts
    2
    Thank you all for the quick replies. I see that Access is much more complicated than I had hoped, but it is proportional to its power, I guess. Especially the commands and codes are a challenge, but I will do some more digging.

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

Similar Threads

  1. Creating multiple PDFs from 1 report
    By ManipulatoRX in forum Reports
    Replies: 1
    Last Post: 01-10-2018, 05:09 PM
  2. Creating a database for end user data entry Access 2003
    By ethan.geerdes in forum Database Design
    Replies: 2
    Last Post: 02-19-2016, 08:23 AM
  3. Replies: 7
    Last Post: 05-10-2012, 01:02 PM
  4. Replies: 1
    Last Post: 11-28-2011, 12:39 PM
  5. Replies: 5
    Last Post: 05-03-2011, 07:55 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