Click here to Skip to main content
16,006,065 members
Home / Discussions / C#
   

C#

 
QuestionConvert Form to dll Pin
freshonlineMax20-Jun-06 19:29
freshonlineMax20-Jun-06 19:29 
AnswerRe: Convert Form to dll Pin
Christian Graus20-Jun-06 19:43
protectorChristian Graus20-Jun-06 19:43 
AnswerRe: Convert Form to dll Pin
KSCsoft20-Jun-06 20:38
KSCsoft20-Jun-06 20:38 
QuestionColumn Separator Text File Pin
satsumatable20-Jun-06 19:28
satsumatable20-Jun-06 19:28 
AnswerRe: Column Separator Text File Pin
ashishinfra20-Jun-06 20:02
ashishinfra20-Jun-06 20:02 
Questionhow to convert ms access query to sql query Pin
leelaraj20-Jun-06 17:55
leelaraj20-Jun-06 17:55 
AnswerRe: how to convert ms access query to sql query Pin
Guffa20-Jun-06 18:52
Guffa20-Jun-06 18:52 
GeneralRe: how to convert ms access query to sql query Pin
leelaraj20-Jun-06 19:25
leelaraj20-Jun-06 19:25 
thanks for your reply.

this is the ms acess query(while converting to sql server it creates problem)

SELECT tblEmployee.Emp_Id, tblEmployee.Emp_FName, tblEmployee.Emp_LName, tblClockDetails.Clk_InDate, tblClockDetails.Clk_InTime, tblClockDetails.Clk_OutDate, tblClockDetails.Clk_OutTime, tblProcessedData.pHrsWork, tblProcessedData.pHrsOT, tblProcessedData.pNormOT, tblProcessedData.pOffOT, tblProcessedData.pHolOT, tblProcessedData.pEarlyOut, tblProcessedData.pLateIn, tblProcessedData.pLeaveType, tblDepartment.Dept_Id, tblDepartment.Dept_Name, tblSection.Sec_Id, tblSection.Sec_Name, (CDate([tblClockDetails.Clk_InDate] & " " & [tblClockDetails.Clk_InTime])) AS ClockIn, CDate([tblClockDetails.Clk_OutDate] & " " & [tblClockDetails.Clk_OutTime]) AS ClockOut, DateDiff("n",ClockIn,ClockOut)\60 & ":" & DateDiff("n",ClockIn,ClockOut) Mod 60 AS Totalhrs, Format(Totalhrs,"Short Time") AS TotHrs
FROM ((((tblEmployee INNER JOIN tblEmpWork ON tblEmployee.Emp_Id=tblEmpWork.Emp_Id) INNER JOIN tblDepartment ON tblEmpWork.Emp_DeptId=tblDepartment.Dept_Id) INNER JOIN tblSection ON tblEmpWork.Emp_SecId=tblSection.Sec_Id) INNER JOIN tblProcessedData ON tblEmployee.Emp_Id=tblProcessedData.pEmpId) INNER JOIN tblClockDetails ON tblEmployee.Emp_Id=tblClockDetails.Clk_EmpId
WHERE tblClockDetails.Clk_OutTime <> "" and tblClockDetails.Clk_InTime <> "" and (((tblClockDetails.Clk_InDate)>=(SELECT FromDate FROM tblDateRange) And (tblClockDetails.Clk_InDate)<=(SELECT ToDate FROM tblDateRange)) AND ((tblEmpWork.Emp_Report)='Y')) AND tblClockDetails.Clk_InDate = tblProcessedData.pDate;


the problem arises for

(CDate([tblClockDetails.Clk_InDate]-CDate isnot a recognised function name and then how to cnvert Mod 60 in to sql server.
AnswerRe: how to convert ms access query to sql query Pin
Guffa21-Jun-06 11:37
Guffa21-Jun-06 11:37 
GeneralRe: how to convert ms access query to sql query Pin
leelaraj22-Jun-06 19:42
leelaraj22-Jun-06 19:42 
Questionhow can i run an application with parameters ? [modified] Pin
abiisalwayshappy20-Jun-06 17:17
abiisalwayshappy20-Jun-06 17:17 
AnswerRe: how can i run an application with parameters ? [modified] Pin
Guffa20-Jun-06 18:42
Guffa20-Jun-06 18:42 
Questionwindows application Pin
skyeddie20-Jun-06 16:59
skyeddie20-Jun-06 16:59 
AnswerRe: windows application Pin
led mike20-Jun-06 19:45
led mike20-Jun-06 19:45 
GeneralRe: windows application Pin
skyeddie20-Jun-06 21:52
skyeddie20-Jun-06 21:52 
GeneralRe: windows application Pin
led mike21-Jun-06 5:11
led mike21-Jun-06 5:11 
QuestionRe: windows application?? Pin
skyeddie20-Jun-06 21:55
skyeddie20-Jun-06 21:55 
AnswerRe: windows application Pin
KSCsoft20-Jun-06 20:19
KSCsoft20-Jun-06 20:19 
QuestionListView Paint Events Pin
Tyrus18220-Jun-06 16:21
Tyrus18220-Jun-06 16:21 
AnswerRe: ListView Paint Events Pin
led mike20-Jun-06 19:37
led mike20-Jun-06 19:37 
QuestionSQL Update isn't working, not sure how to fix it. Pin
PyroManiak20-Jun-06 15:18
PyroManiak20-Jun-06 15:18 
AnswerRe: SQL Update isn't working, not sure how to fix it. Pin
PyroManiak21-Jun-06 8:33
PyroManiak21-Jun-06 8:33 
QuestionHow can I format a richTextBox? Pin
AngryC20-Jun-06 10:49
AngryC20-Jun-06 10:49 
AnswerRe: How can I format a richTextBox? [modified] Pin
mikanu20-Jun-06 11:46
mikanu20-Jun-06 11:46 
GeneralRe: How can I format a richTextBox? [modified] Pin
AngryC20-Jun-06 13:26
AngryC20-Jun-06 13:26 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.