Results 1 to 6 of 6
  1. #1
    GCtechjim is offline Novice
    Windows 7 64bit Access 2007
    Join Date
    Oct 2014
    Posts
    8

    Create something that will be useful with mail merge and multiple values checked per record

    I have set up a database to track items that are issued to employees. I have fields for; First Name, Last Name, Department, Title. Then I have check box fields for the items I am tracking that are labeled "A", "B", "C"... and others.
    What I would like for the final product is to have;

    1. Any fields that are checked "Yes" ("True"?) that relate to the First and Last name to be compiled showing just what the employee has.
    2. Take that information and merge it into a document with the First and Last name in a paragraph and the items that correspond to that employee are listed elsewhere on the same document.
    3. Have the ability to search and find one employee record to merge at a time, instead of all employees in the database.(when someone leaves I can just merge the document "letter" for them to sign.



    I am almost sure that this is possible but I have a limited knowledge of how to set this up. I am not sure what my first step in this would be. Any help would be greatly appreciated.

  2. #2
    ranman256's Avatar
    ranman256 is online now VIP
    Windows Vista Access 2010 32bit
    Join Date
    Apr 2014
    Location
    Kentucky
    Posts
    9,524
    You have a table tEmps for the employee list. EmpID (autonum), FName, Lname, etc

    you have a table tInv for the 'inventory' that a person COULD HAVE. InvID (autonum) ,ItemName, etc

    you have a table tEmpOwns for the actual item an empoyee has, this table has fields
    EmpID
    InvID

    Then on a form you can dbl-click from a list of Inv to add them to the Emp, (rather than yes/no, you add the code to the tEmpOwns table)
    then make a query, qsMailMerge, to join tEmps, tInv, tEmpOwns,...this query is used for mailmerge.

    Open Word, mail template, this uses the query qsMailMerge to build the letters document.

  3. #3
    GCtechjim is offline Novice
    Windows 7 64bit Access 2007
    Join Date
    Oct 2014
    Posts
    8
    Ranman256. Thank for your help. I may not have explained well enough. All of the fields I have are on one table keyinventory_1_Full. For what you are describing, do I have to break up what I have. I have set up several other queries, forms and reports based on what I have and don't want to re-create everything I already have.

  4. #4
    GCtechjim is offline Novice
    Windows 7 64bit Access 2007
    Join Date
    Oct 2014
    Posts
    8
    I have attached a picture of what I have.
    Attached Thumbnails Attached Thumbnails dbase.jpg  

  5. #5
    ranman256's Avatar
    ranman256 is online now VIP
    Windows Vista Access 2010 32bit
    Join Date
    Apr 2014
    Location
    Kentucky
    Posts
    9,524
    Looks great visually, but not usefull in database functionallity.
    NOW, you can run a few queries that de-construct what you have, assemble relational db tables, and still produce the above grid, and functions you need.

  6. #6
    GCtechjim is offline Novice
    Windows 7 64bit Access 2007
    Join Date
    Oct 2014
    Posts
    8
    Quote Originally Posted by ranman256 View Post
    Looks great visually, but not usefull in database functionallity.
    NOW, you can run a few queries that de-construct what you have, assemble relational db tables, and still produce the above grid, and functions you need.
    That is where I am stuck and need the help with.

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

Similar Threads

  1. Replies: 10
    Last Post: 09-22-2020, 03:31 AM
  2. Replies: 1
    Last Post: 04-14-2014, 12:29 PM
  3. Replies: 2
    Last Post: 12-13-2013, 03:13 PM
  4. Mail Merge Multiple Documents At Once, Albert Kallal
    By David92595 in forum Programming
    Replies: 3
    Last Post: 02-05-2013, 05:25 PM
  5. Replies: 7
    Last Post: 10-30-2012, 02:18 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