Click here to Skip to main content
15,885,365 members
Home / Discussions / C#
   

C#

 
Questioncustomizing shortcut keys... Pin
Rohit Dev11-Sep-06 20:38
Rohit Dev11-Sep-06 20:38 
AnswerRe: customizing shortcut keys... Pin
Amit Kumar Chikara11-Sep-06 20:53
Amit Kumar Chikara11-Sep-06 20:53 
AnswerRe: customizing shortcut keys... Pin
Stefan Troschuetz12-Sep-06 2:58
Stefan Troschuetz12-Sep-06 2:58 
QuestionHow to convert XML data to DataSet in C#.Net Pin
AR Reddy11-Sep-06 20:15
AR Reddy11-Sep-06 20:15 
AnswerRe: How to convert XML data to DataSet in C#.Net Pin
_AK_11-Sep-06 20:28
_AK_11-Sep-06 20:28 
AnswerRe: How to convert XML data to DataSet in C#.Net Pin
Tamimi - Code11-Sep-06 20:30
Tamimi - Code11-Sep-06 20:30 
AnswerRe: How to convert XML data to DataSet in C#.Net Pin
Hamid_RT11-Sep-06 20:37
Hamid_RT11-Sep-06 20:37 
Questionhow to change the datetime format into numeric format in crystal reports Pin
anushawickramaratne11-Sep-06 20:13
anushawickramaratne11-Sep-06 20:13 
Hi friends,
i need big help.. my programme generates a crystal reports by following view... for a given batch need to calculated the actual running time = ((starttime - endtime) - sum(temporally_stoptime - restarttime))

MY View is as follows.....
<br />
CREATE VIEW titles_view<br />
AS<br />
select A.transID,A.Machine,Qlityno,batchnno,b.BTDes,color,startime,endtime,Cast((datediff(n,startime,endtime)-<br />
(SELECT ISNULL(SUM(DATEDIFF( n , TStoptime , Restarttime )),0)<br />
FROM FINTransTempstops B<br />
WHERE B.tranid = A.transid and B.TStoptime is not null))as integer)  as cf_TimeTook,exp_weight,actual_meters,specspeed,isrefish,next_process<br />
from finbatchinfo A left join FINTransTempstops c on A.transID = c.TranID <br />
left join FINBatchType B on A.BTID = B.BTID<br />
where endtime is not null --and startime >=convert(datetime,'2006-08-21',121) and<br />
--startime <= convert(datetime,'2006-08-31',121)<br />
group by A.transID,A.Machine,Qlityno,batchnno,b.BTDes,color,startime,endtime,exp_weight,actual_meters,specspeed,isrefish,next_process<br />
--order by A.machine<br />
GO<br />

this calculation is done in the view..... i take the actual time in minutes.. and then cast in to integer ....view gives the correct information
but when i generate the report it shows the value in datetime format .... but i need to print the numeric value in the report(even in minute format also fine).. I need to show the actual running time in minutes..
when i check the format of the field in crystal report it is numeric...but at run time it gives the value in datetime format.....Confused | :confused: Confused | :confused:
all the dates in above in Database is datetime datatype....
Pls how can solve this problem.....
Pls help meeee......Cry | :(( Cry | :(( Cry | :((
thanks...

anusha wickramaratne

AnswerRe: how to change the datetime format into numeric format in crystal reports Pin
Amit Kumar Chikara11-Sep-06 20:46
Amit Kumar Chikara11-Sep-06 20:46 
Questionhow to change the datetime format into numeric format in crystal reports Pin
anushawickramaratne11-Sep-06 20:10
anushawickramaratne11-Sep-06 20:10 
Question.dll Debug and Release Folders Pin
Brendan Vogt11-Sep-06 20:04
Brendan Vogt11-Sep-06 20:04 
AnswerRe: .dll Debug and Release Folders Pin
Nader Elshehabi11-Sep-06 20:09
Nader Elshehabi11-Sep-06 20:09 
QuestionRe: .dll Debug and Release Folders Pin
Brendan Vogt11-Sep-06 20:43
Brendan Vogt11-Sep-06 20:43 
AnswerRe: .dll Debug and Release Folders Pin
Nader Elshehabi11-Sep-06 21:12
Nader Elshehabi11-Sep-06 21:12 
QuestionWMI win32_product class install method. Pin
abhinish11-Sep-06 19:51
abhinish11-Sep-06 19:51 
QuestionConverting video files to flash files Pin
AB777111-Sep-06 19:20
AB777111-Sep-06 19:20 
AnswerRe: Converting video files to flash files Pin
Nader Elshehabi11-Sep-06 19:42
Nader Elshehabi11-Sep-06 19:42 
GeneralRe: Converting video files to flash files Pin
AB777111-Sep-06 20:44
AB777111-Sep-06 20:44 
QuestionBlueTooth [modified] Pin
Niiiissssshhhhhuuuuu11-Sep-06 17:22
Niiiissssshhhhhuuuuu11-Sep-06 17:22 
AnswerRe: BlueTooth Pin
Nader Elshehabi11-Sep-06 19:33
Nader Elshehabi11-Sep-06 19:33 
Questioncheckedlistbox holds focus when item selected Pin
Glen Harvy11-Sep-06 16:11
Glen Harvy11-Sep-06 16:11 
AnswerRe: checkedlistbox holds focus when item selected Pin
Nader Elshehabi11-Sep-06 19:31
Nader Elshehabi11-Sep-06 19:31 
GeneralRe: checkedlistbox holds focus when item selected Pin
Glen Harvy12-Sep-06 2:47
Glen Harvy12-Sep-06 2:47 
GeneralRe: checkedlistbox holds focus when item selected Pin
Nader Elshehabi12-Sep-06 3:50
Nader Elshehabi12-Sep-06 3:50 
GeneralRe: checkedlistbox holds focus when item selected Pin
Glen Harvy12-Sep-06 4:34
Glen Harvy12-Sep-06 4:34 

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.