A Microsoft Office (Excel, Word) forum. OfficeFrustration

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.

Go Back   Home » OfficeFrustration forum » Microsoft Access » New Users
Site Map Home Register Authors List Search Today's Posts Mark Forums Read  

Changing Field in One Table based on Date in Another



 
 
Thread Tools Display Modes
  #1  
Old February 19th, 2006, 01:06 AM posted to microsoft.public.access.gettingstarted
external usenet poster
 
Posts: n/a
Default 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  
Old February 19th, 2006, 02:51 AM posted to microsoft.public.access.gettingstarted
external usenet poster
 
Posts: n/a
Default 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  
Old February 19th, 2006, 06:19 AM posted to microsoft.public.access.gettingstarted
external usenet poster
 
Posts: n/a
Default 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

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is Off
HTML code is Off
Forum Jump

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


All times are GMT +1. The time now is 05:12 AM.


Powered by vBulletin® Version 3.6.4
Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
Copyright ©2004-2024 OfficeFrustration.
The comments are property of their posters.