QM Sceneri: MIC which has it Limits dependent on the results of a MIC.

QM Scenerio
  The plan has multiple MIC's all with limits. First five MIC's are independent and rest three are having their limits dependent on the results of a MIC eg with a formula. say 0.8X lower limit and 1.1X upper limit of a MIC., where X is the result of the fifth MIC. Similarly the 7th and the 8th MIC's are having limits dependent on the same MIC with different formula.
This kind of scenerio may be two times in an inspection Plan.
Can the Gurus kindly give me the solution how to do it.

No. Nothing that is standard.  You will have to probably look at creating your own custom valuation FM.  SAP allows you to create these FM's and then config them into the system. You would then selection the custom valuation in a sample procedure that you would create for each of these characteristics.   The valuation for the characteristic would then be carried out according to your custom FM.  No spec would be displayed in the inspection lot however.  But he valuation should be possible.
FF

Similar Messages

  • HT1981 I will use my 110V MacBook in the Philippines which has 220V sockets. Will the World Travel Adapter Kit help me?

    I will use my 110V MacBook in the Philippines which has 220V sockets. Will the World Travel Adapter Kit help me?

    Assuming you're in North America now, you probably won't need any sort of plug adaptor there; most sockets in the Philippines are the same as those in North America. In case you do, it doesn't contain the correct adaptor.
    Voltage conversion is handled by the MacBook without any additional components.
    (66079)

  • I have a ipad which has been locked due to the owner claiming it was lost.  I have had the serial no. checked and it is not stolen but I can't use it.

    i have a ipad which has been locked due to the owner claiming it was lost.  I have had the serial no. checked and it is not stolen but I can't use it.  I have talked to the owner many times who refuses to give me the password or has no idea what password was used.

    Unfortuinately there is nothing that can be done.
    If its locked its locked.  This is a theft deterrant mechanism.
    If you could unlock "stolen" ipads then there would be no purpose for the feature.
    You will have to convince the owner you bought it correctly, or accept its no lonnger usable by you until the original owner removes the lock.

  • How to execute a procedure depending on the result of a query?

    Hello, I'm new in ODI.
    I want to execute a procedure depending on the result of a query Oracle table.
    We have a Oracle Table whit a column that contains two possibles values.
    I want read the table, row by row, and depending on this value, execute a Procedure or execute another.
    How can i do?

    what you need to do is
    1. create a variable which "new_var2" which has the count of the number of rows you want to process. must be data type numeric.
    2. copy "new_var2" to the package screen.
    3. duplicate the "new_var2" on the package screen and evaluate the variable and test for "> 0" zero, call it "new_var2_E"
    3. create a new odi variable "new_var1" with a refresh of "select field1 fom (select field1,rownum as rownumber from tablex) where rownumber = #new_var2" in the relevant schema and technology.
    4. copy "new_var1" into your package (some where in the flow)
    5. right click the "new_var1" variable in you package screen and you should get the option duplicate step (click on that)
    6. select the the duplicate "new_var1" on the package screen and correct the the name to something meaning full to you "new_var1_E", also change the "type" to "evaluate variable" then you should see a "value" box. enter one of the values you want to test in the box (remember do not put in quotes ' )
    7. now back on the package screen join the "new_var1" to the "new_var1_E" with an OK line
    8 you now join "new_var2" to "new_var2_E" with OK
    9 you join "new_var2_E" to "new_var1"
    10. you then join the "new_var1_E" with an OK or a KO line to the relevant procedure.
    12. you need to duplicate "new_var2" in the package screen one more time this time and call it "new_var2_D" set the type to evaluate and then select the increment of -1
    13. the relevant procedure to "new_var2_D" with an OK
    14. join the "new_var2_D" to the "new_var2_E" with an OK
    15. this should close off the loop now the exit point is "new_var2_E" with a KO line to the next part of your process....
    Basically you should end up with a loop on new_var2 decementing, and it is used to get a specific next record row from your table.
    Hope this helps, sorry it is a little long winded..
    Edited by: DavidGD on Feb 8, 2009 3:29 PM

  • I have lost my old itunes account as it had an gmail address which has been deleted by google, the rescue email address is also no longer valid

    i am unable to locate my old itunes account. I save music from my own collection and purchased tracks from itunes. i believe the account was using an old gmail account which has been deleted by google as it was inactive for a period of time. the rescue email address is also not obsolete. Is there anyway of tracking down my old account either by creditcard number or home address? i have not been able to get music on any of my devices, ipad 2 or my iphone 5. really need some help as this has been like it for several months.. probably a couple of years if i thnk about it.

    Welcome to the Apple Community.
    The following article(s) may help you.
    Look up your old and forgotten Apple ID

  • I have an officejet hpj4500 which has paper in it. gives the message that it has no paper. press ok.

    I HAVE AN OFFICEJET J4500 WHICH HAS PAPER IN IT, BUT WON'T PRINT, AND GIVES THE MESSAGE "ADD PAPER THEN PRESS OK" . I DO THAT, BUT IT STILL DOES NOT PRINT. IT KEEPS REPEATING THE SAME MESSAGE. COULD IT BE AN INK PROBLEM?

    Hi Janine943,
    Thanks for visiting Apple Support Communities.
    See this article for some troubleshooting steps that can help:
    OS X Lion: If an error message appears while you burn a CD or DVD
    http://support.apple.com/kb/PH3999
    Regards,
    Jeremy

  • JOIN ON 2 different sets of table depending on the result of first set

    <br>
    I have a query where it returns results. I want to join this query to
    2 different sets of table depending upon the first set has a result or not.
    if first set didnt had a results or records then check for the second set.
    SELECT 
    peo.email_address,
    r.segment1 requistion_num,
    to_char(l.line_num) line_num,
    v.vendor_name supplier, 
    p.CONCATENATED_SEGMENTS category,
    to_char(round((nvl(l.quantity, 0) * nvl(l.unit_price, 0))),'99,999,999,999.99'),
    TO_CHAR(l.need_by_date,'MM/DD/YYYY') need_by_date,
    pe.full_name requestor,
    l.item_description,
    pr.segment1 project_num,
    t.task_number,
    c.segment1,
    c.segment2
    FROM po_requisition_headers_all r,
         po_requisition_lines_all l,  
    (SELECT project_id,task_id,code_combination_id, distribution_id,requisition_line_id,creation_date  FROM
    (SELECT project_id,task_id,code_combination_id,distribution_id,creation_date,requisition_line_id,ROW_NUMBER ()
    OVER (PARTITION BY requisition_line_id ORDER BY requisition_line_id,distribution_id ) rn
    FROM po_req_distributions_all pod) WHERE rn = 1) d,
    gl_code_combinations c,
    POR_CATEGORY_LOV_V p,
    per_people_v7 pe,
    PA_PROJECTS_ALL pr,
    PA_TASKS_ALL_V t,
    ap_vendors_v v,
    WHERE  d.creation_date >= nvl(to_date(:DATE_LAST_CHECKED,
    'DD-MON-YYYY HH24:MI:SS'),SYSDATE-1)
    AND
    l.requisition_header_id = r.requisition_header_id
    AND l.requisition_line_id = d.requisition_line_id
    AND d.code_combination_id = c.code_combination_id
    AND r.APPS_SOURCE_CODE = 'POR'
    AND l.category_id = p.category_id
    AND r.authorization_status IN ('IN PROCESS','PRE-APPROVED','APPROVED')
    AND l.to_person_id = pe.person_id
    AND pr.project_id(+) = d.project_id
    AND t.project_id(+) = d.project_id
    AND t.task_id(+) = d.task_id
    AND v.vendor_id(+) = l.vendor_id
    and r.requisition_header_id in(
    SELECT requisition_header_id FROM po_requisition_lines_all pl                    
    GROUP BY requisition_header_id HAVING SUM(nvl(pl.quantity,0) * nvl(pl.unit_price, 0)) >=100000)
    group by
    peo.email_address,
    r.REQUISITION_HEADER_ID,
    r.segment1 ,
    to_char(l.line_num) ,
    v.vendor_name, 
    p.CONCATENATED_SEGMENTS ,
    to_char(round((nvl(l.quantity, 0) * nvl(l.unit_price, 0))),'99,999,999,999.99'),
    TO_CHAR(l.need_by_date,'MM/DD/YYYY') ,
    pe.full_name ,
    l.item_description,
    c.segment1,
    c.segment2,
    pr.segment1 ,
    t.task_number
    <b>I want to join this query with this first set </b>
    SELECT b.NAME, c.segment1 CO, c.segment2 CC,
              a.org_information2 Commodity_mgr,
              b.organization_id, p.email_address
         FROM hr_organization_information a, hr_all_organization_units b, pay_cost_allocation_keyflex c, per_people_v7 p
        WHERE a.org_information_context = 'Financial Approver Information'
          AND a.organization_id = b.organization_id
           AND b.COST_ALLOCATION_KEYFLEX_ID = c.COST_ALLOCATION_KEYFLEX_ID
           and a.ORG_INFORMATION2 = p.person_id
          AND NVL (b.date_to, SYSDATE + 1) >= SYSDATE
          AND b.date_from <= SYSDATE;
    <b>if this doesnt return any result then i need to join the query with the 2nd set</b>
    select lookup_code, meaning, v.attribute1 company, v.attribute2 cc,
                decode(v.attribute3,null,null,p1.employee_number || '-' || p1.full_name) sbu_controller,
                decode(v.attribute4,null,null,p2.employee_number || '-' || p2.full_name) commodity_mgr
                from fnd_lookup_values_vl v,
                per_people_v7 p1, per_people_v7 p2
                where lookup_type = 'BIO_FIN_APPROVER_INFO'
                  and v.attribute3 = p1.person_id(+)
                and v.attribute4 = p2.person_id(+)
                order by lookup_code
    How do i do it?
    [pre]                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                               

    <br>
    I have hard coded the 2 jon sets into one using UNION ALL but if one record exists in both sets how would i diferentiate between the 2 sets.
    COUNT(*) will only give the total records.
    if there r total 14
    suppose first set gives 12 records
    second set gives 4 records.
    But i want only 14 records which could 12 from set 1 and 2 from set 2 since set1  and set2 can have common records.
    SELECT 
    peo.email_address,
    r.segment1 requistion_num,
    to_char(l.line_num) line_num,
    v.vendor_name supplier, 
    p.CONCATENATED_SEGMENTS category,
    to_char(round((nvl(l.quantity, 0) * nvl(l.unit_price, 0))),'99,999,999,999.99'),
    TO_CHAR(l.need_by_date,'MM/DD/YYYY') need_by_date,
    pe.full_name requestor,
    l.item_description,
    pr.segment1 project_num,
    t.task_number,
    c.segment1,
    c.segment2
    FROM po_requisition_headers_all r,
         po_requisition_lines_all l,  
    (SELECT project_id,task_id,code_combination_id, distribution_id,requisition_line_id,creation_date  FROM
    (SELECT project_id,task_id,code_combination_id,distribution_id,creation_date,requisition_line_id,ROW_NUMBER ()
    OVER (PARTITION BY requisition_line_id ORDER BY requisition_line_id,distribution_id ) rn
    FROM po_req_distributions_all pod) WHERE rn = 1) d,
    gl_code_combinations c,
    POR_CATEGORY_LOV_V p,
    per_people_v7 pe,
    PA_PROJECTS_ALL pr,
    PA_TASKS_ALL_V t,
    ap_vendors_v v,
    WHERE  d.creation_date >= nvl(to_date(:DATE_LAST_CHECKED,
    'DD-MON-YYYY HH24:MI:SS'),SYSDATE-1)
    AND
    l.requisition_header_id = r.requisition_header_id
    AND l.requisition_line_id = d.requisition_line_id
    AND d.code_combination_id = c.code_combination_id
    AND r.APPS_SOURCE_CODE = 'POR'
    AND l.category_id = p.category_id
    AND r.authorization_status IN ('IN PROCESS','PRE-APPROVED','APPROVED')
    AND l.to_person_id = pe.person_id
    AND pr.project_id(+) = d.project_id
    AND t.project_id(+) = d.project_id
    AND t.task_id(+) = d.task_id
    AND v.vendor_id(+) = l.vendor_id
    and r.requisition_header_id in(
    SELECT requisition_header_id FROM po_requisition_lines_all pl                    
    GROUP BY requisition_header_id HAVING SUM(nvl(pl.quantity,0) * nvl(pl.unit_price, 0)) >=100000)
    group by
    peo.email_address,
    r.REQUISITION_HEADER_ID,
    r.segment1 ,
    to_char(l.line_num) ,
    v.vendor_name, 
    p.CONCATENATED_SEGMENTS ,
    to_char(round((nvl(l.quantity, 0) * nvl(l.unit_price, 0))),'99,999,999,999.99'),
    TO_CHAR(l.need_by_date,'MM/DD/YYYY') ,
    pe.full_name ,
    l.item_description,
    c.segment1,
    c.segment2,
    pr.segment1 ,
    t.task_number
    UNION ALL
    SELECT 
    r.segment1 requistion_num,
    to_char(l.line_num) line_num,
    v.vendor_name supplier, 
    p.CONCATENATED_SEGMENTS category,
    to_char(round((nvl(l.quantity, 0) * nvl(l.unit_price, 0))),'99,999,999,999.99'),
    TO_CHAR(l.need_by_date,'MM/DD/YYYY') need_by_date,
    pe.full_name requestor,
    l.item_description,
    pr.segment1 project_num,
    t.task_number,
    c.segment1,
    c.segment2
    FROM po_requisition_headers_all r,
         po_requisition_lines_all l,  
    (SELECT project_id,task_id,code_combination_id, distribution_id,requisition_line_id,creation_date  FROM
    (SELECT project_id,task_id,code_combination_id,distribution_id,creation_date,requisition_line_id,ROW_NUMBER ()
    OVER (PARTITION BY requisition_line_id ORDER BY requisition_line_id,distribution_id ) rn
    FROM po_req_distributions_all pod) WHERE rn = 1) d,
    gl_code_combinations c,
    POR_CATEGORY_LOV_V p,
    per_people_v7 pe,
    PA_PROJECTS_ALL pr,
    PA_TASKS_ALL_V t,
    ap_vendors_v v,
    fnd_lookup_values_vl flv,
    per_people_v7 p1,
    per_people_v7 p2
    WHERE  d.creation_date >= nvl(to_date('11-APR-2008',
    'DD-MON-YYYY HH24:MI:SS'),SYSDATE-1)
    AND
    l.requisition_header_id = r.requisition_header_id
    AND l.requisition_line_id = d.requisition_line_id
    AND d.code_combination_id = c.code_combination_id
    AND r.APPS_SOURCE_CODE = 'POR'
    AND l.org_id = 141
    AND l.category_id = p.category_id
    AND r.authorization_status IN ('IN PROCESS','PRE-APPROVED','APPROVED')
    AND l.to_person_id = pe.person_id
    AND pr.project_id(+) = d.project_id
    AND t.project_id(+) = d.project_id
    AND t.task_id(+) = d.task_id
    AND v.vendor_id(+) = l.vendor_id
    AND flv.attribute1=c.segment1
    AND flv.attribute2=c.segment2
    AND flv.lookup_type = 'BIO_FIN_APPROVER_INFO'
    and flv.attribute3 = p1.person_id(+)
    and flv.attribute4 = p2.person_id(+)
    and r.requisition_header_id in(
    SELECT requisition_header_id FROM po_requisition_lines_all pl                    
    GROUP BY requisition_header_id HAVING SUM(nvl(pl.quantity,0) * nvl(pl.unit_price, 0)) >=100000)
    group by
    r.REQUISITION_HEADER_ID,
    r.segment1 ,
    to_char(l.line_num) ,
    v.vendor_name, 
    p.CONCATENATED_SEGMENTS ,
    to_char(round((nvl(l.quantity, 0) * nvl(l.unit_price, 0))),'99,999,999,999.99'),
    TO_CHAR(l.need_by_date,'MM/DD/YYYY') ,
    pe.full_name ,
    l.item_description,
    c.segment1,
    c.segment2,
    pr.segment1 ,
    t.task_number

  • Courses dependent on the result of an initial "grading test" ?

    Is it possible to organize a curriculum in dependence of the
    results of an initial "grading test" ?
    e.g.:
    up to 30% of questions answered correctly -> Course 1
    up to 60% of questions answered correctly -> Course 2
    more than 60% of questions answered correctly -> Course 3
    Any hint welcome
    Kind regards
    Rainer

    "whertzing" <[email protected]> wrote in
    message
    news:g8hgia$iaq$[email protected]..
    >I get an XMLList from a Web Service by parsing the
    results of a web service
    > call using event.result..Period, which gives an XMLList
    where each node
    > has an
    > attribute "PeriodStart" whose value is a datetime
    string.
    >
    > I want to use a slider (which returns integers for the
    slider start and
    > end
    > location(s) within the max and min integers) to select
    just a "slice" of
    > these
    > nodes. If my data werre an Array, I could use the
    array.slice(x,z) method
    > to
    > get the elements with index values between the the start
    and end integers.
    >
    > Is there a (simple) way to get the nodes of an XMLList
    between two
    > integers?
    > That is, if there were 10 nodes in the XMLList, and an
    implicit ordering
    > to the
    > nodes based on the value of the attribute @PeriodStart,
    and I wanted to
    > get the
    > 3rd through 7th node (a "slice" consiting of 5 nodes),
    how can I express
    > this
    > in ActionSCript?
    Use an XMLListCollection with a filterFunction.

  • Can I use a Time Capsule for ADDITIONAL storage for a Mac Air which has run limited storage space

    Hi
    I am looking at purchasing the current MacBook Air but am aware of its limited storage space in terms of files, photos etc.
    Was wondering if I could use a time Capsule for both back-up and as an additional storage device.  Ie: would I be able to store photos and files on the Time Capsule that I do not wish to store on a MacBook Air and be able to retrieve them as and when - or would these be deleted after a period of time?  Is there any way of protecting certain files on the Time capsule to prevent them from being deleted?
    Many thanks in advance

    Welcome to Apple Support Communities
    You can but it's not recommended, because you can damage the Time Machine structure.
    Toffey wrote:
    would I be able to store photos and files on the Time Capsule that I do not wish to store on a MacBook Air and be able to retrieve them as and when - or would these be deleted after a period of time?  Is there any way of protecting certain files on the Time capsule to prevent them from being deleted?
    Only files backed up with Time Machine are deleted from your Time Capsule when there's no enough storage. If you store other files, they are not deleted. However, for what you want to do, I recommend you to buy a big external drive and make two partitions, one for Time Machine and another one to store files, or get two external drives

  • How do I tell my flash movie which frames to display depending on the page?

    Hi,
    I'm creating a php website with a flash movie that
    incorporates the navigation. The movie shows an image for each
    section and this image doubles as the navigation. The website uses
    the same php template throughout the site for each page.
    Here's the thing: I would like each page within the site to
    display the rollover / active state of the section that the page is
    in, rather than the movie playing fully each time the visitors
    visits a different page.
    The .fla file and .swf can be viewed here:
    http://preview.hosts.co.uk/~swinsidelodge-hotel.co.uk/templates/swinside/img/header.fla
    http://preview.hosts.co.uk/~swinsidelodge-hotel.co.uk/templates/swinside/img/header.swf
    So when a visitor is on a page in the hotel section, I want
    the flash movie to play frames 201 to 205 and when in the booking
    section frames 221 to 225 rather than the whole movie.
    Is there any way of doing this?
    Thanks,
    Konrad

    Thanks Gorka,
    I looked it up and found this useful summary:
    http://probertson.com/articles/2006/12/14/deep-linking-flash-application-states/
    However, I'm now trying to figure out how write the flahs
    vars so it can see what section / folder the page is in so that the
    swf knows to play the same frames for both
    swinsidelodge-hotel.co.uk/pages/hotel/awards.php and
    swinsidelodge-hotel.co.uk/pages/hotel/guest-comments.php. So
    basically it doesn't look at the last bit of the url but the first
    bit... I would like the flash vars to be dynamic so that when the
    client adds a new subpage in one of the sections the swf will still
    know which frames to play.
    Any suggestions?
    Thanks,
    Konrad

  • I am trying to download a document which has an adobe symbol in the corner and all I get is a blackX

    See the subject line

    That Download button, is this a direct link to the PDF?  If so, right-click on it, then select Save Target as...
    If you want to view the PDF in the browser (which is?), see http://helpx.adobe.com/acrobat/kb/cant-view-pdf-web.html

  • I cannot open any Word document or even Powerpoints or anything related to Office 2008, which has been working fine for the last 2 years. I need help...

    I installed an application called "You SendIt" because some audio files were sent to me and I had to access them through it. My Mac is running Windows and OS-X. I bought an version of Office 2008 separately. I tried to uninstall it, to get rid of all my downloads and also to reinstall Office 2008 but nothing works...
    Whenever I try to open a Word file, for example, it says:
    "The application Microsoft Word quit unexpectedly. Mac OS-X and other applications are not affected. Click relaunch to launch the application again. CLick Report to see more details or send a report to Apple"
    Of course I have tried to reset and relaunch... But it does not work. I realized today I have the same problem with Powerpoint.
    I have looked at Mac help forums... but no results...
    So, if you or your friend had any idea on how to solve this, it would help me A LOT!!
    Thank you in advance.
    Stephanie

    Hi Chris,
    Well, I tried to delete the Caches and I threw all the .plist files related to microsoft in the trash -- athough I don't know if this is the way to delete files but I haven't found another yet....
    From your other suggestions, it seems to me that you have the impression that I want to stop using Microsoft Office (it was 2007, I made a mistake) though... but this is not the case.
    So... tell me if I misunderstood correctly or if I did anything wrong, or if you have anything else to suggest...
    Thanks a lot anyways!
    Stephanie

  • I have an iphone 4, which has a problem. part of the screen is unresponsive to pressure from my finger. any ideas? How much will repair cost

    Hi
    Can anyone help me? I have an iphone 4, but parts of thr screen is "dead" and unresponsive to finger touch. Can it be repaired and roughly cost to do so.
    Many thanks

    No.
    Apple replace for a refurbished unit $149 in US in Apple Store

  • How do I open the download window in a tab...which has been previously part of the application? *** not an add-on!!!

    Question reads as above...no catches, no add-ons. I just want the download window/manager to open as a tab and NOT a separate window.

    The about:downloads page is only used by default if you are downloading in a Private Browsing mode window (tab), otherwise you would have to open this page manually.
    If you use it often then you can consider to pin the tab with the about:downloads page to have it in a convenient position that the begin of the tab bar.

  • Making Buttons appear depending on the results of a SQL Query

    I need some help here I am still working on a time clock program
    I need help with the clock in and out buttons i need to know how to make
    the clock in button appear only if they are not clocked in. But I can not seem
    to make the sql statement or maybe my code is wrong, it needs to just get a
    count to see if they have any entries that have 0 in the hoursworked column
    and if so then it needs to just display the clock out if not then just the clockin button needs to be displayed this was my orignal code that was not working
    <%   
        String statement = "select count(*) as cnt from TimeSheet Where idnum = " + session.getAttribute("IDNUM");
        stmt.execute(statement);
        rs = stmt.getResultSet();
        rs.next();
        int num = rs.getInt("cnt");
        if (num == 0 || num == null)
        {%>
            <tr>
                <td><input type="submit" value="Clock In" name="button"></td>
            </tr>
        <%}
        else
        {%>
            <tr>
                <td><input type="submit" value="Clock Out" name="button"></td>
            </tr>
         <% } %>but it did not work it would only display the clock out button so i need to figure this out so that the user can not clock into the program twice to get double hours and so forth.

    Does it even compile ?Yes, it wouldnt, not even in 1.5
    it needs to just get a
    count to see if they have any entries that have 0 in the hoursworked column
    and if so then it needs to just display the clock out if not then just the clockin button needs to be displayed in which case,
    1. your sql is not correct.
    2. session.getAttribute("attrName") returns an Object - is the IDNUM column of type number
    (going by the fact that you have not enclosed the value in single quotes '')
    Assuming that you have a column called 'hoursworked' in table 'timesheet' and
    IDNUM is of type NUMBER
    <%
         Integer idNum = (Integer)session.getAttribute("IDNUM");
         //from the OP ::  get a count to see if they have any entries that have 0 in the hoursworked column
         String statement = "select count(*) as CNT from TIMESHEET where IDNUM = " + idNum + " and HOURSWORKED = 0 ";
         //remaining stuff :: Look out for the error pointed out by Pgeuens
         cheers,
    ram.

Maybe you are looking for

  • CAN ANY BODY EXPLAIN THESE QUESTIONS, VERY URGENT

    WHAT IS THE USE OF CHAPTER ID, IN CHAPTER ID RATES    WILL  BE   DETERMINES. HOW MANY TAX CODES NEED CST, LST. WHERE CAN I SEE EXCISE REGISTER WHAT IS MEANT BY RG1 CAN ANY BODY EXPLAIN BRIEFLY, WHAT IS THE USE OF RG1 HOW DO I GET OPENING BALANCE FOR

  • Background job BI_ODSA_ASD is getting cancelled, set privilege at db level

    Hi, Background job BI_ODSA_ASD is getting cancelled, i have increased the tablespace, still no luck, last time i faced the same problem at that time , i gave some permission at oracle level which worked fine, i dont not remember now, it was something

  • SSRS Expression Compare columns to first column in group

    Hello, Experts, Could you please help me with the following problem? Thanks in advance! I have designed the matrix report (SSRS 2012) with database table structure looks like below.   Week  VersionMajor VersionMinor Count Week1  V1           V1.1    

  • Photo replaced with a box and question mark

    I see photos in the I photo library, but when I click on them to see the single picture in a larger view instead of seeing the particular picture, I get a square box with a question mark in it. It doesn't happen with all my pictures, just 80 percent,

  • HT5517 i could not set the airplay on my laptop

    i have a apple tv but could not connet to my MAcpro..can you help me out plese