-
Help on Dates
Hello, I'm in 10 grade right now and I have to do a database of a gym. I have done most of it except for the date thing.
What I want to do is to display the expired memberships and I have no idea of what to do.
Example> X person pays 1 month membership, and then 1 month passes and I want the database to recognize the person who haven't payed the membership.
Thank you very much!
-
-
Create a field in the table holding the membership commencement date, which indicates the length of their membership preferably in days. (ie 30 for 1 month). Then in a query add the membership length to the commencement date and this will give you the expiration date of the membership.
IE
ExpirationDate: [StartDate] + [MembershipLength]
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
|