thedeadzeds
Registered User.
- Local time
- Today, 03:28
- Joined
- Jan 8, 2014
- Messages
- 40
Guys,
I have this query which works fine when sometimes but other times i get an error message? Also, when i run it via a report it does not pull through the name but it does on the query. Any ideas?
I have this query which works fine when sometimes but other times i get an error message? Also, when i run it via a report it does not pull through the name but it does on the query. Any ideas?
Code:
SELECT tblCalDates.CalDate, qry__approved_requests.Name, qry__approved_requests.datDatefrom, qry__approved_requests.datDateto
FROM tblCalDates LEFT JOIN qry__approved_requests ON (tblCalDates.CalDate = qry__approved_requests.datDateto) OR (tblCalDates.CalDate = qry__approved_requests.datDatefrom)
WHERE tblCalDates.CalDate=[Forms]![frm_check_dates]![txtCalDate];