A family of Microsoft relational database management systems designed for ease of use.
I've posted an amended copy of your file to my Dropbox public databases folder at:
This browser is no longer supported.
Upgrade to Microsoft Edge to take advantage of the latest features, security updates, and technical support.
Morning, I have got a problem with Queries on my computer running Windows 11.
I explain: I would like that, every time, when I want to add products on my list to be bought, the query shows me if this or these products are seaseonable.
I tried many times but unsuccessfully! Please see attached relations between tables.
I don't know SQL at all.
Many thanks for your help.
Regards,
CM
A family of Microsoft relational database management systems designed for ease of use.
Locked Question. This question was migrated from the Microsoft Support Community. You can vote on whether it's helpful, but you can't add comments or replies or follow the question.
I've posted an amended copy of your file to my Dropbox public databases folder at:
Thanks for your help, but I give up; it's too complicated.
Open the query in design view, and then drop down the View icon in the Results area of the Query Design ribbon. Select SQL View, and then edit the SQL statement in the query window. Drop down the View icon again, and select Datasheet View to see the results.
I may be stupid, but I can't see any change! Could you please show where put this SQL?
It will work if you change ID to ProductID:
SELECT Products.*
FROM Products LEFT JOIN MonthAvailable ON Products.ProductID = MonthAvailable.ProductIDWHERE MonthAvailable = MONTH(DATE()) OR MonthAvailable IS NULL;