Problems trying to SUM after returning date on first row in all rows

Hi,
I'm having problems with a calculation in a table report.
We've built a Discoverer report that looks at long term absence of an employee. The long-term absence period must be worked out based on a 2-year rolling period from the start date of the employee's most recent sickness. For example, if i'm off sick and have been since 01-Mar-2009 the report will look at all absences i've had since 01-Mar-2007 and sum the days.
I have built a calculation that always returns the latest absence start date for every row of absence a person has had. This has been achieved by using a LEAD Function and ROW_NUMBER, see below:
LEAD(Absence Start Date,ROW_NUMBER() OVER(PARTITION BY Employee Number  ORDER BY  Absence Start Date DESC)-1) OVER(PARTITION BY Employee Number  ORDER BY  Absence Start Date DESC)
The problem I have is that I cannot SUM the Absence Days of the person and bring in one row per person in the report. I think the cause is the use of the ROW_NUMBER. It ends up returning a Row for every absence the person has had.
Is there any way I can achieve returning the latest absence start date of a person against all absence rows (in order to use a condition to restrict the report to all absences that started after 2 years prior to that date) that they've had and sum up the absence days so that only one row per person is returned? I cannot use row generators and cannot register PL/SQL functions. I would need to get IT to help me which is min 3 month turnaround, so I'm trying to resolve this quickly.
Hope you can help.
Many Thanks,
Lloyd

Hi Michael,
Thanks a lot for this. The calculation you provided fixes the issue. However, The partition part of it seems to cause another.
In order to calculate total absence days the following calculation is used:
SUM(CASE WHEN NVL2("Absence (Employee) - Historic"."Date End",( CASE WHEN Absence Finish >= Absence Start THEN "Absence (Employee) - Historic".Absence Days END ),CASE WHEN "Absence (Employee) - Historic".Date Start < Period Start Date THEN WORKING_DAYS_BETWEEN(Period Start Date,Absence Finish) WHEN Absence Finish >= Absence Start THEN WORKING_DAYS_BETWEEN(Absence Start,Absence Finish) END) = 0 THEN DAYS_BETWEEN(Absence Start,Absence Finish) ELSE NVL2("Absence (Employee) - Historic"."Date End",( CASE WHEN Absence Finish >= Absence Start THEN "Absence (Employee) - Historic".Absence Days END ),CASE WHEN Absence Finish >= Absence Start THEN WORKING_DAYS_BETWEEN(Absence Start,Absence Finish) END) END) OVER(PARTITION BY "Person Assignment Information (Person) - Historic".Employee Number ORDER BY "Person Assignment Information (Person) - Historic".Employee Number )
Here is a little Key:
Absence Start
GREATEST("Absence (Employee) - Historic".Date Start,ADD_MONTHS(TRUNC(SYSDATE),-24))
Absence Finish
LEAST(NVL("Absence (Employee) - Historic".Date End,TRUNC(SYSDATE)),TRUNC(SYSDATE))
Period Start Date
ADD_MONTHS(MAX("Absence (Employee) - Historic".Date Start) OVER(PARTITION BY "Absence (Employee) - Historic".Employee Number ORDER BY "Absence (Employee) - Historic".Date Start DESC ),-24)
The item Absence Days is the number of days input against the absence by the user. This is only correct for end-dated absences. For people who have open-ended absence or those whose absence start before the period start date (Michael's date) we must work the days out. A function called WORKING_DAYS_BETWEEN achieves this. There is also another function called DAYS_BETWEEN which is all days between two days (weekends included).
The item Date Start is the absence Start Date, Date End is the Absence End date.
The whole lot is then summed by Employee number partition.
The report has lots of indicators that using mathemical equations based ont Total Absence Days. In order to use Total Absence Days in another mathematical calc I have to create a duplicate calculation except without the partition (Total_Absence_Days in this case). If don't and simply insert the name of the calc into another calculation I get this error when running the report.
Image: !http://www.aerographicsuk.com/Invalid%20Identifier.jpg!
When creating another mathematical calc I then have to do the Sum partition around it. This makes the report run really slow because i'm typing lots of large formulae every time i build a calc that refers to Total Absence Days.
Is there a way I can create the total absence days calculation with out causing this error? I have thought about breaking it up into several calculations but am wondering if i'll get the same error message.
Below is an example of a calculation that tries to use Total Absence Days:
GREATEST("Full Pay Entitlement (Days)"-SUM(Total_Absence_Days) OVER(PARTITION BY "Absence (Employee) - Historic".Employee Number ORDER BY "Absence (Employee) - Historic".Employee Number ),0)
Kranthi, I can only paste in the Oracle SQL, which isn't real SQL. There are lots of other calcs though, so they'll probably be a lot there. Please let me know if you'd like to see it.
Many Thanks for your help with this,
Lloyd

Similar Messages

  • Problem in the External Function returned data RAW

    Hi,
    I have a problem, I would want to create an external function in Oracle 10g, than given in input a data RAW it gives back in output the value in format raw.
    I have realized such function through language C.
    these are the prototypes of the function
    ORACLE side:
    CREATE OR REPLACE FUNCTION F_RETURN_RAW (inputText IN RAW)
    RETURN RAW                                                                  -- I do not know to return RAW !!!
    AS LANGUAGE C
    NAME "f_Return_Raw"
    LIBRARY C_Library_DAN
    PARAMETERS
    (inputText RAW,
    inputText INDICATOR,
    inputText LENGTH);
    C side:
    ???? f_Return_Raw(CK_BYTE_PTR in_Text,
    short *in_TextInd,
    int *in_TextLen)
    I do not know what to put in place of ????
    someone can help me with some example?
    thanks to all!
    Regards
    Daniele

    Hello I had already seen the package UTL_RAW,
    in particular is CAST_TO_VARCHAR2 that CAST_TO_RAW,
    but these me are useful Oracle side,
    my problem are to give back to Oracle, from side C, one RAW.
    Perhaps it is not possible to give back a RAW directly?
    or I have more probably not understood your suggestion!
    I would want to create a function that he concurred me to make that
    insert into table_example values(f_Return_Raw(RAW_INPUT))
    that the function gives back RAW directly
    Regards
    Daniele

  • Problem trying to restart after running updater

    I am having an issue after my updater prompts me to restart my mac. In the past the blue screen that appears with the circular loading icon only stays up for a few minutes at the very most then the mac restarts. Right now it's been running for a couple of hours. I'm not sure if any updates are being applied right now, so I don't want to manually power down yet. Does anybody know if it will cause harm if I force shut down? Or is there some keyboard method that will safely shut down from here? I'm using my backup PC right now, so I really want to the mac working again.
    System Specs:
    Mac Mini 2.0GHz
    Intel Core 2 Duo 2GB RAM
    OSX 10.5.7

    Sometimes an update gets "stuck" and things like this happen. System might not shut down or it might hang on restart.
    I suggest, even though it's working to do a partial safe boot - reboot and hold down the shift key.
    At the save boot login screen click restart and let it reboot normally.
    It's important to repair permissions before and after any update, just to be sure there are no real permission errors.
    If you used the auto software update, I suggest reapplying the manual combo download to ensure everything is really OK.
    http://www.apple.com/downloads/macosx/apple/macosx_updates/macosx1058comboupdate .html

  • Only return data from "First Occurrence" of a record?

    Post Author: cmainard
    CA Forum: Formula
    I have a table with per customer, multiple rows.
    For example:
    nameadd
    Family
    famorder
    Portfolio Name Three
    famsalu
    sperling_dale
    1
    814308-3 and 618887-4
    Mr. and Mrs. Dale R. Sperling
    sperling_dale
    2
    4724042
    Mr and Mrs Dale R Sperling
    sperling_dale
    3
    4734415
    Mr and Mrs Dale R Sperling
    sperling_dale
    4
    4734416
    Mr and Mrs Dale R Sperling
    sperling_dale
    5
    4724052
    Mr and Mrs Dale R Sperling
    I would like to ONLY return the field "famsalu" where field "famordr" = 1  
    Note that the punctuation is correct in the first record, but not in the others.  I still report on the other rows, but when returning "famsalu" can I make it Always be from where famorder = 1 ?
    Thanks!

    Post Author: V361
    CA Forum: Formula
    You can use the select statement, right click on your famorder field, select the select expert, your select may look like this     = "1"

  • Problem deleting e-mail (folder return newest messages first, older last)

    I made a program, using javamail, to accomplish a quite sofisticated mail forward.
    I read a specific mailbox, I read each message in the INBOX, and in some conditions (I read the content, get a predefined field containing a product ID, read a database and check if the price is high) I forward the e-mail.
    Then I delete the forwarded email from the inbox.<br>
    I am using pop3 & smtp, and I have First Class from Centrinity as Mail Server.
    The problem I have is the following:
    1) in the messages array filled with Message[] messages = folder.getMessages() I get the newest messages first, the older last.
    2) I scan the array, and, based on the Item price (as explained before) I delete some messages: messages(i).setFlag(Flags.Flag.DELETED,true)
    3) messages are phisically deleted only when the folder INBOX is closed: folder.close(true)
    4) if new messages arrives before closing the INBOX, THE WRONG MESSAGES ARE DELETED!.
    Example:
    - I have 3 messages in the inbox;
    - the program start;
    - I process the message number 1, I forward it, I delete it;
    - I process the message number 2, no forward, no delete;
    - (a new message "NEW" arrive now);
    - I process the message number 3, no forward, no delete;
    - I close the folder
    - THE NEW MESSAGE IS DELETED!!!!!!
    I am sure this is because of the ordering of the messages, but I cannot figure out a safe deletion while new messages arrives (and I cannot think I can't solve this problem: no pop3 client should exists!!)
    Thanks in advance for the help
    Paolo Rossetto

    Please take a look at : http://java.sun.com/developer/onlineTraining/JavaMail/contents.html
    and you will find the answer

  • I tried to change the photo on the first page and all the photos seam too big. Why

    Hi
    I upgraded my iPone 4 to ios 7. on the front page, the clock and date appeared on the photo I have there. I edited the photo so it will be less aide and less high and tried to put it on the front page (the page before the home page). the photo was suddenly huge and did'nt match the size of the screen. Why?
    How can I put the old photo so it will match the size of the screen?
    Will appreciate a detailed answer. (i am not an expert in computers...).
    Tanks!

    That's because you need to sign out of it on iTunes, and Facebook isn't integrated with your Apple ID so you will need to add your new email manually to your Facebook account.

  • Query is returning data very slowly

    Hi,
    Please advise for the solution. Thanks in advance.
    The problem is that the queries returning data very very slow.
    Let me explain further, There is one major table that is storing master data (Main Transaction) and its detail data (Child Records) and further detail of the detail data (Child Records of the Child Records) and so on sometimes upto 5 or 6 levels in the same ONE big table called "TRANSACTIONS_TABLE" table.
    Therefore, mostly my quries are self joins like
    SELECT /*+ FIRST_ROWS(10) */ JUDG.ID JUDG_ID,
    SE.ID SE_ID,
    CS.ID CS_ID,
    CS.CS_DATE,
    CS.CS_J_ID,
    CS.CT_ID,
    C.ID C_ID,
    C.TRANSACTIOIN_TYPE_ID C_TRANSACTIOIN_TYPE_ID,
    C.TRANSACTIOIN_NO,
    C.TRANSACTIOIN_YEAR,
    C.TRANSACTIOIN_DATE,
    C.SUBJECT,
    C.UNIT_ID,
    (SELECT U.NAME_N FROM ORG U WHERE U.ID = C.UNIT_ID) PRC_UNIT_DESC,
    C.E4 NO_AL_QAZYA_ID,
    SELECT T.DESCRIPTION
    FROM prc_charge_categories T
    WHERE T.ID = TO_NUMBER(C.E4)
    ) NO_AL_QAZYA,
    C.CREATED_BY
    FROM TRANSACTIOINSACTION_TABLE C,TRANSACTIOINSACTION_TABLE SE, TRANSACTIOINSACTION_TABLE JUDG, DEF_TABLE CS
    WHERE C.ID = SE.PARENT_ID
    AND SE.ID = J.PARENT_ID
    AND SE.TRANSACTIOIN_TYPE_ID = 63755
    AND J.TRANSACTIOIN_TYPE_ID = 63424
    AND J.E1 = '3'
    AND CS.ID = TO_NUMBER(SE.E9);
    23 rows selected in 48.672 seconds
    I run the below query on this table
    select transaction_type_id,count(*) total_rows
    from transactions_table
    group by transaction_type_id
    order by 2 desc;
    transact total_rows
    114893     1192544
    63755     774132
    62270     682361
    63424     633046
    65220     515605
    67728     457831
    84928     378754
    58806     296351
    64240     277624
    65244     275267
    67224     152061
    112610     123796
    67434     116100
    65824     88787
    61369     76196
    62269     74821
    61740     67085
    56448     56185
    65703     55336
    99601     54552
    64423     49368
    61478     43187
    101689     39372
    61652     38196
    67136     27713
    61364     25790
    97961     23610
    65380     19811
    56353     18910
    65618     18309
    57041     16808
    98137     15837
    101794     14618
    100127     14118
    98916     13691
    112735     13082
    117349     11930
    69334     11462
    99064     10291
    67811     10151
    69402     9142
    112753     8243
    95950     7390
    68902     6900
    119474     6693
    65659     5972
    68360     5862
    66198     5690
    118340     5161
    62012     4490
    71088     4050
    112040     3864
    57315     3047
    112031     2957
    57289     2891
    112039     2523
    112038     2446
    114254     2269
    55550     2242
    119926     2225
    69650     2135
    65033     1343
    119078     811
    69788     780
    115133     774
    116390     578
    114968     549
    65575     521
    64290     412
    120026     403
    67388     359
    116340     249
    66847     228
    98524     144
    68214     138
    120459     105
    118777     92
    79395     87
    116039     79
    65768     67
    118376     58
    120906     57
    55848     52
    58983     50
    61195     48
    68134     29
    66645     24
    55992     23
    69037     21
    70379     21
    56674     20
    112019     20
    68911     18
    70206     17
    66028     16
    114335     11
    69555     7
    55849     6
    57122     6
    65034     5
    60496     5
    57273     4
    56286     4
    55563     4
    56972     3
    55542     3
    70654     3
    55999     3
    56721     3
    57138     2
    117802     2
    57005     2
    61058     2
    116351     2
    57096     2
    57075     2
    95136     1
    115210     1
    117601     1
    68298     1
    56939     1
    65935     1
    61739     1
    65611     1
    71249     1
    57010     1
    95024     1
    68406     1
    57097     1
    122206     1
    57062     1
    132 rows selected in 5.266 seconds
    Immediately, I again run this same query
    132 rows selected in 5.079 seconds
    then again
    132 rows selected in 2.672 seconds
    then again
    132 rows selected in 4.438 seconds
    then again
    132 rows selected in 2.684 seconds
    The structure of this table is
    CREATE TABLE transactions_table
    ID NUMBER NOT NULL,
    PARENT_ID NUMBER,
    TRANSACTION_TYPE_ID NUMBER NOT NULL,
    TRANSACTION_YEAR NUMBER(4),
    TRANSACTION_NO NUMBER(8),
    TRANSACTION_DATE DATE NOT NULL,
    C1 VARCHAR2(255 BYTE),
    C2 VARCHAR2(255 BYTE),
    C3 VARCHAR2(255 BYTE),
    LONG_C1 VARCHAR2(4000 BYTE),
    LONG_C2 VARCHAR2(4000 BYTE),
    LONG_C3 VARCHAR2(4000 BYTE)
    TABLESPACE TS16K_DATA
    PCTUSED 0
    PCTFREE 10
    INITRANS 1
    MAXTRANS 255
    STORAGE (
    INITIAL 3144M
    MINEXTENTS 1
    MAXEXTENTS UNLIMITED
    PCTINCREASE 0
    BUFFER_POOL DEFAULT
    LOGGING
    NOCOMPRESS
    NOCACHE
    NOPARALLEL
    MONITORING;
    CREATE UNIQUE INDEX MOJ.EVN_PK_I ON transactions_table
    (ID)
    NOLOGGING
    TABLESPACE TS16K_INDX
    PCTFREE 10
    INITRANS 2
    MAXTRANS 255
    STORAGE (
    INITIAL 168M
    MINEXTENTS 1
    MAXEXTENTS UNLIMITED
    PCTINCREASE 0
    BUFFER_POOL DEFAULT
    NOPARALLEL;
    CREATE INDEX EVN_EVN_TYP_I ON transactions_table
    (TRANSACTION_TYPE_ID)
    NOLOGGING
    TABLESPACE TS16K_INDX
    PCTFREE 10
    INITRANS 2
    MAXTRANS 255
    STORAGE (
    INITIAL 136M
    MINEXTENTS 1
    MAXEXTENTS UNLIMITED
    PCTINCREASE 0
    BUFFER_POOL DEFAULT
    NOPARALLEL;
    There are 150 COLUMNS in this table and out of which there are 33 columns data type is VARCHAR2(4000 BYTE) and others NUMBER datatype and some are VARCHAR2(255 BYTE)
    As from above, the index on TRANSACTION_TYPE_ID is not unique and not bit map but a normal index.
    Further there are no partitions for this table.
    Many of the database views based on this table return results after several minutes.
    * Around 5000 to 8000 rows are entered in this table on daily basis and is it feasible to create partitions and modify indexes to bit map and vice versa where ever required because already this table is having 54 Indexes including composite ones.
    Please help and advise.

    When your query takes too long ...
    HOW TO: Post a SQL statement tuning request - template posting

  • Date_popup returns date to wrong colum...

    Hi,
    I am using wwv_flow_item.date_popup in a select statement, but the problem is it is always returning the value selected to the wrong row.
    I tried many things like putting an order by clause etc, but the same problem.
    I have a query as follows:
    select list..
    from table
    union
    select list
    from dual
    order by x;
    I also tried without the union, but still the same problem. I upgraded my htmldb version from 1.3.6. to 1.5.0.0, but still the same problem.
    Any help is appreciated. If this is a know bug, I shall write my own JS for date popups.
    thanks,
    ashok manthina.

    Hi Sergio,
    Thanks for the update. Here is the complete query...
    select wwv_flow_item.text(1,exam_short_name,10) ExamCode
    ,wwv_flow_item.text(2,description,50) ExamDescr
    ,wwv_flow_item.date_popup(4,rownum,exam_date,'DD-MON-YYYY',15) ExamDate
    ,htf.anchor( 'f?p=101:54:'||:flow_session||'::NO::P54_COURSE_CODE,P54_COURSE_INSTANCE_ID,P54_EXAM_ID:'||:P52_COURSE_CODE||','||:P52_COURSE_INSTANCE_ID||','||exam_id,'<img src="/i/edit_big.gif" border="0">') e
    ,wwv_flow_item.hidden(6,exam_id) ExamId
    ,wwv_flow_item.checkbox(7,exam_id) Del
    from course_exam
    where course_instance_id = :P52_COURSE_INSTANCE_ID
    union
    select wwv_flow_item.text(1,null,10) ExamCode
    ,wwv_flow_item.text(2,null,50) ExamDescr
    ,wwv_flow_item.date_popup(4,rownum,null,'DD-MON-YYYY',15) ExamDate
    ,null
    ,wwv_flow_item.hidden(6,null) ExamId
    ,wwv_flow_item.hidden(7,null) ExamId
    from dual
    Now when I click on the date popup, and select a value it returns to either a row above or below. I could see the problem with the button that is getting generated. The JS associated with the button does not have the correct row number associated.
    For e.g. the date popup button on row 3 has a call to javascript:genCalf04_0(), which obviously is wrong, it should instead be javascript:genCalf04_2()..
    Thanks,
    Ashok Manthina.

  • Network issues after returning from sleep mode

    I'm noticing this issue on T440, Twists, T420s, whether it's Windows 8, Windows 8.1 or Windows 7.  Sometime around the end of last year and the beginning of this year, my users suddenly started reporting problems with the machines after returning from sleep mode.  The network adapter (whether plugged in or using wifi), would show limited connectivity and would not connect to the internet until the machine is rebooted.
    I've tried updating drivers, using system restores, disabling the network adapters from shutting down to conserve power, OS network diagnosis & network adapter resets, none of which has worked.  Hibernation is disabled on all machines.
    The only fix I have is to reinstall the OS over the top of the system and reinstall all updates.  Looking for help with this issue.
    Thanks!
    Solved!
    Go to Solution.

    Hi Mertz74,
    Thank you for replying us back!
    Please check with uninstalling power manger and reinstall it with latest driver.
    Download chipset driver from Lenovo drivers page and install it.
    Please check with above option to resolve the issue.
    Below is the link to enter the downloads page and download updates accordingly, please click on "Select Product" then in "QUICK PATH" enter the MTM no. select the exact model.
    http://support.lenovo.com/en_US/downloads/default.page#
    Hope this helps. Do post back if issue persists!
    Best regards.
    Hemanth Kumar
    Did someone help you today? Press the star on the left to thank them with a Kudo!
    If you find a post helpful and it answers your question, please mark it as an "Accepted Solution"! This will help the rest of the Community with similar issues identify the verified solution and benefit from it.
    Follow @LenovoForums on Twitter!

  • Clear all rows in a Bean Data Control

    I am using JDeveloper 11.1.1.6
    In my use case I have a screen that interacts with a Bean Data Control I have followed the steps in the following URL to create a Bean Data Control
    http://docs.oracle.com/cd/E18941_01/tutorials/jdtut_11r2_36/jdtut_11r2_36.html
    My screen successfully interacts with the Bean Data Control. This screen lives in a Bounded Task Flow (BTF). I can add rows using a Create Insert binding and can delete Rows as well. Once the user gets all rows into the Bean Data Control that they want inserted to a DB table, I can iterate through the Bean Data Control and post those records to the DB. It is possible for the users to add rows to the Bean Data Control and then link to a brand new screen which is in a different BTF which leaves rows in the Bean Data Control. Now the user goes back to the original screen. Upon returning, I want to empty (clear all rows) for the Bean Data Control so that they have a fresh start. Could you please provide guidance on what I might need to do to be able to clear a Bean Data Control when entering a BTF

    Hi,
    You can create a method to clear your Bean Data Control and call it with an invokeAction with property refresh="ifNeeded" and refreshCondition="#{pageFlowScope.isTimeToClearAll}", so pageFlowScope.isTimeToClearAll must be true only when you need to clear the BDC.
    Check this article: http://www.gebs.ro/blog/oracle/oracle-adf-invokeaction/
    AP

  • I have a problem with my iPhone 4s.  An Apple rep looked at the phone today and determined the phone will have to be replaced.  I am trying to back up my data on the phone to iTunes but I cannot get the phone to power up.

    I have a problem with my iPhone 4s.  An Apple rep looked at the phone tonight and determined I will need a new phone.  I am now trying to back up my data to iTunes but I cannot get the phone to turn on.  I have it plugged into my computer monitor but it just slowly flashes the Apple symbol. Any ideas on how I can get it to power up for the backup?

    Apple isnt here. this is a user based forum for technical questions. The solution is to restart, reset, and restore as new which is in the manual after that get it replaced for hard ware failure. if your within your one year warranty its replaced if it is out of the warranty then it is 199$

  • My iphone 4S has problem in making and receiving the calls. While making the call , call fails and netwrok disappears. Like wise no voice is heard for incoming calls. This happened after return from the overseas travel.

    My iphone 4S has problem in making and receiving the calls. While making the call , call fails and netwrok disappears. Like wise no voice is heard for incoming calls. This happened after return from the overseas travel.

    Hello SamSax
    Check out the assist page below for troubleshooting call connectivity.
    Calls and connection issues
    http://www.apple.com/support/iphone/assistant/calls/
    Thanks for using Apple Support Communities.
    Regards,
    -Norm G.

  • Why is it that when looking through  new apps in the  apps store on my ipad in release date mode  does it return to the first 1-12 after viewing pparticular apps?

    why is it that when I look through the new apps in the apps store in release date mode it returns to the first page after veiwing more information about some apps, I could be ten to twenty pages in and have it happen.
    Also, I only speak and read English and although there are probably great apps for people from other nations, I don't want to wade through all the apps that I can't make use of. I expect that people of other nationalities or languages don't want to have to wade through every app that they can't make use of, is there not a way that alI users could filter by language?
    I mean no offence to anyone but with a collection of hundreds of thousands of apps in all languages and the jump back to the begining after possibly being into the list by a number of pages I stop looking after awhile and I'm sure I've missed some excellent apps by doing so.

    Contact iTunes support : http://www.apple.com/support/itunes/contact/

  • Trying to restore after getting a new hard drive.  I can see the backup on the Time Capsule and on the correct date but it is Greyed out.  That is it wont let me open it and restore the machine.  Have tried also Migration Assistant, no luck.

    Trying to restore after getting a new hard drive.  I can see the backup on the Time Capsule and on the correct date but it is Greyed out.  That is it wont let me open it and restore the machine.  Have tried also Migration Assistant, no luck.

    https://discussions.apple.com/thread/5210788?tstart=0
    At startup hold down the Command+Option/Alt+r keys until you see a globe on the screen. Then use disk utility to partition and format the drive HSF+ and then select Reinstall Mac OS X. whatever version of OS X that originally came on your system will be installed and then you can upgrade back to Mavericks.

  • 'Driver]Parameter missing' Error while trying to pass parameter to MS query & Return Data to Microsoft Excel

    I am trying to set up a parameter query using ODBC-Microsoft Query
    to BMC Remedy The ODBC connection is "AR System ODBC Data Source".
    I want to pass a parameter to modified date field and get all the remedy tickets for which the modified date is<= to the passed parameter date.
    So in MS query, SQL- 
    the query looks like
     WHERE ("Trouble Ticket"."Create Date">={ts '2014-10-01 00:00:00'}) AND ("Trouble Ticket"."Modified-date"<=?)
    I am getting the data fetched from database in the MS query window, but unfortunately
    When I click File-Return Data to Microsoft Excel, its showing an error: Driver]Parameter missing
    I set the connection properties- parameter-Prompt for value using the following string.
    Please help

    Hi,
    Based on the error message, I recommend we try the suggestion: Replace all "..."  with [...]
    http://www.pcreview.co.uk/forums/error-parameter-query-odbc-remedy-bmc-software-com-t3232964.html
    Then, if you want to connect the Remedy's oracle database, please see the thread:
    http://www.tek-tips.com/viewthread.cfm?qid=1123112
    We may try the workaround: Write an Excel macro which connects to the database and fetch the data based on the SQL query.
    Please Note: Since the web site is not hosted by Microsoft, the link may change without notice. Microsoft does not guarantee the accuracy of this information.
    If you have further question about write macro, I recommend you post the question to the MSDN forum for Excel
    http://social.msdn.microsoft.com/Forums/en-US/home?forum=exceldev&filter=alltypes&sort=lastpostdesc
    The reason why we recommend posting appropriately is you will get the most qualified pool of respondents, and other partners who read the forums regularly can either share their knowledge or learn from your interaction with us. Thank you for your understanding.
    George Zhao
    TechNet Community Support
    It's recommended to download and install
    Configuration Analyzer Tool (OffCAT), which is developed by Microsoft Support teams. Once the tool is installed, you can run it at any time to scan for hundreds of known issues in Office
    programs.

Maybe you are looking for

  • How to make various tracks distinctly visible in fcpx ?

    I have to remember what material I have put in which track.....Is there a way to create a visual difference by color or name or something that in you multi track project you can just know that in this layer are the NG takes....or in this are the safe

  • 24p question dealing with capturing

    friend shoots movie in 24P. I get to edit movie. as far as I know, 24P should be captured at 29.97 and FCP makes the adjustments. so. when I capture, I get some firece tracers/zebra stripes on the video. I've tried it 3 different ways and everytime,

  • Supplier not intended for purch. org.

    Hi Experts, I have a problem during creating the shopping cart. We're implementing registration of supplier scenario with SUS(sus system is in different client of SRM) We've succesfully registered the supplier.But while i'm creating shopping cart, sy

  • Integration wth outide Job Scheduler.

    We are looking at integrating the Vinizant Global ECS Job scheduler with SAP.   We need to know how to start and monitor sap jobs and chains from unix level. Any suggestions would be appreciated.

  • Exception "A breakpoint has been reached"

    Finally I managed to create a shared dll. My C program works fine, but if I want to start it from Java, I get the following error message: "The exception Breakpoint A breakpoint ahs been reached (0x80000003) occured in the application at location 0x0