Display a database item on display item

please i have a varchar database item and i want to display the last item in this field on a display item what should i do and i used the row id to get the last value but it didn't work

Still not clear what you are trying to achieve...
it is just a non database item that i want to view the data in the database item in itIf it a "non database item", how can it have a relationship with a database value?

Similar Messages

  • How do I null out an item based on a database column before display?

    I am using Apex 3.2
    I have an item that is based on database column. My customer wants me to "blank out" the item before it is displayed so the user will have to enter a new value in place of the one that is in the database.
    I have tried using a "before region" calculation to set the item to NULL. I can see the value getting set in the debug after the row fetch has occurred, but when the item is displayed, it contains the value from the database, not my calculated valuie.
    I also tried using an unsourced text field and then doing an after submit calculation to set the value of the database column item from there, but no luck that way either.
    Also tried clearing the item cache, but I think that happens way too early.
    There must be a simple way to do this..
    Any suggestion?

    No problem user486652 (name?),
    Yes, the $s function is one of ApEx's built-in's - see the ApEx documentation under API Reference, Javascript API's, and you'll find a wealth of built-in functions that do all sorts of things. For Javascript in general, take a look at www.w3schools.com for some really good tutorial and reference material - I use it constantly.
    Ok, so you want to set the browser field to empty after the page loads. Since this is a page event, it isn't something that will fire for a form field element so you don't want the code there. In ApEx 3.2, edit the attributes for the page, and you'll see a setting called "HTML Body Attribute". You'll see a helpful bullet note below the setting saying this is the place to add onload events. The proper syntax will be:
    onload="$s('P2_REMEDY_TICKET', '');"Once ApEx puts everything together and the page renders, this code will tell the browser to run that $s function after the page loads.
    But be aware - if you take a look at the help for that setting, you'll see that it mentions that this will only work if your page template includes the #ONLOAD# substitution string. Not sure if all ApEx-supplied page templates already have #ONLOAD#, but every one I've used does. If your code still doesn't work, check your page tempate. In the Definition region, under Header, you should see a body tag with something like:
    <body #ONLOAD#>...
    ...If that's there, your page template supports the HTML Body Attribute. If your body tag doesn't have an #ONLOAD#, add it.
    Hope this helps,
    John
    If you find this information useful, please mark the post "helpful" or "correct" so that others may benefit as well.*

  • How to display database records in text item

    hello friends,
    I'm using forms6i..
    I have text item named "username" in layout editor.I created this text item from data block wizard..I set Number of items displayed=3 in that wizard..
    In property palette of of "username" i have following changes
    Number of items displayed =3;
    When i click the button named "list_user" it should shows all user names in text item..
    my when-button-pressed trigger code is:
    declare
    cursor c1 is
    select Logid from log1 where logout_date is null;
    begin
    open c1;
    fetch c1 into :username;
    end;
    But my problem is when i run the form only one user displayed in text item..Remaining two text items are having no data..
    The result of the cursor query is :
    SQL> ed
    Wrote file afiedt.buf
    1 select logid from log1 where logout_date is null
    SQL> /
    LOGID
    104
    105
    106
    pls help me
    Edited by: Balraj on Feb 23, 2011 1:45 AM

    I have text item named "username" in layout editor.I created this text item from data block wizard..I set Number of items displayed=3 in that wizard..
    In property palette of of "username" i have following changes
    Number of items displayed =3;Its great that it is working fine, but seems your block is database block based on the same table log1, then why do you want to loop when form has better way.
    Secondly if you have set No of Records for a block then there is no need to set the No of Items displayed for the Item if it is the same as Records displayed for block.
    You can use No of Items displayed for an Item if you need to display no different then no of records else no need to change the default that is 0
    No of items displayed is usually used to display Summary Columns in a multi record block so that you will be able to display just 1 Item rather then as many as the No of records.
    Best Regards
    Arif Khadas

  • How to retain focus in Web forms 6i item when displaying pdf image

    How to retain focus in Web forms 6i item when displaying pdf image in a multi-record block?
    Hello.
    I have a Web Forms 6i program (version Forms 6.0.8.19.2) running in a 3-tier application. The web form program has a multi-record block containing invoices. When navigating to a record, the form should display the PDF invoice image which is stored in an Oracle 8.1.7 database as a BLOB in another window. When user press down-arrow, the next PDF invoice image should be displayed.
    I am able to accomplish the functionality above by using web.show_document('URL', target') in the when-new-record-instance. The URL being called is a PL/SQL Web Toolkit stored procedure using wpg_docload.download_file built-in.
    The problem is that the focus is lost on the Webform and the focus is shifted to the PDF image window when you navigate to the next record using down-arrow. I want to retain the focus in the form as this is a data-entry form, the operator will use down-arrow to go to the next-record rather than the mouse. I also only want to do this for this Invoice Entry form and NOT to all forms.
    Please advise how to resolve this problem. Thank you.
    Regards,
    Armando

    Magesh,
    the issue of a SSO protected form showing the logon dialog is a knwon issue for Windows200 and the Oracle9iAS base release. If you applied Forms Patch 1 then this should be solved. Hope that I am right in that you are using Oracle9iAS and not Oracle9iDS. Do you see the Single Sign-On logon screen or the Forms logon dialog directly? Check the forms90.conf file in teh forms90/server directory as this contains the Form sso settings (mod_osso) which by default is commented out and therefore inactive. You need to remove the commenting '#' characters and make sure that each sentence having a '#' in front, after that starts on a new line.
    The Forms deployment documentation within the Oracle9iAS docu provides this information too.
    Frank

  • Click list item and display the image

    I have a database table:
    + One column includes names of the employee
    + Another includes the path of the file of corresponding employee's images
    I have added all the names into a JList
    Now, what I want to do is that: When I click on the item in the list, the image of the employee corresponding to the item will display in the frame.
    Could any of you help me?
    Any help will be appreciated.
    Thanks.

    Hi Sunitha,
    According to your description, my understanding is that you want to change the list title to an image.
    I recommend to add the code below to the list page:
    <script src="http://code.jquery.com/jquery-1.10.2.min.js" type="text/javascript"></script><script type="text/javascript">
    $(document).ready(function (){
    var s = "<img alt='SP' src='http://w2k81368:2116/SiteAssets/Test.jpg'>";
    var $t = $("#DeltaPlaceHolderPageTitleInTitleArea span span a");
    $t.html(s);
    </script>
    After that, the list title will change to the image and it will show allitems.aspx page when clicking the image.
    Thanks,
    Victoria
    Forum Support
    Please remember to mark the replies as answers if they help and unmark them if they provide no help. If you have feedback for TechNet Subscriber Support, contact
    [email protected]
    Victoria Xia
    TechNet Community Support

  • PR and PO should be display in IWBK report for stock item.

    Hi Exterts,
    Our client requirement is to display PR and PO number in IWBK report for stock item as well.
    I know PR and PO can be display in IWBK report for non-stock item but how we can display PR and PO for stock item,as PR is generated through MRP for stock item.
    Please share your ideas on this.
    Regards
    Vishu

    Vishu,
    In typical MRP settings you "procure to stock" not "procure to order".
    This means that there is no direct link between the PM/CS orders and any PR/POs created via MRP.
    Subsequently you will not be able to show this data in IWBK.
    However, we are currently designing a customer-specific report similar to IWBK that also counts the number of open POs for a given material on a PM/CS work order. The user can then navigate to ME2M (PO list) or MD04 (stock requirements list) to get further details.
    PeteA

  • Unable to display the Kit Items and component Items in XML Publisher

    we have created an Order with Kit Items,when we Pick Release the Order it is not printing Kit Items as it is Oracle standard functionality. We customized the Pick Slip RDF to display Kit Items.
    when we run the XML Publisher version of Pick Slip report, it is displaying component Items on one page and Kit Items on another page without header information.
    How can we display Kit Items and Component Items on single page instead of 2 pages?
    Please give us suggestions to implement this in XML Publisher.
    Thanks&Regards,
    Suresh.

    Suresh
    I dont know anything about the Pick Slip template so am unable to help without more information.
    If there are enough kit items to fill more than one page then w/o reducing the font size you'll have to put up with the items spilling to a second page
    Tim

  • Items to display in list view web part not showing the items setup

    Hi, I have the following issue. I have a list view web part, but the web part is showing more items that the ones setup in the: Number of items to display in list view web part for this view.
    It is because that works when using datasheet view and not a normal view? Is there any technical documentation from Microsoft supporting this?

    thank you for your answer. It is interesting that the mobile view with the items to show in the mobile view doesn't work in the webpart, but it works when you are using datasheet view, but if you uncheck to activate the mobile view, then, the webpart doesn't
    show information, so, it works partially because one part works and not the other.

  • How do I get toolbar bookmark items to display in the bookmarks toolbar instead of in the Bookmarks menu | Bookmarks toobar submenu?

    When I add bookmarks to the bookmarks toolbar, they don't appear on the bookmarks toolbar (duh...) but appear instead in the Bookmarks Toolbar submenu inside of the Bookmarks menu.
    How do I get them to appear on the bookmarks toolbar itself?

    You can check that the "Bookmarks Toolbar items" is still on the Bookmarks Toolbar.
    *https://support.mozilla.org/kb/Back+and+forward+or+other+toolbar+items+are+missing
    If the menu bar is hidden then press the F10 key or hold down the Alt key to make the menu bar appear.
    Make sure that toolbars like the "Navigation Toolbar" and the "Bookmarks Toolbar" are visible:
    *"View > Toolbars"
    Open the Customize window to set which toolbar items to display:
    *View > Toolbars > Customize
    *Firefox menu button > Options > Toolbar Layout
    *Check that the "Bookmarks Toolbar items" is on the Bookmarks Toolbar
    *If the "Bookmarks Toolbar items" is not on the Bookmarks Toolbar then drag it back from the toolbar palette in the customize window to the Bookmarks Toolbar
    *If missing items are in the toolbar palette then drag them back from the Customize window on the toolbar
    *If you do not see an item on a toolbar and in the toolbar palette then click the "Restore Default Set" button to restore the default toolbar set up

  • How to display the count of a list item in Sharepoint Designer?

    How to display the count of a list item in Sharepoint Designer? please reply with the proper code line to add for this.

    Hello,
    What version of sharepoint you are using? Try below approach:
    http://sharepointlogics.com/2010/03/total-count-of-items-in-list-in.html
    Hope it could help
    Hemendra: "Yesterday is just a memory,Tomorrow we may never see"
    Whenever you see a reply and if you think is helpful, click "Vote As Helpful"! And whenever
    you see a reply being an answer to the question of the thread, click "Mark As Answer
    Please feel free to unmark answer if does not resolves your problem.

  • How to change the text of item's displaying in the folowing ALV.

    Hi Experts,
    I want to change the text of item's displaying in the folowing ALV.
    Go to ME23N->Click 'Messages'->Click 'Further Data' -> Click 'Displ.Originals'.
    Here one small ALV grid is appearing.
    Currently it is showing same name's under the 'Title' column of that ALV. My requirement is to change the text coming under the column 'Title' in that display.
    Can any one throw some light in the issue.
    Thanks&Regards,
    Anversha

    Hi Anversha ,
    i think you need to use Enhancement point for it.
    check the program DV70AF0A-->ARCHIV_ANZEIGE(Subtoutine).
    i had similar kind of requirement ,while attaching the supporting documents to FI document , i need to update title field with File name , so i used EP and BADI to do so.
    regards
    Prabhu

  • No line item display in FAGLL03 & FBL3N GL line Item reports

    Dear All,
    I have parked the customer invoices with normal customer recon account and with special GL indicators. The system do not display parked lines for Special GL indicators. How can i display the line item display information in FAGLL03 and in FBL3n report.
    Following settings have already been made are;
    1. Fs00 = line item display check is on.
    2. In initial screen for FAGLL03 & FBL3N Selection: Parked Items Parked items are displayed and checked.
    The  only information for parked special gl line items is get through FBL5N report only.
    Kindly suggest in there any way that we can get report from GL line Item reports???
    Regards

    Some how client do not want the functionality

  • CS3 Bridge on OS X: Find - no items to display - the long, painful fix

    Moved this post from the Elements forum in the hopes of more useful replies.<br /><br />Recently upgraded from Photoshop Elements 4.0 on OS X to Photoshop Elements 6.0 on OS X. The 'find' dialog box does not work - which is to say that it returns no results despite various search strings - in Bridge CS3. This is the sort of crippling defect that will make me request a refund from Adobe. <br /><br />I'm cross-posting this with their support group to speed things along. <br /><br />Steps that I have taken. <br />1. Install PhotoShop Elements 6.0 on OS X. <br />2. Open Bridge CS3. <br />3. Help - updates <br />4. Install all updates. <br />  Current version of Bridge: 2.1.1.9 <br />  Current version of OS X: 10.5.5 <br />5. In Bridge, navigate to a folder with JPG files in it. <br />6. Edit - Find <br />  Set options to Filename Contains JPG <br />7. Shows "No items to display" <br />8. Press back button <br />9. Edit - Find <br />  Set options to File Size is greater than or equal to 0kb <br />10. Shows "No items to display" <br />11. Press Back. <br />12. Reset all options and clear cache, per http://kb.adobe.com/selfservice/viewContent.do?externalId=331083&sliceId=1 <br />13. Restart Bridge <br />14. Attempts steps 5 through 11. No difference <br />15. Uninstall Bridge 2, using AppDelete on OS X. <br />Here's the log file: <br /><br />Monday, November 10, 2008 11:11:04 AM <br />Here are your deleted items: <br />Macintosh HD:Applications:Adobe Bridge:Bridge.app: <br />Macintosh HD:Applications:Adobe Bridge: <br />Macintosh HD:Users:kaynemcgladrey:Library:Caches:bridge2: <br />Macintosh HD:Users:kaynemcgladrey:Library:Logs:CrashReporter:Bridge CS3_2008-11-01-075021_K-MacBook-2.crash <br />Macintosh HD:Users:kaynemcgladrey:Library:Logs:CrashReporter:Bridge CS3_2008-11-01-075049_K-MacBook-2.crash <br />Macintosh HD:Users:kaynemcgladrey:Library:Logs:CrashReporter:Bridge CS3_2008-11-01-075155_K-MacBook-2.crash <br />Macintosh HD:Users:kaynemcgladrey:Library:Logs:CrashReporter:Bridge CS3_2008-11-09-100901_K-MacBook-2.crash <br />Macintosh HD:Users:kaynemcgladrey:Library:Logs:CrashReporter:Bridge CS3_2008-11-09-101027_K-MacBook-2.crash <br />Macintosh HD:Users:kaynemcgladrey:Library:Logs:CrashReporter:Bridge CS3_2008-11-09-162251_K-MacBook-2.crash <br />Macintosh HD:Users:kaynemcgladrey:Library:Logs:CrashReporter:Bridge CS3_2008-11-09-162431_K-MacBook-2.crash <br />Macintosh HD:Users:kaynemcgladrey:Library:Logs:CrashReporter:Bridge.crash.log <br />Macintosh HD:Users:kaynemcgladrey:Library:Logs:CrashReporter:Bridge_2008-08-13-213115_K-MacBook-2.c rash <br />Macintosh HD:Users:kaynemcgladrey:Library:Preferences:com.adobe.bridge.plist <br />Macintosh HD:Users:kaynemcgladrey:Library:Preferences:com.adobe.bridge2.plist <br /><br />16. Repeat step 12 (clear all cache & preferences for CS3). <br />17. Repeat steps 5 through 11 again. No difference. <br />18. Post message to Adobe Support.<br /><br />I'm also getting a LOT of this message in system.log: <br /><br />Nov 10 13:02:39 K-MacBook-2 [0x0-0x5e05e].com.adobe.bridge2[554]: 081110 13:02:39 [ERROR] mysql_embedded: Can't open file: 'filesystem_blobs.MYI' (errno: 145) <br />Nov 10 13:02:42 K-MacBook-2 [0x0-0x5e05e].com.adobe.bridge2[554]: 081110 13:02:42 [ERROR] mysql_embedded: Can't open file: 'filesystem_blobs.MYI' (errno: 145) <br />Nov 10 13:03:02 K-MacBook-2 [0x0-0x5e05e].com.adobe.bridge2[554]: 081110 13:03:02 [ERROR] mysql_embedded: Can't open file: 'filesystem_blobs.MYI' (errno: 145) <br />Nov 10 13:03:04 K-MacBook-2 [0x0-0x5e05e].com.adobe.bridge2[554]: 081110 13:03:04 [ERROR] mysql_embedded: Can't open file: 'filesystem_blobs.MYI' (errno: 145) <br />Nov 10 13:03:05 K-MacBook-2 [0x0-0x5e05e].com.adobe.bridge2[554]: 081110 13:03:05 [ERROR] mysql_embedded: Can't open file: 'filesystem_blobs.MYI' (errno: 145) <br />Nov 10 13:10:44 K-MacBook-2 Bridge CS3[554]: *** -[NSConditionLock dealloc]: lock (<NSConditionLock: 0x18467ce0> '(null)') deallocated while still in use <br />Nov 10 13:10:44 K-MacBook-2 Bridge CS3[554]: *** Break on _NSLockError() to debug. <br />Nov 10 13:10:44 K-MacBook-2 Bridge CS3[554]: *** -[NSLock unlock]: lock (<NSLock: 0x18467c60> '(null)') unlocked when not locked <br />Nov 10 13:10:44 K-MacBo

    Not many here (including me) use Elements and even less can understand crash reports.
    Can you confirm that:
    -The folder containing jpeg files are viewable in the finder and can be opened in PSCS3?
    -You did give Bridge the time to let it cache its contents?
    -You have installed Bridge to the application folder, in the user library cache folder there is a folder called Adobe, inhere there should be a folder called Bridge CS3 and this one contains a folder called cache?
    I would suggest that you quit Bridge and move this folder manually to the trash. This will be replaced with a fresh folder after restarting Bridge.
    Point Bridge to the folder and first let it cache its contents and then try again with the find option. Could you report back on this?

  • Fbl1n and fbl5n line item wise display the cutomer and vendor name

    Hi,
    My user is asking report for fbl5n and fbl1n line itemwise dispaly vendor and customer.See the report for one time vendor and customer name displaythe line item wise display in FBL!N/FBL5N. but not the display the regular vendors/customer.So one time table name BSEC
    Please advise
    Regards.
    Edited by: yps y on Nov 13, 2008 1:26 PM

    Hi,
    line item reports FBL1N/FBL5N are reading the line items (wow, what a big surpise ) and displaying information on line item level.
    As the vendor/customer name is NOT stored in the line items, you cannot display this in the lines (along with other item level information., like amount, posting key, doc.type, etc.). You may find a field called "Name 1) in the field catalog when configuring the ALV layout but this is empty for normal customers/vendors. It is only filled in for one time (Cpd) customers - the reason is as explained above: for these special accounts, the name IS stored on line item level (it varies from item to item),, that's why it can be read and displayed in the items.
    Now how about normal customers/vendors?
    You have to activate Business Transaction Event 1650 and implement a simple code so that depending on the account type (D = customer, K = vendor), you get the business partners name from table KNA1 / LFA1 and put it into field Name1.
    Hope that helps, points welcome
    Csaba

  • Vendor open item not displayed in F-44

    Dear Gurus,
    I have vendor open item (posted via MIRO). Item is displayed correctly in FBL1N and is also in table BSIK -  but item is not seen in F-44.
    Please help
    Pavel

    Hi,
    Please check those items are selected in f110 proposals.
    Please delete the unused proposals to avoid the reported issue.
    please check the same at 152813
    Regards
    madhu M
    SDN-WIKI-PAGES
    http://wiki.sdn.sap.com/wiki/x/UgTpCw  (RUPEE WORD FORMAT)
    http://wiki.sdn.sap.com/wiki/x/8oMEDg  (J1INEMIS )
    http://wiki.sdn.sap.com/wiki/x/2BAMDg  (J1INACKN )
    http://wiki.sdn.sap.com/wiki/x/3xAMDg  (J1INCCREP)
    http://wiki.sdn.sap.com/wiki/x/6xYODg  (J1INREV  )
    Edited by: M Madhu on Nov 18, 2011 10:17 AM

  • Open items not displaying in vendor balances

    Dear All,
    I would like to say that I am facing one problem related to open items are not displaying in vendor balances. So for that purchase order created, MIGO & MIRO has made for particular vendor. After that in vendor balances open item is not displaying, for that purpose my client was unable to process make payment to vendor. so plz guide me how to solve this issue.
    Regards,
    RAJA

    Hi Raja,
    1.have you checked whether accounting document got generated first you need to check for this transation code FB03 for Accounting docuement display.
    2. have you checked for GR/IR account line item wise wheter it is showing lineitem wise bal. or not.?
    3. have you checked for whether system has Stored table level or not .? Check for this table-BSIK Vendor openitem.
    4. when you checking for Line item Selection under Openitem  Open at key will be there try to update when invoice docuemt got posted.
    5. you need to activite Type under 1.Normalitem2.Noted item 3.parked item .
    please check for this 5 point still you facing any problem please let me know.
    Regards,
    Upendra.

Maybe you are looking for