Hello - I'm not sure if this is possible and my guess is that I need to know more about SQL than I do.. but here it goes:
I have a gardening database and for each plant I want to calculate the planting date based on a certain number of weeks. For example, Plant A should be planted 4-6 weeks before the last frost in my area and Plant B should be planted 2-3 weeks AFTER the last frost date.
What makes sense to me is that I have a table with each plant and a field for Firstweek and Lastweek. I would also have a table with years and LastFrostDate. With those two tables I would run a query to calculate the planting date, correct?
What is the calculation that I would do for that? What would the code look like?
Or maybe I am thinking about this incorrectly and there is a better way...
Any guidance would be appreciated to get me in the right direction.
Thanks - Lisa
I have a gardening database and for each plant I want to calculate the planting date based on a certain number of weeks. For example, Plant A should be planted 4-6 weeks before the last frost in my area and Plant B should be planted 2-3 weeks AFTER the last frost date.
What makes sense to me is that I have a table with each plant and a field for Firstweek and Lastweek. I would also have a table with years and LastFrostDate. With those two tables I would run a query to calculate the planting date, correct?
What is the calculation that I would do for that? What would the code look like?
Or maybe I am thinking about this incorrectly and there is a better way...
Any guidance would be appreciated to get me in the right direction.
Thanks - Lisa