Hello, I am hoping that someone can help me.... I have read some information about storing dates in an access table, but I am unsure about how to go about it.
I am wanting to be able to lookup dates from a table based on a start date and a frequency (being weekly, fortnightly, monthly etc.), both entered by the user.
I have created a query to generate the next date, but I am stuck on generating the subsequent dates.
I am not sure if I should create more queries to generate the dates I need, or a table to just store all the future dates and then use queries to lookup what I need.
This is a post that I have read and I am wondering if someone can please assist me with setting something up in the manner described below:
"I tend to cheat. Build a table of dates going 20 years into the future. Add columns for year, month, week, weekday financial year / half year / quarter and anything else you can think of. (Use Excel to build the table and import it). Avoid using Day, Month, Week or Year as field names; Access will get confused because those words are function names. Because I call the table AllTime I tend to use AT_Date, AT_Month, etc as the field names."
In this instance, I am trying to avoid VBA.
Thank you kindly.
I am wanting to be able to lookup dates from a table based on a start date and a frequency (being weekly, fortnightly, monthly etc.), both entered by the user.
I have created a query to generate the next date, but I am stuck on generating the subsequent dates.
I am not sure if I should create more queries to generate the dates I need, or a table to just store all the future dates and then use queries to lookup what I need.
This is a post that I have read and I am wondering if someone can please assist me with setting something up in the manner described below:
"I tend to cheat. Build a table of dates going 20 years into the future. Add columns for year, month, week, weekday financial year / half year / quarter and anything else you can think of. (Use Excel to build the table and import it). Avoid using Day, Month, Week or Year as field names; Access will get confused because those words are function names. Because I call the table AllTime I tend to use AT_Date, AT_Month, etc as the field names."
In this instance, I am trying to avoid VBA.
Thank you kindly.