Results 1 to 4 of 4
  1. #1
    dougdrex is offline Advanced Beginner
    Windows 7 64bit Access 2010 64bit
    Join Date
    Oct 2014
    Posts
    49

    Display birthday for client and client's spouse

    I'm using Access 2010 to build a database to track clients and assist with follow up.



    One of the queries I'd like to build is a monthly birthday report. My challenge is that I have a table tbl_Clients with fields FirstName, MiddleName, LastName, and BirthDate. I also have fields SpouseFirstName, SpouseLastName, and SpouseBirthDate.

    Querying the clients with a birthday in a given month is quite simple. What I'm struggling with is including the spouse information in the report. I'd like to list the spouse if their birthday is in the month without listing the client information (if their birthday is NOT in that month). Is this possible?

    I can attach a zipped file of the database if it would be helpful.

    Thanks!
    Doug

  2. #2
    ranman256's Avatar
    ranman256 is offline VIP
    Windows Vista Access 2010 32bit
    Join Date
    Apr 2014
    Location
    Kentucky
    Posts
    9,525
    No, it is not attached, but
    Q1 =query your clients with bday that month
    Q2 = Q1 and join to tClients.spouse

  3. #3
    dougdrex is offline Advanced Beginner
    Windows 7 64bit Access 2010 64bit
    Join Date
    Oct 2014
    Posts
    49
    To make sure I understand, you're saying I should create two different queries (one for the clients with bdays in a specific month, and another for the spouses with bdays in a specific month), then join them?

  4. #4
    dougdrex is offline Advanced Beginner
    Windows 7 64bit Access 2010 64bit
    Join Date
    Oct 2014
    Posts
    49
    Based upon reading another thread on this forum on the topic, I created a report for both of my queries. Then I "dragged and dropped" one of them into the other. I've got everything working fine except that there is a prompt in each query for the month number, so when I run the report, it prompts twice for the month number. How can I fix it so that it only prompts for the month number once?

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

Similar Threads

  1. Client ID format alphanumeric
    By Hanhar in forum Access
    Replies: 5
    Last Post: 10-08-2014, 10:49 AM
  2. One Client, many contacts!
    By jessicaford in forum Access
    Replies: 2
    Last Post: 09-01-2014, 10:26 AM
  3. Replies: 9
    Last Post: 02-28-2014, 03:23 PM
  4. Replies: 1
    Last Post: 07-26-2011, 06:10 AM
  5. Client History
    By janjan_376 in forum Access
    Replies: 1
    Last Post: 06-23-2009, 02:44 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