the error i keep getting is
Server: Msg 306, Level 16, State 2, Line 1
The text, ntext, and image data types cannot be compared or sorted, except when using IS NULL or LIKE operator.
Not sure why it is throwing up error but a bit rusty on my sql
code is
SELECT
[JobRecords].[JobID]...
I am getting this error when i run the following code
SELECT ProblemCategory.ProblemCategory, IIf(IsNull(Count(JobRecords.JobID),0, Count(JobRecords.JobID) )) AS JobsInCat
FROM CustomerContracts INNER JOIN (CoveredSites INNER JOIN (ProblemCategory right JOIN JobRecords ON...
I need to display the count of jobs logged by month but include zeros where no jobs have been logged in a mth
SELECT format(DateTimeCreated, "yyyy/mm") As Mnth , count(JobRecords.DateTimeCreated) AS Tot
FROM JobRecords
GROUP BY format(DateTimeCreated, "yyyy/mm");
this...
It treats 01/02/2001 as the 2nd of jan which is a huge pain .. any way to force it to see all dates as being uk format .. my regional settings are set to uk so it cant be that.
thanks
this is the bain of my life at the moment and its driving me nuts. I found a formula to do it in xl but i cant get it in access. Its for a helpdesk project im working on so i need to know how many working hours a job has been open for. Any help would be really appreciated
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.