Hi bunch,
After spending too many hours I decided to try my luck here ;-).
I am trying to run a query that calls a function which receives a date and returns an integer.
But somehow i keep getting "Data tye Mismatch".
for example:
SELECT Orders.CloseTime
FROM (Orders INNER JOIN DishesInOrder ON Orders.OrderID = DishesInOrder.OrderID) INNER JOIN Dishes ON DishesInOrder.DishID = Dishes.DishID
WHERE (((compute([Orders]![CloseTime]))=24));
The Function compute is the fucntion i was refering to. When I run the query with no comparison to 24, I get the results from "compute".
Why the mismatch? I am comparing to Integers ?!?
After spending too many hours I decided to try my luck here ;-).
I am trying to run a query that calls a function which receives a date and returns an integer.
But somehow i keep getting "Data tye Mismatch".
for example:
SELECT Orders.CloseTime
FROM (Orders INNER JOIN DishesInOrder ON Orders.OrderID = DishesInOrder.OrderID) INNER JOIN Dishes ON DishesInOrder.DishID = Dishes.DishID
WHERE (((compute([Orders]![CloseTime]))=24));
The Function compute is the fucntion i was refering to. When I run the query with no comparison to 24, I get the results from "compute".
Why the mismatch? I am comparing to Integers ?!?