Results 1 to 7 of 7
  1. #1
    Kennertoy is offline Novice
    Windows 7 32bit Access 2010 32bit
    Join Date
    Oct 2011
    Posts
    29

    Smile Linked Data Bases for Mailing Labels


    Hello Ladies & Gentlemen. I have two data bases that I have created as a continuing learning project of Access. They both perform as I had planned (with help from your Forum). I have not had any formal trainging, so this question may make you chuckle. One data base is for an Address book containing just addresses of friends and family. The other is a Anniversary & Birthday book with Names, relationships for sending cards at the appropriate time of the year. The only downer is you manually have to go the Address book to get the information and write the address on the card envelope.

    Now I thought - could I make address labels from using the data in both DB? Or, do I create a new DB and import data from the other two. I decided this to ask the forum this time before I get into trouble and have any issues I cannot resolve (not to say that I still could have some issues later).

    Thank you for reading my post, and in advance for any advice.
    I hope I have explained the problem well enough to all of you.

  2. #2
    RuralGuy's Avatar
    RuralGuy is offline Administrator
    Windows 7 64bit Access 2010 32bit
    Join Date
    Mar 2007
    Location
    8300' in the Colorado Rocky Mountains
    Posts
    12,922
    Do both tables have a PrimaryKey (PK) field, hopefully an AutoNumber field? Will there *always* be a record in the AddressBook table for any record in the Birthday table and does the Birthday table have a ForeignKey (FK) field that contains the PK from the AddressBook table record?

  3. #3
    Kennertoy is offline Novice
    Windows 7 32bit Access 2010 32bit
    Join Date
    Oct 2011
    Posts
    29
    Thanks RuralGuy
    Both have primary Key(PK) & both AutoNumber. There "Always is" a record in the address book for any record in the Birthday table. I put a new field in the Birhtday table called Foreign Key - Number. I don't know what you mean by having ' the Birthday table have a ForeignKey (FK) field that contains the PK from the AddressBook table record?' Do you want me to open the AddressBook table and patch the entries from the PK there to the Birthday table Foreign Key field?

    Ken.

  4. #4
    RuralGuy's Avatar
    RuralGuy is offline Administrator
    Windows 7 64bit Access 2010 32bit
    Join Date
    Mar 2007
    Location
    8300' in the Colorado Rocky Mountains
    Posts
    12,922
    Each record in the Birthday table needs the PK value of the Address table record so that the relationship can be established. You may have to do it by hand to get it started.

  5. #5
    RuralGuy's Avatar
    RuralGuy is offline Administrator
    Windows 7 64bit Access 2010 32bit
    Join Date
    Mar 2007
    Location
    8300' in the Colorado Rocky Mountains
    Posts
    12,922
    Once each Birthday record has a pointer to the matching record on the Address table you can create the join. Then you can use a query to view the two tables as sort of one record. This make is very easy to display and use fields from either table any way you desire.

  6. #6
    Kennertoy is offline Novice
    Windows 7 32bit Access 2010 32bit
    Join Date
    Oct 2011
    Posts
    29
    Well RG you are the man!. I did find out however, that I did not have an address in the address table for every entry of the Birthday table. Anyway, I had already had the Qry made and after I manually updated the FK with the address table PK the qry ran like stink! (Pardon the phrase), but I was very pleased. I have made the labels and my wife is very pleased. Thanks for the lesson.

    Ken.

  7. #7
    RuralGuy's Avatar
    RuralGuy is offline Administrator
    Windows 7 64bit Access 2010 32bit
    Join Date
    Mar 2007
    Location
    8300' in the Colorado Rocky Mountains
    Posts
    12,922
    Glad we could help and thanks for posting back with your success!

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

Similar Threads

  1. Mailing labels formatting
    By Keith Sayers in forum Reports
    Replies: 11
    Last Post: 01-01-2013, 01:13 AM
  2. Centering Mailing Labels if line is Blank
    By shane201980 in forum Reports
    Replies: 4
    Last Post: 10-24-2012, 09:00 PM
  3. Two Data Bases Linking Tables
    By Cran29 in forum Import/Export Data
    Replies: 0
    Last Post: 05-11-2012, 01:28 AM
  4. Replies: 0
    Last Post: 05-09-2012, 02:19 PM
  5. Mailing Labels from a Search Form
    By waltb in forum Access
    Replies: 4
    Last Post: 03-08-2012, 06:03 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