T
Tom
Hi all,
I created a form Test (temp name) with 2 comboBox :
Month: SELECT DISTINCT Month([WeddingDate]) AS [Month] FROM orderInfo;
Year: SELECT DISTINCT Year([WeddingDate]) AS [Year] FROM orderInfo;
then I created a query, in the criteria of the field WeddingDate I put :
[Forms]![Test]![Month] And Forms![Test]![Year]
When I run it, I get no results. I tried to run the query with just the
month part and with just the year part and still no results.
What am I doing wrong?
TIA,
Tom
I created a form Test (temp name) with 2 comboBox :
Month: SELECT DISTINCT Month([WeddingDate]) AS [Month] FROM orderInfo;
Year: SELECT DISTINCT Year([WeddingDate]) AS [Year] FROM orderInfo;
then I created a query, in the criteria of the field WeddingDate I put :
[Forms]![Test]![Month] And Forms![Test]![Year]
When I run it, I get no results. I tried to run the query with just the
month part and with just the year part and still no results.
What am I doing wrong?
TIA,
Tom