AussieCaspio Posted February 27, 2018 Report Share Posted February 27, 2018 Hi All, I have a table containing Marketing offers, each of which has a start and end date. Is it possible to create a database view which only lists the offers that are valid on the current date ? (I.e offers whos start date <= current date and end date >= current date) This is for use in a drop down list, where a paricular offer has to be selected. Thanks, Nas Quote Link to comment Share on other sites More sharing options...
0 Vitalikssssss Posted March 6, 2018 Report Share Posted March 6, 2018 Hi @AussieCaspio, You can create a View which will filter your table with promotion based on start and end date. Here is an example of filter: This article might be useful: https://howto.caspio.com/tables-and-views/what-are-views/creating-a-view-to-filter-data/ Regards, vitalikssssss AussieCaspio 1 Quote Link to comment Share on other sites More sharing options...
0 AussieCaspio Posted March 13, 2018 Author Report Share Posted March 13, 2018 On 3/6/2018 at 9:28 PM, Vitalikssssss said: Hi @AussieCaspio, You can create a View which will filter your table with promotion based on start and end date. Here is an example of filter: This article might be useful: https://howto.caspio.com/tables-and-views/what-are-views/creating-a-view-to-filter-data/ Regards, vitalikssssss Thank you SO much!!!!! Quote Link to comment Share on other sites More sharing options...
Question
AussieCaspio
Hi All,
I have a table containing Marketing offers, each of which has a start and end date.
Is it possible to create a database view which only lists the offers that are valid on the current date ?
(I.e offers whos start date <= current date and end date >= current date)
This is for use in a drop down list, where a paricular offer has to be selected.
Thanks,
Nas
Link to comment
Share on other sites
2 answers to this question
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.