Viewing 15 posts - 61 through 75 (of 77 total)
Thanks. That's definitely easier said than done. I will try to post sometime today. S2K5.
August 31, 2009 at 11:34 am
I have to re-think this.
1. In my SUM (CASE) the values are being multiplied i.e.,
disposition_ID(sum)*defect_ID
so, if disposition_ID (1) appears 72 times for defect_ID (19) then my results are 1368...
August 31, 2009 at 9:52 am
Lynn,
Here is the form.
FROM:
TO:
I would like to drill down my search but, I need to add more tables. The tables exist in SQL...
August 27, 2009 at 12:28 pm
Thanks. That was the same thing I came up with:
INSERT INTO tbl_Assembly_Delay1(ID, Code, DelayTime)
SELECT ID , '#Trim(FORM.Code)#', '#Trim(FORM.DelayTime)#'
FROM tbl_Assembly_Production
WHERE tbl_Assembly_Production.WorkOrder = '#FORM.WorkOrder#'
I also ran into some other issues...
August 26, 2009 at 12:13 pm
I made another change and I get this: Incorrect syntax near ','.
INSERT into tbl_Assembly_Delay(ID, Code, DelayTime)
SELECT ID
FROM tbl_Assembly_Production
WHERE tbl_Assembly_Production.WorkOrder = '#FORM.WorkOrder#' AND ('#Trim(FORM.Code)#' ,
'#Trim(FORM.DelayTime)#');
August 26, 2009 at 9:58 am
Thanks in advance:
I realized that logically I was incorrect. Below is where I attempted to correct my mistake. Now I get: "Incorrect syntax near 'Code'".
INSERT into tbl_Assembly_Delay(ID, Code, DelayTime)...
August 26, 2009 at 9:43 am
I think I found the solution.
Thanks.
SELECT
tlkp_Disposition.Disposition_Description, count(*) AS Disposition_Count, tlkp_Defects.Defect_Title
FROM
tbl_Assembly_Holds
join tlkp_Disposition on tbl_Assembly_Holds.Disposition_ID = tlkp_Disposition.Disposition_ID
...
August 25, 2009 at 8:20 am
Lowell,
I ran your code as is and it did not work. I made the corrections and it still did not work. I changed my code to this:
...
August 18, 2009 at 2:11 pm
Lowell,
INSERT INTO tbl_Assembly_Production(dateProd, Shift, Area, Jig, EmpNo, WorkOrder, Item, ProdTime, CoTime, NpTime, UnitsProd, ProdDelayTime, CoDelayTime, Comment)
VALUES('#Trim(FORM.dateProd)#',
'#Trim(FORM.Shift)#',
...
August 18, 2009 at 12:20 pm
Thanks for the reply. I asked because I want to create table from AD users and use in Coldfusion. To start over with ASP.Net would be a set...
January 31, 2009 at 6:02 am
Viewing 15 posts - 61 through 75 (of 77 total)