HiI have this Query..SELECT TOP (100) PERCENT NodeId, ParentNodeId, Text, ImageUrl, NavigateUrl, Active, CustID, ProductInformation, StartDate, EndDate, DateEnabledFROM dbo.tbl_ProductsWHERE (CustID = 2) AND (Active = 1) AND (ShowItem = 1 OR ShowItem IS NULL)ORDER BY Text, NavigateUrl
I would like to add the following. If DateEnabled not is null and also is True I would like to check weather the startdate and enddate is between the current date, if its not it shouldnät be displayed but if it is display it. Can someone show me how?