Results 1 to 4 of 4
  1. #1
    IncidentalProgrammer is offline Competent Performer
    Windows XP Access 2007
    Join Date
    Aug 2014
    Location
    Texas
    Posts
    156

    Building documents via lists in an Access 2007 database?

    Hi, all!



    I'm trying to plot out something my boss would like added to our database, and I'm not sure if Access is even capable of doing something like this. I haven't been able to get a solid answer out of Google, either (just how to PDF tables, forms, etc).

    What she wants is for this feature to build a full, official insurance policy document. I figure I can do the declarations page (coverages, rates, etc) via a report, and PDF that, but the problem I see is where there are multiple other documents (endorsements) that have to be attached, and these can vary from policy to policy. I'm going to have it set up so that certain endorsements will pop up in a list in policy creation as being required for the policy, based on the parameters on that policy, and I'll build in the ability to add others manually from the list of those available. The plan is to store the actual endorsement forms on the shared drive, rather than typing them into the database, both to preserve their layout, and save space in the database. Is it possible to program Access in such a way that it could read the list of endorsements selected for the policy, pick the right files from the library on the network, and attach them to the part of the policy that it has already produced? Either as PDFs, or as word documents (everyone here knows how to convert to PDF, so I'm not worried about it).

    I've done a tutorial in the past where I was able to get a list of files to print into the Immediate Window, so I know that Access can get out there and find them if you tell it where to look, but is it capable of grabbing them and possibly attaching them to another document?

    For right now, all I'm trying to figure out is IF it's possible. The how will come later down the line (I have quite a bit of building to do before I can even start this part), but the "if" is going to determine some courses of action I take now.

    Has anyone tried something like this? Know if it's even theoretically possible?

  2. #2
    ranman256's Avatar
    ranman256 is offline VIP
    Windows Vista Access 2010 32bit
    Join Date
    Apr 2014
    Location
    Kentucky
    Posts
    9,549
    No declarations needed. I would build a report OR if you already have PDFs, then build a table to house them.
    I myself would keep the pdfs in a document network folder.
    my tForms table would have the paths.
    [docID] [path]
    CoverageA \\server\folder\doc\coverageA.pdf

    another tDocGrp table would have the GROUP of the documents
    [group] [docID]
    Auto CoverageA
    Auto WaiverB


    then you can build groups of documents, and view them. The network allows you to see them easily w/o access.

  3. #3
    June7's Avatar
    June7 is online now VIP
    Windows 7 64bit Access 2010 32bit
    Join Date
    May 2011
    Location
    The Great Land
    Posts
    53,643
    Possible, not simple.

    Code can manipulate PDF files to delete pages or merge PDF files so can build a single file for print output as a continuous document. Otherwise, sequential print individual documents as separate print jobs which has issue of mixing with other print jobs output if sent to shared printer.

    Or build all as Access report. All info for constructing documents (coverages, rates, declarations) would be data in lookup tables and then have a 'build' table that stores ID of selected records as elements of document. Report would have query that joins tables as RecordSource.
    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
    IncidentalProgrammer is offline Competent Performer
    Windows XP Access 2007
    Join Date
    Aug 2014
    Location
    Texas
    Posts
    156
    This is absolutely great. Thanks so much, guys! Not even as scary-sounding as I thought it would be.

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

Similar Threads

  1. Access database with SharePoint lists as backend
    By Gina Maylone in forum SharePoint
    Replies: 8
    Last Post: 11-12-2014, 02:36 AM
  2. Replies: 1
    Last Post: 10-29-2013, 09:46 AM
  3. Replies: 0
    Last Post: 06-19-2012, 05:20 AM
  4. Replies: 0
    Last Post: 05-17-2012, 09:24 AM
  5. Get "My Documents" in Access 2007 macro
    By RMittelman in forum Programming
    Replies: 7
    Last Post: 10-31-2011, 03:01 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