I have the following SQL statement in a text boxes control source.
The query is a 2-row table with OrderID's on one side and SumOfHours on the right. I just need to return the SumOfHours for that order. I get a warning/error on the form: Invalid control property.
Is there something I am missing?
Code:
SELECT SumOfHours FROM qryHoursPerOrder WHERE OrderID = [OrderID]
Is there something I am missing?
Comment