Am not getting the primary key of the enity but the value 0 for first eleme

Hi everyone , I have used the primary key of an entity to create a selectonechoice in my page. But when I select from the combo box am gettting the value of the first element as 0 second as 1....
How to I get the value of the primary key itself...
Thanks you for your kind cooperation .
Regards
Lutchumaya

Hi,
0 is the index of the value in the selectOne Choice
See
http://groundside.com/blog/DuncanMills.php?title=adf_the_list_binding_value_problem&more=1&c=1&tb=1&pb=1
for how to retrieve the actual value
Frank

Similar Messages

  • Why do I not get the checkout option for a pdf type document when clicking on the document link in the SharePoint workflow task?

    We are trying to use workflows to review and edit pdf files in sharepoint 2010. We are having a couple of issues and am hoping someone has the answer.....
    1)  When myself and coworkers click on the pdf document in the library, we get the check out option as expected.  However when we click on the document
    link in a workflow task (on the sharepoint site), the pdf opens as a temporary file and we do not get the check out option.  Why does this happen????? 
    2)  The same thing happens when we click on the document link in the workflow task email;   HOWEVER,  one of our co-workers does get the
    check out option when clicking on the link in the email task.  Why would she get the checkout option using the email and not when clicking on the link in the task list on the sharepoint site ????  We have compared our internet settings and adobe
    settings to ours and found no differences.
    We are using Sharepoint 2010, Windows 7, IE8, Adobe Reader X or XI.  Some of us have Adobe Pro X and have the same issues.

    Hi,
    According to your post, my understanding is that you could not get the checkout option for a pdf type document when clicking on the document link in the SharePoint workflow task.
    I try to reproduce the issue, however, no matter when I click the pdf type document in the library or click on the pdf document link in the workflow task email, it download the pdf doucment and then I can open it.
    It will be better if you can descript how you
    get the check out option as expected when you click on the pdf document in the library.
    Then I upload a
    word type document to the library, no matter when I click the word type document in the library or click on the word document link in the workflow task email, I can open the word document directly and get the check out option as expected.
    I recommend to use the other type docuemts to check whether the check out option works.
    Thank you for your understanding.
    Best Regards,
    Linda Li
    Linda Li
    TechNet Community Support

  • Not getting the registration form for activation of norton antivirus

    i had purchased 8gb hp pendrive and iam unable to redeem my license key as i am not getting regestration form  in the website which you have mentioned at backside of hp pendrive so please help me in this regard

    Sorry for the inconvenience. Please confirm if you have already submitted the voucher code on our redemption page: http://www.nortonactivate.com/Campaign/fm1301
    I've also sent you a private message. Please look in (Message section) on this page or on your profile page.
    In meantime, you can download a 30 day trial of Norton AntiVirus from our web site:
    http://us.norton.com/downloads-trial-norton-antivirus
    Once you get the Product key, you can simply complete the activation and continue to use it for 1 year.
    Thanks!
    Harry
    Norton Support

  • Object - MLST_NETW container not getting the values?

    Hi,
    I created a custom FM for the object -  MLST_NETW and event STARTED 
    and in the workflow container  I created Element for this object - by selecting Obect type  - MLST_NETW
    Now the problem is - When we do status change in tcode - CJ20N it is triggering the custom worklfow but in the worklfow container it is not getting any values.  Container fields are empty.  I need to get the project defination field value to the workflow.
    Can any one tell me what could be wrong?
    Thanks in advance.
    M.

    Hi Murali,
    Yes. Binding for event to workflow not defined.
    For that, press Ctrl + F8 in the workflow template then it will take you to verision dependent tab. There you can find the start events tab.
    Here only you entered the Business object and event. Right? So there one button is there for binding. CLick on it and check whether event to workflow binding has done or not.
    Event container EVT_OBJTYPE should binded with your workflow business object.
    Thanks.

  • Why can I not get the Web Icon for some of my saved Bookmarks

    Many of my saved Bookmarks have their correct Web Icons.
    However many fail to save their Web Icon leaving the Icon blank.
    The Web Sites in question do have specific Web Icons.
    I have tried deleting the Bookmarks in question and saving them again without success.
    Why can I not get these icons to be saved in the Bookmarks?

    No problem here with that TalkTalk website, the favicon image saves immediately when I save it as a bookmark. It uses a conventional favicon.ico image in the root directory <br />
    link rel="SHORTCUT ICON" href="/favicon.ico" /
    With Barcalays iBank I can't figure out where the website image in the Location bar is being loaded from.
    With Barclaycard, the favicon saves with the new bookmark, even though that image is in a non-standard location. <br/>
    link rel="shortcut icon" href="assets/images/favicon.ico" type="image/vnd.microsoft.icon"

  • Application process code is not getting the value

    Hi
    I have implemented search functionality on page 0 (One Textbox and one ImageButton).
    on clicking on image button
    I am calling a application process to redirect a page on the basis of entered value.
    I am using following code in application process:
    DECLARE
    l_number NUMBER;
    rec_count NUMBER;
    BEGIN
    l_number := TO_NUMBER(:P0_SEARCH);
    SELECT COUNT(*) INTO rec_count FROM CASE_DATA WHERE CASE_NUMBER = l_number;
    if rec_count >= 1 then
    OWA_UTIL.REDIRECT_URL('f?p=&APP_ID.:42:&SESSION.::&DEBUG.::P42_CASE_NUMBER:l_number');
    End if;
    exception
    when others then
    NULL;
    END;
    :P0_SEARCH is the name of search textbox that is on page 0.
    when i clicking on image button then this value of l_number is not passed to the
    OWA_UTIL.REDIRECT_URL('f?p=&APP_ID.:42:&SESSION.::&DEBUG.::P42_CASE_NUMBER:l_number');
    its giving an error
    ORA-01722: invalid number
    and in url its showing
    http://apex.oracle.com/pls/otn/f?p=31774:42:16398188927210884::NO::P42_CASE_NUMBER:l_number
    but its working if i am putting the static value as
    OWA_UTIL.REDIRECT_URL('f?p=&APP_ID.:42:&SESSION.::&DEBUG.::P42_CASE_NUMBER:22');
    its redirecting the right page as
    http://apex.oracle.com/pls/otn/f?p=31774:42:16398188927210884::NO::P42_CASE_NUMBER:l4
    So, please help me how to pass the value to redirect.
    Thanks
    -PM

    Hi,
    Try
    OWA_UTIL.REDIRECT_URL('f?p=&APP_ID.:42:&SESSION.::&DEBUG.::P42_CASE_NUMBER:' || l_number);Br,Jari

  • File upload script not getting the file name for larger files

    Hi
    I have the following code (see extract below) and find that
    when the size of the file to upload is larger than about 300kb the
    code does not grab the file name. Consequently the upload fails.
    The code works fine when the file size is smaller.
    The code in the form page is:
    <form
    action="UploadAttachment.asp?SubjectName=<%=Request.QueryString("SubjectName")%>&VersionN umber=<%=Request.QueryString("VersionNumber")%>&QualificationName=<%=Request.QueryString(" QualificationName")%>"
    method="post" enctype="multipart/form-data" name="form1">
    <input name="file" type="file" size="100">
    <input name="Upload" type="submit" id="Upload"
    value="Upload">
    </form>
    The code in the UploadAttachment.asp page is:
    <%
    'Grab the file name
    Dim objUpload, strPath, SQLString
    Set objUpload = New clsUpload
    'there is a problem that this next line doesn't grab the file
    name if file is too large.
    strFileName = objUpload.Fields("file").FileName
    etc.
    %>
    If you have any idea how to resolve this I'd be grateful.
    Neil

    Hi
    I have the following code (see extract below) and find that
    when the size of the file to upload is larger than about 300kb the
    code does not grab the file name. Consequently the upload fails.
    The code works fine when the file size is smaller.
    The code in the form page is:
    <form
    action="UploadAttachment.asp?SubjectName=<%=Request.QueryString("SubjectName")%>&VersionN umber=<%=Request.QueryString("VersionNumber")%>&QualificationName=<%=Request.QueryString(" QualificationName")%>"
    method="post" enctype="multipart/form-data" name="form1">
    <input name="file" type="file" size="100">
    <input name="Upload" type="submit" id="Upload"
    value="Upload">
    </form>
    The code in the UploadAttachment.asp page is:
    <%
    'Grab the file name
    Dim objUpload, strPath, SQLString
    Set objUpload = New clsUpload
    'there is a problem that this next line doesn't grab the file
    name if file is too large.
    strFileName = objUpload.Fields("file").FileName
    etc.
    %>
    If you have any idea how to resolve this I'd be grateful.
    Neil

  • TS3988 I am not getting the verification email for my i cloud account

    I have been waiting and resending my verification email for the past week for my icloud account. I cloud account was working before the Mt lion upgrade but since I upgraded it's been a no go. What might you recomend to fix this problem.
    Thanks

    Make sure you are checking the email address you used to set up your iCloud account.  Check the spam/junk folder as well as the inbox.  If it isn't there, go to https://appleid.apple.com, click Manage your Apple ID, sign in, click on Name, ID and Email addresses on the left, then to the right click Resend under your Primary Email Address to resend the verification email.

  • How get the value by passing first letter

    Hi All,
    I have to display values based on first digit .
    Here is the query. " SELECT assetid,version_type FROM EDECO_ASSETS WHERE version_type like '1%'; "
    Sample data is.
    AssetId,Version_type.
    1201 1
    1202 1,2
    1203 1,2,3
    1204 10,11
    1205 10,12
    if I pass version_type is '1' then it should display 1201,1202,1203,
    if I pass vertsion_type '10' then it shoud display 1204,1205 records. DB version is 11g.
    Please let me know how to achieve this. Thanks in Advance.
    Regards,
    Rajasekhar
    Edited by: rajasekhar_n on Nov 17, 2008 4:53 AM

    in oracle 7i onwards you can do
    SELECT assetid,version_type FROM EDECO_ASSETS WHERE substr(version_type,1,instr(version_type,',')-1) = :p_parameter; In oracle 10 you could do
    SELECT assetid,version_type FROM EDECO_ASSETS where regexp_like (version_type,'^'||:p_parameter||'(,|$)+')
    No absolutly sure if I got the restriction correctly. Maybe some of the regexp_gurus can recheck.
    :p_parameter can be replaced with '1' or '10' as you like.
    Edited by: Sven W. on Nov 17, 2008 2:12 PM - changed repexp_like comparison

  • Not getting the activation email for iOS developer programme renewal .

    Hi Everyone ,
                     Our iOS developer programmes validity was suppose to expire on Jan 2014 , so
    as per the warning in member center we paid the 99$ in advance for the renewal in Dec 2013 ,
    means one month before the expiry date , But whats the problem is , Its steel showing the
    status like
    "Your Program purchase is pending and may take up to 24 hours to process. Once processed, you will receive an email from Apple Developer Support. If you have not already purchased your Program, you may do so now".
    I put the mail to support.apple but i get only the acknowledment for the same but not the help or exact
    solution,
        So someone will please tell me that what might be the problem in the enrollment.
        Any help will be appreciated .
    Regards;
    Dinesh Sanil.

    Hi Everyone ,
                     Our iOS developer programmes validity was suppose to expire on Jan 2014 , so
    as per the warning in member center we paid the 99$ in advance for the renewal in Dec 2013 ,
    means one month before the expiry date , But whats the problem is , Its steel showing the
    status like
    "Your Program purchase is pending and may take up to 24 hours to process. Once processed, you will receive an email from Apple Developer Support. If you have not already purchased your Program, you may do so now".
    I put the mail to support.apple but i get only the acknowledment for the same but not the help or exact
    solution,
        So someone will please tell me that what might be the problem in the enrollment.
        Any help will be appreciated .
    Regards;
    Dinesh Sanil.

  • I am not getting the password reminder for a particular site and the administrators say that it is not them blocking it and it must be my browser.

    When I go to a particular website and enter my name and password i do not the password reminder (I get a grey locked padlock icon on the address bar). I do get it for all other sites.
    I raised this with the site hosts and they say the issue is with my browser.

    I was wondering if it was the sites use of [http://stackoverflow.com/questions/3868299/is-autocomplete-off-compatible-with-all-modern-browsers/21348793#21348793 autocomplete-off] but that changes with Fx30 (already changed in pre-release) and already differs in some other browsers and you continue to have the problem with other browsers.
    I need to be clear exactly what you do and see. It would also help to know what the site is, although unless it is public and free it probably can not be tested by others, but it does at least enable a search to be made for reports of the problem.
    Can you list exactly the steps you take and what you expect to see or happen compared with what does or does not happen.
    If this does hinge on how a particular individual site behaves it is not actually a Firefox problem and although someone may provide an answer it may be better asking somewhere else such as
    * http://forums.mozillazine.org/viewforum.php?f=25 <br />If you do post please provide the link so others may follow progress.
    Have you ruled out that other security related software could be interfering, and if this is a problem at work have you asked your IT department.

  • Not Getting the Promotion Code for Trade In and Up program

    I was lured into buying a new phone from Verizon due to the trade in and up program.  From the website it says I could get a minimum $100 for my old phone when I purchased/activated a new smartphone.  I activated my new device and have been waiting for more than 5 business days for the promo code but it never arrived. I called both Verizon customer service and Verizon recycle program but they cannot help much since they can only escalate the issue.  Now I really doubt if this is a legitimate program?  Does anyone else have the same issue? Did you contact anyone who can help you?

    Karen,
    I was trying to take advantage of the "Trade In and Trade Up" promotion.  I was supposed to get a promotion code 5 days after activating a new phone.  Almost 3 weeks after activating a new phone I hadn't gotten a promotion code.
    Anyway I finally got the promotion code after 4 phone calls (2 to verizon, 2 to the recycling program).  So now I'm on to the next step and have submitted my phone trade in information.  We'll see if I have the difficulties others have described on the forums here.
    However, even if everything goes smoothly I've already wasted almost an hour of my time following up on something that should have just happened.  I would imagine most Verizon customers find it annoying to have their time wasted.
    Regards...

  • Unable to get the value from the textfield in valueChangeEvent

    Hi,
    I have created one custom textField by extending the CoreInputText. Now i have attched default ValueChangeListener to it. I am using this textField in my application.
    Now i type some thing and do a focus lost, the value change listener get called. i want to validate the value entered. In that listener method if i take the getSource() from ValueChnageEvent object and do a getValue() I am getting the entered value.
    My problem is that if i do a getValue() of the textField i am not gettting the value entered.
    How can i get the entered value from the textfield.? Is there any method to notify to do this?
    Thanks in advance.

    Hi,
    I tried to the value from coreInputText also. If i check the getValue method of the component, i am getting the last updated value. I have debug the FlowPhaseListsner also. And i found that this listener is calling before the updateModel phase. Due to that i am not getting the value from the Field.

  • How to get the value of a variable in group footer in the report footer also

    I have a placed a formula as below at the group footer and the report footer. The data is grouped on the basis of duedays which is again formula and the value in that is appearing correctly.
    Whilereadingrecords;
    Global Numbervar CNTONE;
    Numbervar P := P+1;
    IF P = 1 AND {@DUEDAYS} = 0
    THEN CNTONE := {spSUPPLIERSOA;1.INVOICEBAL}
    ELSE IF P>1 AND  {@DUEDAYS} = 0
    THEN CNTONE := CNTONE + {spSUPPLIERSOA;1.INVOICEBAL}
    At the group footer I get the value correctly for CNTONE but when I place the formula in Report footer I get the value for CNTONE as 0.
    Please do let me know how I could get the same value in the report footer also.
    Regards
    Sreejith J

    Hi Abhilash;
    When I give the statement whileprintingrecords then my above formula sums up only the first record and the last record of the group and when I give whilereadingrecords it adds up all the data in the group correctly.
    The formula that you mentioned for the report footer had worked out and it is showing my result correctly.
    I did not put up the reset formula on the group footer because as the group changes I had used another variable in another formula for example for the second group I used
    Whilereadingrecords;
    Global Numbervar CNTTWO;
    Numbervar Q := Q+1;
    IF Q = 1 AND {@DUEDAYS} = 30
    THEN CNTTWO := {spSUPPLIERSOA;1.INVOICEBAL}
    ELSE IF Q>1 AND  {@DUEDAYS} = 30
    THEN CNTTWO := CNTTWO + {spSUPPLIERSOA;1.INVOICEBAL}
    I have set up total 5 such formulas as the number of groups that will be formed is 5. I have put up these formulas on the group footer and suppressed it as I dont want to get it displayed.
    The as you suggested the solution for Report Footer I did that and getting the result correctly.
    I dont know I may be following a longer procedure
    Take Care
    Sreejith J

  • How to get the opening balances for lessthan selected date in cubes.

    Hi All,
    my task is to get the opening balances for the selected date.
    Ex: If I select date say 31-1-2013, I should get the sum of values which are less than the selected date.
    in sql:
    select sum(balance) from banktrans where banktrans.transdate < 31-1-2013;
    BankTable                            BankTrans
    BankId                               BankId
                                            balance
                                            transdate
    BankTable (records):
    SCB
    BankTrans(records):
    a) SCB, 15000, 10-02-2013
    b) SCB, 20000, 31-01-2014
    c) SCB, 50000, 21-09-2012
    If I select date as 31-01-2014, I should get the value as 65000 
    If I select date as 10-02-2013, I should get the value as 50000
    Date will be dynamic selection from years months days hirearchy ( time dimension)
    How can i achieve this?  
    any help is much appreciated.
    Thanks,
    Rakesh

    Dear David,
    I've tried the below with static date but i'm not getting the values which are sum of less than the given date.
    I've given 1st jan 2013 as static date and I need to get the sum of values which are less than the 1st jan date.
    CREATE
    MEMBER
    CURRENTCUBE.[Measures].[OPENBALANCE]
    AS
    Sum({Null:[Time].[Years
    Quarters Months Weeks Days].[Days].&[2013-01-01T00:00:00]},[Measures].[AmountCur]]),
    FORMAT_STRING
    = "Standard",
    VISIBLE
    = 1
    can you plz check the above once and guide me.
    Thankyou,
    Rakesh

Maybe you are looking for