Using Static Named LOV to show images in report

FYI
See http://htmldb.oracle.com/pls/otn/f?p=24317:43
The report query is simply
select object_name,object_type,status
from user_objectsThe STATUS column has its "Display as'" attribute set to "Display as Text (based on LOV, does not save state)". The LOV is a static named lov with the following 2 values
1. Display = < img src="/i/tip.gif" / >, return = VALID
2. Display = < img src="/i/g_can.gif" / >, return = INVALID
In other words, the named LOV is used to do the translation between the column value and the image rendered on the report. I think this is a better technique than using
DECODE(col,'VALID','< IMG ....) in the report SQL, keeps the content and presentation separate, like it should be.
[Not sure if one technique has any performance advantages over the other]
Hope this helps.

Hi Vikas,
Thanks for sharing.
" [Not sure if one technique has any performance advantages over the other]"It seems to me that in your technique it should be simpler to maintain several gif options – editing LOV seems simpler then editing the DECODE parameters list. I'm also thinking about the option of using dynamic LOV for gifs stored in a table.
Regards,
Arie.

Similar Messages

  • Want to show images in reports

    Hi everyone! i need a help i'm using oracle oracle 11g and e-buis 12.1.2 i want to generate detail report with images. i have table with images thts in blob data type. when i run the report image was not show. so can you pls tell hw to show images in report. thnx
    Regard,
    Mack.

    Hi;
    What is your report type?Is it custom one or seed one?
    Please check:
    REP-536870981,REP-62204,REP-50125,REP-0069,REP-0002 running report to pdf file having GIF image. [ID 260557.1]
    Also see:
    http://www.google.com.tr/#hl=tr&biw=1259&bih=793&q=+show+images%2Breport%2Boracle&oq=+show+images%2Breport%2Boracle&aq=f&aqi=&aql=&gs_sm=e&gs_upl=109422l111860l1l7l7l1l0l0l0l218l795l2.3.1&fp=329348562e3fb0dc
    Regard
    Helios

  • Showing Images in Reports

    hiiii
    i have built a report based on a students table and i want to show the student Image in this report the student images are stored in the harddisk not in the DB ..
    any suggestions to do this ... ???

    Hello,
    When you say "Report Developer R2 ...... " I suppose you mean "Report Developer 10g R2 ...... " ?
    Read from File may only be set to Yes if the Datatype of the column is character-compatible (that is, Character, VARCHAR, or VARCHAR2).
    http://www.oracle.com/webapps/online-help/reports/10.1.2/topics/htmlhelp_rwbuild_hs/rwcontxt/props/pi_col_read_from_file.htm
    Regards

  • Error in using named LOV

    Hi !
    I'm using a named LOV in a tabular form and it works fine.
    Trying to use it in a "normal" form gives the error:
    Error in initializing List of Values: ORA-06561: given statement is not supported by package DBMS_SQL Unable to initialize query. Why ? What's wrong ?
    Heinz

    Hi Scott !
    I've simplified the staement in the "List of Value" of the "Shared Components" to:
    select coalesce( initcap(full_name),
                     initcap(name),
                     initcap(coalesce(last_name,'unknown',last_name||' '||first_name))
                   ) ||'  ('||status||')'   as username_d,
           coalesce( initcap(full_name),
                     initcap(name),
                     initcap(coalesce(last_name,'unknown',last_name||' '||first_name))
                   )  as username_r
    from  dart.ca_user
    order by decode(upper(status),'ACTIVE',1,2),1showing the same error.
    When I use the LOV from the shared components I will get the error.
    If I write exactly the same select statement as LOV Query there is no such error.
    Heinz

  • Interactive report with named lov

    Hello,
    Is there a way to use a named lov (a static one in my case) in an interactive report?
    When not using an interactive report, this is possible and i can't figure out why oracle would not allow this in an interactive report.

    Hi Jan,
    I can't say for certain why it's not available to use. I imagine that, for some reason, it would interfere with the IR functionality in someway or, that the tables used for IRs just can't handle anything more than simple columns yet. You should add a request to the Enchancement thread Re: Enhancement Request Thread : Post 3.1
    Andy

  • Problem of showing image in opera

    hi,
    I have used following code for for showing image with jsp:
    <img src="<%=image%>"> height="100" width="100">When i open this with Internet Explorer then it can show image. But whwn open it in Opera then it cannot show images. What's the problem of my code? What will be solution of this problem? IS there anybody can help me? PLese give me a solution
    With regards
    Bina

    Did you bother to override getPreferredSize(), getMinimumSize() and getMaximumSize() to return sizes appropriate for the image you're drawing? If you didn't and you're not adding anything to the JPanel it's just going to act like an empty JPanel.

  • Show images stored in DB in browser

    Is is mandatory to use intermidia for showing images stored in DB?
    I mean,is it possible to use just PL/SQL to show images uploaded to Oracle 8i. If so, how? Does anyone could send me a sample code?
    Thanks in advance and best regards.

    I have Oracle 8.1.5 and I read that interMedia license is included in DB license.
    In this case I am free to use interMedia.
    Does interMedia comes with 8.1.5 also?
    <BLOCKQUOTE><font size="1" face="Verdana, Arial">quote:</font><HR>Originally posted by ymizuno():
    You can store images as Blobs in the database, without using interMedia. However, if you store images as OrdImage using interMedia with attributes, you can get many advantages of it. interMedia comes with the Oracle database if you have Oracle 8.1.6. Are there any particular reasons why you do not want to use interMedia? <HR></BLOCKQUOTE>
    null

  • Help using ItemRenderer to show images based on digits in DataGrid model

    Hi there,
    Disclaimer: this is my very first attempt at Flex!
    I found rummaging online, some documentation about
    ItemRenderers. I have a datagrid pulling info from a PHP Ajax
    backend successfully. One of the columns retrieves a digit only (1,
    2, or 3 ).
    I've read that I can create a CellRenderer by creating a
    mxml file for the renderer (StatusRenderer.mxml), adding this to my
    <mx:DataGridColumn specification:
    itemRenderer="StatusRenderer"
    where my StatusRenderer.mxml right now contains only:
    <?xml version="1.0" encoding="utf-8"?>
    <mx:Canvas xmlns:mx="
    http://www.adobe.com/2006/mxml"
    width="32" height="32">
    </mx:Canvas>
    It displays a blank square as expected.
    so now, how do I make it show images/open.gif,
    images/closed.gif or images/deferred.gif based on status, 1, 2, or
    3 respectively?
    Not sure how actionscript blends into components this way..
    Thanks in advance!
    Alex

    Hi Vikas,
    Thanks for sharing.
    " [Not sure if one technique has any performance advantages over the other]"It seems to me that in your technique it should be simpler to maintain several gif options – editing LOV seems simpler then editing the DECODE parameters list. I'm also thinking about the option of using dynamic LOV for gifs stored in a table.
    Regards,
    Arie.

  • Error when using named LOV

    This is for Apex 4.0.2.
    I wonder if anybody else has come across this issue: after creating a named LOV in Shared Components and using the LOV on an item, I get this error:
    ORA-20001: Error fetching column value: ORA-20001: Query must begin with SELECT or WITHIt doesn't really matter which item type I choose:
    Display as text (based on LOV)
    Select list (named LOV)
    Popup LOV (named LOV)
    When using popup LOV there is some additional error information:
    Error in init lov: ORA-06561: given statement is not supported by package DBMS_SQL
    p_lov:wwv_flow_security.g_security_group_id:1278218559423697
    wwv_flow_security.g_curr_flow_security_group_id:1278218559423697
    Unable to initialize query.
    etc.However, if I copy-paste the LOV code in the LOV definition on item level (so, not as a named LOV) it works!
    The LOV is simply:
    select rv_meaning d
          ,rv_low_value r
    from   cg_ref_codes
    where  rv_domain = 'F_RC_STATUS'Any ideas?
    Ino
    Forgot to add: I have a lot of named LOV's without problems. It's just when using cg_ref_codes that this occurs (Oracle Designer users will recognize this table :-) )
    But even when using cg_ref_codes, it doesn't happen every time. Some LOV's based on cg_ref_codes do work.
    Edited by: InoL on May 10, 2011 10:33 AM

    I am one step further: I think the problem is that my named LOV was a "Copy and subscribe" from an LOV in my master application. I have deleted and recreated the LOV in the master several times, but that did not help.
    Now, I have created the named LOV in the application itself (not as a copy of the master LOV) and it works. It looks like the copy function in Apex Builder may be the problem.

  • How to Show Image form Library with Thumbnail view on visual Web part page using XsltListView web part?

    <WebPartPages:XsltListViewWebPart ID="XsltListViewWebPart_AppWeb"
    runat="server" ListUrl="Lists/MyList" IsIncluded="True"
    NoDefaultStyle="TRUE" Title="XsltListView web part" PageType="PAGE_NORMALVIEW"
    Default="False" ViewContentTypeId="0x">
    </WebPartPages:XsltListViewWebPart>
    For any List it work fine but for Image form library its not working:
    My url: http://sitename:portname/PublishingImages/Forms/AllItems.aspx
    Please provide Solution.
    Question:How To show image library with thumbnail view in Visual Webpart using xslt webpart.

    Is it throwing any error?
    do you set correctly the ListUrl parameter? in this case it will be "PublishingImages"

  • Graph using static lov

    I am using a static lov which has a code and description. I select an entry from this lov and it's code is stored in a table.
    I now want to create a chart on the contents of this table, but need to translate the code stored in the table to the description stored in the static lov.
    Is it possible to do this? If so, any hints!?
    Toby

    So you have a table with a code value in it. The description of the code value is in a static LOV item. I would suggest creating a table in the database with the code and description. Then use a dynamic LOV instead of the static LOV and of course for completeness sake create a foreign key from the table you currently have to your new LOV table.
    Now to get the description of a code, you just do a SELECT on your code/description table. This would be helpful for a chart title maybe?
    Your LOV item on your page will visually display the description, but when referenced it will have the value of the code. So have your SELECT statement in your chart reference your LOV in its WHERE clause.
    Mike

  • How to construct a window that shows images in a continuous rotation on a webpage using flash

    Would like to know how to create a window in a web page that shows images in a continuous rotation

    There are dozens of ways to accomplish this. What sort of experience with Flash do you have? A very simple method is to just place each image on the timeline. Set a frame rate for the movie, and then extend each image's extent on the timeline to allow it to be shown for the duration that you want. For instance, with the frame rate set to 15 fps, to show each image for 1 second, you would have each image occupy 15 frames. Add or subtract frames to suit your needs. You can add transitions between each image if you like.

  • Why doesn't a Popup Key LOV (named LOV) in a tabular form not display values in the popup?

    I have a tabular form and I'm setting one of the fields to a Popup Key LOV (named LOV). The named LOV is a static LOV. When the popup is displayed there are no values displayed. The same thing happens if I use a Popup LOV (named LOV).
    I created a sample application http://apex.oracle.com/pls/apex/f?p=15762:1that shows what happens. When the job field popup is selected, no items are displayed. If I change the item to a Select List (named LOV) it works fine.
    Is this a bug?

    Hi
    I am also getting the same issue. Hope it could be a bug.
    Can anyone plz confirm this?
    Thanks
    Lakshmi

  • I need your help with a decision to use iPhoto.  I have been a PC user since the mid 1980's and more recently have used ACDSee to manage my photo images and Photoshop to edit them.  I have used ProShow Gold to create slideshows.  I am comfortable with my

    I need your help with a decision to use iPhoto.  I have been a PC user since the mid 1980’s and more recently have used ACDSee to manage my photo images and Photoshop to edit them.  I have used ProShow Gold to create slideshows.  I am comfortable with my own folder and file naming conventions. I currently have over 23,000 images of which around 60% are scans going back 75 years.  Since I keep a copy of the originals, the storage requirements for over 46,000 images is huge.  180GB plus.
    I now have a Macbook Pro and will add an iMac when the new models arrive.  For my photos, I want to stay with Photoshop which also gives me the Bridge.  The only obvious reason to use iPhoto is to take advantage of Faces and the link to iMovie to make slideshows.  What am I missing and is using iPhoto worth the effort?
    If I choose to use iPhoto, I am not certain whether I need to load the originals and the edited versions. I suspect that just the latter is sufficient.  If I set PhotoShop as my external editor, I presume that iPhoto will keep track of all changes moving forward.  However, over 23,000 images in iPhoto makes me twitchy and they are appear hidden within iPhoto.  In the past, I have experienced syncing problems with, and database errors in, large databases.  If I break up the images into a number of projects, I loose the value of Faces reaching back over time.
    Some guidance and insight would be appreciated.  I have a number of Faces questions which I will save for later. 

    Bridge and Photoshop is a common file-based management system. (Not sure why you'd have used ACDSEE as well as Bridge.) In any event, it's on the way out. You won't be using it in 5 years time.
    Up to this the lack of processing power on your computer left no choice but to organise this way. But file based organisation is as sensible as organising a Shoe Warehouse based on the colour of the boxes. It's also ultimately data-destructive.
    Modern systems are Database driven. Files are managed, Images imported, virtual versions, lossless processing and unlimited editing are the way forward.
    For a Photographer Photoshop is overkill. It's an enormously powerful app, a staple of the Graphic Designers' trade. A Photographer uses maybe 15% to 20% of its capability.
    Apps like iPhoto, Lightroom, Aperture are the way forward - for photographers. There's the 20% of Photoshop that shooters actually use, coupled with management and lossless processing. Pop over to the Aperture or Lightroom forums (on the Adobe site) and one comment shows up over and over again... "Since I started using Aperture/ Lightroom I hardly ever use Photoshop any more..." and if there is a job that these apps can do, then the (much) cheaper Elements will do it.
    The change is not easy though, especially if you have a long-standing and well thought out filing system of your own. The first thing I would strongly advise is that you experiment before making any decisions. So I would create a Library, import 300 or 400 shots and play. You might as well do this in iPhoto to begin with - though if you’re a serious hobbyist or a Pro then you'll find yourself looking further afield pretty soon. iPhoto is good for the family snapper, taking shots at birthdays and sharing them with friends and family.
    Next: If you're going to successfully use these apps you need to make a leap: Your files are not your Photos.
    The illustration I use is as follows: In my iTunes Library I have a file called 'Let_it_Be_The_Beatles.mp3'. So what is that, exactly? It's not the song. The Beatles never wrote an mp3. They wrote a tune and lyrics. They recorded it and a copy of that recording is stored in the mp3 file. So the file is just a container for the recording. That container is designed in a specific way attuned to the characteristics and requirements of the data. Hence, mp3.
    Similarly, that Jpeg is not your photo, it's a container designed to hold that kind of data. iPhoto is all about the data and not about the container. So, regardless of where you choose to store the file, iPhoto will manage the photo, edit the photo, add metadata to the Photo but never touch the file. If you choose to export - unless you specifically choose to export the original - iPhoto will export the Photo into a new container - a new file containing the photo.
    When you process an image in iPhoto the file is never touched, instead your decisions are recorded in the database. When you view the image then the Master is presented with these decisions applied to it. That's why it's lossless. You can also have multiple versions and waste no disk space because they are all just listings in the database.
    These apps replace the Finder (File Browser) for managing your Photos. They become the Go-To app for anything to do with your photos. They replace Bridge too as they become a front-end for Photoshop.
    So, want to use a photo for something - Export it. Choose the format, size and quality you want and there it is. If you're emailing, uploading to websites then these apps have a "good enough for most things" version called the Preview - this will be missing some metadata.
    So it's a big change from a file-based to Photo-based management, from editing files to processing Photos and it's worth thinking it through before you decide.

  • Showing Image in table

    Hi
         I want to show image in table based on the result i have a field status which contains the 01 / 02 / 03 values and now i want to show 3 images insted of value I have created one value attribute of string type and assigned the path of the image to it but its taking the image of last record only so can any one tell me what i have to do for this bellow is the code i am using
    wdContext.currentContextElement().setImgXiStatus("");
    if(xistatus.equals("01"))
        wdContext.currentContextElement().setImgXiStatus("green.bmp");
    else if(xistatus.equals("02"))
        wdContext.currentContextElement().setImgXiStatus("yellow.bmp");
    else if(xistatus.equals("03"))
        wdContext.currentContextElement().setImgXiStatus("red.bmp");
    else
        wdContext.currentContextElement().setImgXiStatus("");
    Thanks
    Ninad

    1 - NODE_MY_TRNAS
    1.1---NODEoutput
    1.1.1---NODEetData
    1.1.1.1---NODEimageNodeHelper
    1.1.1.1.1---icon
    Set singleton = false for node "NODEimageNodeHelper" and selection(NODEimageNodeHelper) = 1:1.
    Assuming card(NODEetData) =0:N, you can set the icon for row number i as follows:
    INODEetDataElement e = wdContext.nodeNODEetData().getNODEetDataElementAt(i);
    e.nodeNODEimageNodeHelper().currentNODEimageNodeHelperElement().setIcon("icon.gif");
    For naming nodes, the following rule is useful: Name in camel-case, first letter uppercase, for cardinality =0:N, use plural name.
    Example:
    Node "Books" (node, card=0:N) leads to IBooksNode, IBooksElement interfaces.
    Armin

Maybe you are looking for

  • How do i customize a drop down list in adobe muse without css?

    I'm a complete noob when it comes to anything code. I tinker in design and ran into a bit of a snag. I'm involved in a start up and our coders apparently only know how to code software and back end stuff. I know it's probably not the best route to go

  • IPhoto 6.0.6 (322) Will Not Print (all other apps can)

    Good evening, I automatically updated iPhoto to 6.0.6 (322) and now get this message when trying to print a picture: "No pages from the document were selected to be printed." I copied the message from the opened tab. All other apps can print.

  • IMport of service -service tax issue

    Hi all, we have a situation for import of service foreign vendor.....where service tax accounting entry should be like this at the time of MIRO.... vendor a/c cr-100 expense a/c dr-100 service tax rec dr-10%-50 service tax rec dr-2%-5 service tax rec

  • Managing several parental controls: too long with preferences of Mac OS

    Hi I have to manage parental controls for several accounts (too many kids !!!!) I would like to mange all accounts in a better way than we can do it with the standard interface of System Preferences. 1- it is very long to edit authorised or non autho

  • Selection screen - see 1 hit in result list

    Hi all, I have this problem: I want that selection programs like IW28 or IE05 show me result list EVEN if only 1 record is found. Default is that if one record is found, system takes me directly into detail (notification or equi) instead of showing i