If this is your first visit, be sure to check out the FAQ by clicking the link above. You may have to register before you can post: click the register link above to proceed. To start viewing messages, select the forum that you want to visit from the selection below. |
|
|
Thread Tools | Display Modes |
#1
|
|||
|
|||
Changing Field in One Table based on Date in Another
I have a customer table and a membership table. A customer can have many
memberships. Most memberships expire after 10 weeks or so. Is there a way to have an Active checkbox in the customer table uncheck or become false when all the customers memberships have gone past their expiration date? The reason I want to do this is because I enter visits on a form into the visit table. I get the info from a sign in sheet. If I'm entering visits and a customer doesn't have an active membership I need to know about it so I can speak with them about renewing. My logic is: Only Active customers will be available in the pull down list for customers on the visit input form. Thanks for any answers or advice. Steve |
#2
|
|||
|
|||
Changing Field in One Table based on Date in Another
On Sat, 18 Feb 2006 17:06:22 -0800, "scs"
wrote: I have a customer table and a membership table. A customer can have many memberships. Most memberships expire after 10 weeks or so. Is there a way to have an Active checkbox in the customer table uncheck or become false when all the customers memberships have gone past their expiration date? The reason I want to do this is because I enter visits on a form into the visit table. I get the info from a sign in sheet. If I'm entering visits and a customer doesn't have an active membership I need to know about it so I can speak with them about renewing. My logic is: Only Active customers will be available in the pull down list for customers on the visit input form. Thanks for any answers or advice. Steve It's not necessary to store this information in a (redundant) field in the membership table. Instead, you can base the combo box on a Query joining the membership table to the customer table; select only active memberships. Uncheck all the fields in the membership table in the Show checkbox on the query designer, and set the Query's Unique Values property to True. John W. Vinson[MVP] |
#3
|
|||
|
|||
Changing Field in One Table based on Date in Another
Thank you. I'll give it a try. I guess the sky's the limit on what can be
done. "John Vinson" wrote in message ... On Sat, 18 Feb 2006 17:06:22 -0800, "scs" wrote: I have a customer table and a membership table. A customer can have many memberships. Most memberships expire after 10 weeks or so. Is there a way to have an Active checkbox in the customer table uncheck or become false when all the customers memberships have gone past their expiration date? The reason I want to do this is because I enter visits on a form into the visit table. I get the info from a sign in sheet. If I'm entering visits and a customer doesn't have an active membership I need to know about it so I can speak with them about renewing. My logic is: Only Active customers will be available in the pull down list for customers on the visit input form. Thanks for any answers or advice. Steve It's not necessary to store this information in a (redundant) field in the membership table. Instead, you can base the combo box on a Query joining the membership table to the customer table; select only active memberships. Uncheck all the fields in the membership table in the Show checkbox on the query designer, and set the Query's Unique Values property to True. John W. Vinson[MVP] |
Thread Tools | |
Display Modes | |
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
Need to Improve Code Copying/Pasting Between Workbooks | David | General Discussion | 1 | January 6th, 2006 03:56 AM |
Changing Date Field Automatically Based on Information InAnother F | Candiria | Using Forms | 6 | June 20th, 2005 10:34 PM |
Access combo box-show name, not ID, in table? | write on | New Users | 30 | April 30th, 2005 09:11 PM |
Table Design | A. Williams | Database Design | 3 | April 29th, 2005 07:02 PM |
Office 2003 installation problem, log file attached.... | Ryan | Setup, Installing & Configuration | 0 | January 20th, 2005 06:57 PM |