How to get accumulated time field not actual time

Hello-
I have a field in a table as "time" however the time data is actually accumulated time over a period of a month not an actual time.  So for example.  We re reporting on Inbound and Outbound phone call duration per employee so we have:
Inbound Duration:  71:45:52 (this is accumlated time, meaning 71 hrs, 45 min, 52 seconds) but when it is displayed in excel or crystal it shows as:
1/2/1900 11:45:52 PM in excel.  I
f you look at the format in excel it should be correct set in the number tab like:  custom [h]:mm:ss
In the actual cell itself it shows the 71:45:52 but in the display that is where it shows the other 1/2/1900 11:45:52 PM
11:45:52 in crystal since it's just a time field in the table
Does anyone know how to correct this on either excel side or crystal?  We have our data in excel which we import into a table to use crystal reports on.
thanks

My formulas were assuming the data was coming in as a datetime value, as it was in your original post.  (Jason was typing his reply while I was typing mine...)  So, the formula with accumulation is (BASIC SYNTAX - make sure the formula editor has this selected, not Crystal Syntax):
global secAccum as number
dim sec as number
dim min as number
dim hr as number
sec = DateDiff("s", CDateTime(1900,1,1,0,0,0), {csr_phones.duration})
secAccum = secAccum + sec
min = int(sec / 60)
hr = int(min / 60)
sec = sec - (min * 60)
min = min - (hr * 60)
formula = cstr(hr, "0") + ":" + cstr(min, "00") + ":" + cstr(sec,"00")
And to show the accumulated seconds:
WhilePrintingRecords
global secAccum as number
dim sec as number
dim min as number
dim hr as number
sec = secAccum
min = int(sec / 60)
hr = int(min / 60)
sec = sec - (min * 60)
min = min - (hr * 60)
formula = cstr(hr, "0") + ":" + cstr(min, "00") + ":" + cstr(sec,"00")
HTH,
Carl

Similar Messages

  • I have just lost all my contacts from my Mac and my I Phone. Don't know how.  Can I get them back?  Not using Time Machine

    I have just lost all my contacts from my Mac and my I Phone. Don't know how.  Can I get them back?  Not using Time Machine

    If you have no backups, and data has been lost, then it's lost forever. The rest of your data will inevitably follow if you don't back up.

  • How to make valuation type field not changeable  in delivery tab of PO

    Hai friends,
                    I am new to badis..please guide me to solve the issue...
    how to make valuation type field not changeable  in delivery tab of PO...
    The field shd be in display mode only ...actually...there  a badi has been used before
    to get valuation type from a ztable depending on material and plant...
    Now ..my requirement is that the user shd not change the default value brought from the ztable...

    Hi SRINIVAS,
    You can achieve this from BADI only if BADI is allows you to do this. You cannot achieve everything from a BADI. Check if there is any expoting field in the methods that can be ticked for making the field in display mode. If not then you cannot achieve this from BADI.
    The field you want to default to display is a standard or zfield. If z, then you can changethe attribute of the screen field to Output only.
    Regards,
    Manish

  • How to get multiple selected fields in list

    Hello all,
    I am trying to get multiple selected value from a list but i dont know how to get multiple selected fields from a list though AS3.
    Actually i want to pass the selected fields to php, so for that i need to get the selections and send to php.
    Thankx..

    i want to put the selected fields of list in an array through AS3....
    actually......i figured it out how to do that...........
    Its simple......use
    list.selectedItems[index]
    and to get the number of items selected......
    list.selectedItems.length
    simple.....

  • I would like to know how to get the unrestricted quantity excluding actual customer ordr quantities on a given group of items?

    I would like to know how to get the unrestricted quantity excluding actual customer ordr quantities on a given group of items?

    Hi , Welcome to the HP Forums!
    It is a terrific place to find answers and tips!
    For you to have the best experience in the HP forum I would like to direct your attention to the HP Forums Guide.Learn How to Post and More I grasp you would like to replace the keyboard and would like the part number and where to purchase one. Here is a link to the HP Pavilion 17 Notebook PC HP Pavilion 15 Notebook PC Maintenance and Service Guide .  Please note chapter 3, page 20, item 2 for the replacement keyboard part numbers. You stated you were having a difficulty locating where to purchase the part.  Here is a link to  HP Notebook PCs - Ordering HP Certified Replacement Parts for your convenience. You can also try a Google search with the part number for other vendors that may have one.   To say thanks for replying please click the thumbs up icon below. If this has addressed your query please choose solution provided to help other people locate this information.   Best of Luck!

  • How to Hide the Parameter field at run time....

    Hi,
    I have a parameter field which behaves differently depending on the User logged in.
    It has the LOV coming from following SQL.
    SELECT customer_name FROM Cust_mast;
    If the user = 'INTERNAL' then the Where clause will be
    WHERE cust_id in('DELL', 'SBC', 'BANK')
    Else there will be no WHERE clause or the parameter field
    should be hidden in the parameter form.
    So my questions are:
    1) How to hide the Parameter field during Run time?
    OR OR OR
    2) How to change the LOV select statement during Run time?
    Thanks.
    Ram.

    Hi Ram,
    Is there any way to play with the sql query SELECT using DECODE ?I'm not sure of this part, maybe someone else can suggest a way.
    However, what you want can be done in 2 other ways:
    1. Build 2 reports. Both reports will just be duplicates of each other, only difference being that the 'LoV where clause' will be different. Now you can fire the appropriate report in many ways. For example, if the customer is alreay logged inside your custom application, and therefore you already know whether the user is internal of external, you can design your button or link which launches the report to contain logic such that one of the 2 reports is fired depending on who the user is.
    1. Use a JSP parameter form, not a paper parameter form In this case, just build an HTML parameter form in the web source of your report. Use Java logic to populate the LoV drop-down list. When you have to launch the final report, just launch the paper-layout of the report. For example (you will have to modify this):
    <form action="http://machine:port/reports/rwservlet?report=ParamForm.jsp+..." name="First" method="post">
    <select name="selected_customer" onChange="First.submit()" >
    <option value="">Choose a Customer Name
    <rw:foreach id="G_cust_id" src="G_cust_id">
         <rw:getValue id="myCustId" src="CUSTOMER_ID"/>
    <rw:getValue id="myCustName" src="CUSTOMER_NAME"/>
    <option value="<%=myCustId%>"><%=myCustName%>
    </rw:foreach>
    </select>
    </form>
    In the code above, you will have to make sure that your report's data model defines 2 CUSTOMER_ID's (like CUSTOMER_ID_INT and CUSTOMER_ID_EXT). These 2 will be internal and external Cust ID's. Use Java logic to show one of them.
    Navneet.

  • How to hide the Parameter field during Run time?

    Hi,
    How to hide the Parameter field during Run time?
    I have a parameter field which behaves differently depending on the User logged in.
    I am using reports 10G
    For ex: I have 3 field created in JSP
    CUSTOMER
    PROVIDER
    FROM DATE
    END DATE
    If the user = 'SUPER show all the parameter
    CUSTOMER
    PROVIDER
    FROM DATE
    END DATE
    If the user is 'GATEKEEPER" Just show
    PROVIDER
    FROM DATE
    END DATE
    Can I do that?
    Please help
    Thanks.
    KK

    hi, i'm not familiar much with JSP. but i think workaround is to create two window one which have 4 fields and the other which have 3. if user is SUPER then call the first screen otherwise if user is GATEKEEPER then call the second screen.

  • I reset my macbook pro a few days ago.. and when i started to use it again i noticed all my apps were gone (keynote, iMovie, garage band, etc) i don't know how to get them all back and every time i try it tells me i must buy them.. what do i do?

    I reset my macbook pro a few days ago.. and when i started to use it again i noticed all my apps were gone (keynote, iMovie, garage band, etc) i don't know how to get them all back and every time i try it tells me i must buy them.. what do i do?
    should i come into the actual apple store or can you help online ?

    Hi vickkjayy11 and welcome to Apple Support Communities,
    Just to be clear, we are a peer to peer support community and have nothing official to do with Apple.
    So to your problem, when you say:
    "I reset my macbook pro a few days ago"
    What exactly happened? Did you have a Time Machine backup?
    Read this:
    OS X: About OS X Recovery - Apple Support
    It would help to know the exact model (size and year) and which OS you're using.

  • I deleted most visited, latest headlines, getting started, yahoo, youtube, apple in mozilla's folder,how to get it back like the first time i installed? thx

    i deleted most visited, latest headlines, getting started, yahoo, youtube, apple in mozilla's folder,how to get it back like the first time i installed? thx

    if you hid the menu bar and the navigation bar simply press the alt button, this will bring back the menu bar and form there you can right click and select which bars you want shown

  • HT2499 how to get mac dvd player not to play all and stop at each title?

    how to get mac dvd player not to play all and stop at each title

    Play all chapters, i mean.
    I have a DVD and I would like to just play a chapter, and discuss it, without the next chapter automatically starting. Usually DVD players have the "Play all" you can turn off and on...but I don't see it with the Mac player.
    OS 10.4.
    Macbook 6
    Thanks so much!

  • How to get u00BBshort descriptionu00AB  field in structure u00BBBAPIDFKKCLu00AB in local la

    Hello
    I wander how to get »short description«  field in structure »BAPIDFKKCL« in local language »SK«(Slovakia).
    In SMLT transaction I tried several combination of supplementing Language »SK« (with »EN«) none with success. 
    What do you propose? Which combination of parameters in SMLT for substitution do you propose?

    Hi jan Bo ,
        Did you check the option expert mode:
        If you want to supplement a more precise selection of tables, application tables, for example, use the expert mode of the language supplementation program.
    Proceed as follows:
    1. Choose the following for the language that you want to supplement: Language u2192 Special Actions u2192 Supplementation (Expert).
    2. On the next screen, enter a description of your supplementation. This helps you to recognize the supplementation you have started in the transaction SMLT overview.
    3. In the center of the dialog box, you can specify conditions for selecting the tables you want to supplement. These fields are set with SAP defaults, however, you can change them by choosing Change. The default is set so that if you are logged on to client 000, all cross-client and client-specific tables are supplemented in client 000. In other clients, only the client-specific tables in the logon client are selected for supplementation.
    4. The tables that you want to supplement appear at the bottom of the screen, according to the selection you made by choosing Select. Each table is shown with its table class, a description, the supplementation mode, and the client in which the table will be supplemented. You can use the appropriate pushbuttons to change this list, however, we recommend this for experienced users only.
    You can find this with link :
    https://www.sdn.sap.com/irj/scn/go/portal/prtroot/docs/library/uuid/ac5b5193-0701-0010-45a7-98dd573a6785
    under section :
    6.2 Language Supplementation................................................................14
    6.2.1 Starting Language Supplementation..........................................................................15
    6.2.2 Language Supplementation (Expert Mode)................................................................17
    Could you please also check the the below post :
    Re: Complete Language Supplementation ?
    chek the below link for search.... it would also help you for next search
    https://www.sdn.sap.com/irj/scn/advancedsearch?cat=sdn_all&query=supplementingLanguage&adv=true&sdn_author_name=&sdn_updated_on_comparator=GE&sdn_updated_on=&start=11
    i also suggest you to check with target client on which you installed language at last.
    Regards,
    S.Manu.

  • How to get Mac Messages to NOT save chats?

    How to get Mac Messages to NOT save chats?
    I went through the Preferences but I do not see where I can check/uncheck save chats.  Will someone help direct me?

    Hello mayonnaise18,
    Thank you for the question.  You can disable the option to save chats in the Messages tab in Messages>Preferences:
    Automatically save conversations when you close them
    Choose Messages > Preferences, and then click Messages.
    Select “Save history when conversations are closed.”
    These steps are to enable the option to save messages, but you would want to uncheck the option to "Save history when conversations are closed."  You can find the full article here:
    Messages (Mountain Lion): Save conversations
    http://support.apple.com/kb/PH12012
    Thank you for using Apple Support Communities.
    Best,
    Sheila M.

  • How to get accumulated G/L balance from G/L Line items 0fi_gl_4

    Hi All,
    In the cube 0figl_c01 the 0balance generates the accumulated balance that is great. But 0figl_c01 gets data from 0fi_gl_1
    but 0fi_gl_1 gets data from GLT0 which does not have the summary balances by BSEG-VBUND (partner company).
    0fi_gl_4 generates the GL cumulative balances (monthly balances) by VBUND (partner company).
    I want to generate the Accumulated balance which includes the opening balances by G/L account as in 0fi_gl_1 in the data source 0fi_gl_4.
    Can any of you please clarify how I can get accumulated balances in the data source 0fi_gl_4.
    Also is there any other FI business content data source that can give the accumulated balance like 0fi_gl_1 but by VBUND(partner company)
    Thanks
    Karen
    Edited by: KarenFarr on Jun 14, 2010 12:20 PM

    Two ways.. one involves heavy cube transformation the other query run time
    Take the query run time option - simple - if it is a balance sheet account just have a rkf from 1900 up to selection variable date if it is a P&L account have a rkf which goes from period 1 of selection variable year up to selection variable date
    The P&L/Balance sheet can be derived from the balance sheet indicator field on 0gl_account (ie make it a nav att in the cube)
    The second option is slightly different and involves building a different cube along the lines of the PCA accumulated balance technique. Cretae a summary cube based on GL1 but add VBUND - then feed it from GL4 - however when you enter the data in transformations into the new cube disaggregate on load and post into the future
    ie
    period 1 transaction posts into the balance for periods 2 - end of time... (for balance sheet) and periods 2-16 for P&L
    a period 5 transaction would only post from period 5 onwards
    Therefore when you compress the cube all of these postings will end up as on aggregated figure
    (see the documentation for PCA and the associated OSS notes around this for code examples)
    The problems with this approach for use with ALL gl accounts is that you have to worry about the postings for P&L or balance sheet and have differing rules - the other more importantly is some countries have differing views on how to post year end rules.
    ie some countries clear down the P&L via postings and do a manual posting to retained earnings - others use the SAP standard where the P&L is left alone but there is a posting into period 0 ONLY in GLT0 and without a corresponding journal
    In this sense the explanation above will run you into trouble as the balance sheet for retained earnings will never be updated
    In new installations all of this is not really a problem as you will be using the new GL which takes care of all this stuff if you build esgment tables to hold the summary

  • How to get more downloads at the same time

    On my old computer I could download 20 files at the same time (or more, depending on the size). I've got a new computer now but Safari only downloads 4 files at a time: the other files are put on hold and start only when anotehr file has finished downloading.
    How can I enable more downloads at the same time?

    I'm not using any enhancings apps, so... that can't be it. I did go from 10.3.x to 10.4.x, but I guess that's not the point either. Maybe some internetsettings is keeping things from going full throttle...?
    I download from Usenet a lot and downloading multiple files with Safari was very nice: I'd get 20 50 Mb files within a few minutes on my computer. Now I can only get 4 files in that same time (I guess it's a bit faster but not much: I have a VERY fast connection!). Okay, all in all it still only takes half an hour (probably less) to download 3 Gb this way, but I just wonder what's holding Safari back...
    (BTW Downloading big files spread into rars is VERY nice! If I had to download a 3 Gb file as ONE file, it would take a LOT more time...! Makes you wonder why not all companies offer their software (specially larger files) in smaller parts... They used to do that in the early internet days because otherwise you would never ever get that file downloaded on that 56k6 line, but nowadays it still would be great if they offered everything in small parts!

  • Finder's "Get Info" Creator field not the same as "Creator Code"??

    Can someone explain what the difference is between the "Creator Code" associated with a file, and what the Finder's "Get Info" shows as the "Creator" (in the "More Info" section)?? I have a program that will not process a file unless a specific application has created the file. But if I change the "Creator Code" with a utility like "Type & Creator Changer" from AlphaOmega, the "Get Info" command shows no difference in the "Creator" field of the "Get Info" window.
    What is going on? What is the difference between these two "Creator" pieces of information of a file?
    How can one change what is in the "Get Info" "Creator" field??
    Thanks for your help...
    -Bob

    I don't think what you are talking about is the same as what I asked. I looked at the file that works with HexEdit and there is some other info about "CreatorTool" and "Creator" that in the case of the file that works is set to "ScanSnap Manager" and this is what appears in the "Creator" field of "Get Info" (in the "More Info" part of the GetInfo window). This is what I am guessing the Abbyy FineReader program is looking for to allow it to process the file. Without it it will not convert a PDF image file to a searchable text PDF file. Files that work and don't work can both have the "Open With" set to the same thing, so don't think that this has anything to do with the issue. Both can have the same "CreatorCode" too, so this is not it.
    In fact I just verified that if I change the "Creator" info in a file that works, the FineReader software will not process it. But the problem is that just changing the "Creator" info in a file to "ScanSnap Manager" is not enough. Bummer...
    So my dilemma is I can print a PDF file onto paper, then turn right around and scan it on the ScanSnap scanner and then FineReader will process it. But this is silly to have to print a file I already have the PDF of, let alone kill a few trees for the paper to print it on, in order to do the FindReader processing. Any suggestions??
    So, the question still is, what exactly is the FineReader looking for and how do I change a PDF file to have it so that FineReader will process it??? Is there a utility that will add/edit this other CreatorTool and/or Creator info in the file???
    Thanks...
    -Bob

Maybe you are looking for

  • How do i use a flash gallery with xml file

    Hi there.... I am trying to include a flash banner template i have downloaded into my webpage using dreamweaver CS5. the template comes with an XML file with it in which you can reference your own images etc.. I understand how to inclued the Flash ob

  • Oracle9i installation in Solaris 10

    hi all, We are in the process of installation of oracle 9i on solaris 5.10. In this server already oracle Home is available and 10g oracle version is running. NOTE: As the client software will work only on oracle 9i database, to simulate few issues w

  • Background Job : To download file to windows server

    Hi Gurus, Here we have to develop a program thats creates a csv file in a network shared folder( a windows folder), We have to schedule it as a background process. We cant use gui_upload function module, since it doesnt support background jobs. Pleas

  • Converting emailed documents to PDF instead of JPEG

    Many of our customers have recently begun to shy away from accepting quotes from us because of the poor quality of the JPEG format documents the SBO Mailer generates.  The graphic is fuzzy and mostly illegible. We need desperately need a better integ

  • The attempt to burn a disk failed. An unknown error occurred (261)

    ... and then??? talk about a lack of support. Can't backup iTunes to DVD (have been successful in the past) and can't contact support. What good is this program??? (Two hours wasted makes for frustrated consumer.)