I realized something...While testing the Run Query off the form into a brand
new query, when I didn't attach any table or query and simply created a field
referencing the text box, ie- Field: Site:[forms]![formname]![textbox]
worked. It came back with a datasheet giving me exactly what was in my form.
However, with the table/query attached, it got hung up with the Microsoft
Jet Database Engine not recognizing the statement. So why does access
recognize the statement with no table/query being present, but dosen't when
one is? Strange...
Here is what I got so far for my SQL:
SELECT [Forms]![tirtltest]![LstSite] AS SITE, TIRTLhourly.DATE,
TIRTLhourly.TIME, TIRTLhourly.LANE, TIRTLhourly.TOTAL, TIRTLhourly.[1],
TIRTLhourly.[2], TIRTLhourly.[3], TIRTLhourly.[4], TIRTLhourly.[5],
TIRTLhourly.[6], TIRTLhourly.[7], TIRTLhourly.[8], TIRTLhourly.[9],
TIRTLhourly.[10], TIRTLhourly.[11], TIRTLhourly.[12], TIRTLhourly.[13],
TIRTLhourly.[14], TIRTLhourly.[15], Int("3") AS TYPE
FROM TIRTLhourly
WHERE (((TIRTLhourly.DATE)=[forms]![tirtltest]![lstbegdate]) AND
((TIRTLhourly.TIME)>[forms]![tirtltest]![lstbegtime])) OR
(((TIRTLhourly.DATE)=[forms]![tirtltest]![lstenddate]));