if I select today, I want my dropdown to show just product 1 and 2,
If I select yesterday, I want my dropdown to show just product 3 and 4,
if I select tommorow , I want my dropdown to show all products .
Obs. date is an actual date.
How can I exclude from the dropdown the products that are already in Table B and on the date I´m selecting in the form?
In a different application I have two tables where Table A has more columns, one of which is a Date, so I can compare that with the date I select in my Table B form with this valid if :
Am I wrong or you speal spanish as your main language? You can post your questions in spanish here if it’s easier for you. Now, back to your question:
As always, there are different ways to do what you want.
The products available based on date are going to change? Because you could hard code things but it’s not the best idea.
I would add another column to table A to differentiate products based on the date or relative date in your case.
Then you have to use a Valid_If or Suggested Values expression on the form of table B with a FILTER() with AND() to accomodate as much conditions as you need
The products in table A never change. The only thing that changes is the date in table B.
Every day I want to insert in table B all those product just once and for example if I forgot one yesterday, I want to select this date and have that product appear as uncompleted, so I can insert it in Table B with the date I have selected.