AllExperts > Using MS Access 
Search      
Using MS Access
Volunteer
Answers to thousands of questions
 Home · More Using MS Access Questions · Answer Library  · Encyclopedia ·
More Using MS Access Answers
Question Library

Ask a question about Using MS Access
Volunteer
Experts of the Month
Expert Login

Awards

About Us
Tell friends
Link to Us
Disclaimer

 
 
 
 
About Scottgem
Expertise
I can answer almost all types of questions relating to Microsoft Access usage and application design. My strengths are database and interface design.

Experience
I've been designing databases for over 15 years working with dBase, FoxPro, Approach and Access.

Organizations
Author of Microsoft Office Access 2007 VBA
Techncial Editor for Special Edition Using Microsoft Access 2007 and Access 2007 Forms, Reports & Queries From Que Publishing

 
   

You are here:  Experts > Computing/Technology > Business Software > Using MS Access > MS Access - Date Driven Database

Using MS Access - MS Access - Date Driven Database


Expert: Scottgem - 2/3/2005

Question
My unique key is today's date.  Is there anyway I can have it automatically add days. As it adds days I also need it to write the weekday on the second column.  

Thanks.  

Answer
I'm not sure what you mean by add days. Can you be more specific. Or check out the DateAdd function, which may do what you want.

You do NOT want to store the Weekday in your table. As a general rule we do not store calculated values and weekday is a calculation based on a date. If you want to display the weekday on forms or reports, just set a control's data source to:

=Format([datefield],"dddd")

If you just want the day abbreviation use "ddd".

HTH
Scott<>

Add to this Answer   Ask a Question


 
User Agreement | Privacy Policy | Kids' Privacy Policy | Help
Copyright  © 2008 About, Inc. AllExperts, AllExperts.com, and About.com are registered trademarks of About, Inc. All rights reserved.