Viewing 15 posts - 1 through 15 (of 27 total)
I figured out what I was doing wrong. I added back to the end of statement
GROUP BY Location,A.EmpId,EmpLastName,EmpFirstName,A.Type,A.Total_Hours.
that caused all the rows to be displayed.
Thanks for all...
November 14, 2013 at 9:18 am
Im still getting the same output with the new code?
November 13, 2013 at 2:53 pm
Here are the create table statements:
CREATE TABLE #tblTimeOffRequest
(
[EmpId] [int] NULL,
[Type] [varchar](40) NULL,
[From_Date] [smalldatetime] NULL,
[To_Date] [smalldatetime] NULL,
[Total_Hours] [decimal](5, 2) NULL,
[Status] [varchar](20) DEFAULT ('Pending'),
)
INSERT INTO #tblTimeOffRequest
...
November 13, 2013 at 1:52 pm
I am already doing a case statement to get to where Im at right now for the columns. The original data is in one column so I have split...
November 13, 2013 at 10:40 am
I guess I should have been more specific. I can add a Id column without a problem. I only put the first few servers down as sample data....
June 29, 2010 at 8:25 am
Have you looked into converting your Access front end to a Access .adp project? I have converted all of our company Access databases over to Access projects withe SQL...
October 6, 2009 at 8:45 am
Here is a link that might resolve your problem. http://support.microsoft.com/kb/Q269824 Hope this helps.
January 18, 2007 at 1:29 pm
What version of Access are you using? If its 2000 or greater, why not just create an Access project and then you dont have to worry about linking tables to...
December 21, 2006 at 9:49 am
Vladan,
This works great also. Its nice to see more than one solution to a problem. I usually would have the Response_Code, priority in a table, and may add it and...
December 15, 2006 at 8:24 am
I am still working on it. It seems to work but I had to include the criteria in the Not Exixts statement as below:
SELECT Response_Code, Site_Id, Count(Alert_Id) as 'Total_Alerts', 1...
December 14, 2006 at 11:01 am
Sorry, this is using SQL 2000, we have not upgraded to 2005 and probably won't for a while.
Thanks
DT
December 14, 2006 at 8:48 am
Why not just change the database to a Access project that connects directly to SQL?
November 22, 2006 at 12:42 pm
I realize I should have left the ID, ID-PRICE_1789 off the list, you are correct and I hope it wasnt too confusing. There are no duplicates for the ID field...
November 1, 2006 at 1:33 pm
The ID field is not one of the search criteria, I just need the value returned as in the statement above. I am inserting this ID field in another table...
October 31, 2006 at 12:57 pm
Viewing 15 posts - 1 through 15 (of 27 total)