Image file on link

Tried to construct a customized query . Find the following example on prev. thread that will display conditional link on prod_id which is a primary key.
select case when prod_zone in (1, 2, 3) then '{a href="f?p=' || :APP_ID || ':11:' || :SESSION_ID ||
          '::::P11_PROD_ID:' || prod_id || '"}' || prod_id || '{a}' else prod_id end prod_id,
prod_name, prod_zone, prod_quantity
from table A
My need: when prod_zone in 1,2,3, display the link icon on prod_name column but use existing apex icon like <img src="/i/e.gif" alt="Edit" )
select
case when prod_zone in (1, 2, 3) then '{a href="f?p=' || :APP_ID || ':11:' || :SESSION_ID ||
          '::::P11_PROD_ID,P11_PROD_name:' || prod_name || '"}' || "< img src="/i/edit_big.gif" alt="> || '{a}'
else prod_name
end prod_name,
prod_id, prod_zone, prod_quantity
from table A
with the above query, I kept getting missing expression. Evidently the img syntax is wrong but could not figure out how, plus I am having trouble putting prod_id at proper place. Can you help ?
Wan

Hi,
Try
SELECT
  CASE
    WHEN prod_zone IN (1, 2, 3)
    THEN '<a href="f?p=&APP_ID.:11:&SESSION.::::P11_PROD_ID,P11_PROD_NAME:'|| prod_name || '">< img src="&IMAGE_PREFIX.edit_big.gif" alt="></a>'
    ELSE prod_name
  END prod_name,
  prod_id,
  prod_zone,
  prod_quantity
FROM TABLE A
{code}
Br,Jari
Edited by: jarola on Mar 8, 2010 3:43 PM
Edited by: jarola on Mar 8, 2010 3:47 PM
Hmm.
Some reason forum do not like my post.
Any way , is there substitution string :SESSION_ID ? I think it should be :SESSION or :APP_SESSION                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                       

Similar Messages

  • Windows Vista, 7 and 8 ISO / Image file Download Links

    Series: How to Re-Install Windows when you don't have the Recovery Discs
    Intro: What is an ISO? Why is it used? 
    Step 1 - Get the ISO - ISO Download Links
    Step 2 - Burn the ISO to a DVD or USB   
    Step 3 - What to do with the ISO DVD/USB? Change the Boot Order  
    Step 4 - What to do After Windows is Installed? How to Get HP Drivers?    
    Step 1 - Get the ISO - ISO Download Links
    First, look at the Product Key label on the bottom of the computer and make sure you can still read it, before proceeding.
    How is this legal?   As long as you have the Product Key (from the bottom of a computer you paid for) for the corresponding version of Windows you download, it is perfectly legitimate and legal.
    The ISO Links: 
    Windows Vista SP1  32 & 64-bit
    *****With that link, you will have to combine the three files into an Image file (aka ISO) first (How to create an image file from files/folders) , using a program like ImgBurn.*****
    Windows 7 32 & 64-bit
    Windows 8 32 & 64-bit
    See Step 2 - Burn the ISO to a DVD or USB
    If you have any questions, create a new post (How to Create a New Post - Video), copy and paste it's link into a private message to me, and I will respond on your thread

    You shouldn't need to edit any of the files. The Windows 7 ISO is a retail, untouched version. It doesn't have a Product Key embedded into it.
    You should be able to use a Windows 7 Product Key from the label on the bottom of the computer with no issues. The installation will ask you for a Windows 7 Product Key. The only exception would be if the Product Key were in use on a different computer. From my understanding, as long as it is not already in use, it should activate.
    Please let me know if you have any questions on that

  • Help (LR3)! Catalog missing all image files

    In LR3 (using Windows 7):
    Suddenly, none of my image files are linked to the catalog; 14,000+ of them. The catalog is on an external hard drive, backed up on my internal hard drive. The catalog seems intact. The most recent image files are on my internal hard drive, but most are on an external hard drive. All drives are connected and I can navigate to any file that I want. But the catalog can't find the files, even though nothing has moved. When I click 'find missing files,' 14,000+ question-marked previews appear. None are linked to the image files.
    Additionally, when I 'locate' a group of missing files on the proper drive, through the Library module, then suddenly those images vanish from the previews and the number of images in the catalog (the number in parentheses) is diminished by that number. I'm at a complete loss.
    Background: I hadn't used LR for a few days. I recently installed Google Earth and apparently along with it a number of other applications that I didn't want. So I went to my Administrator tools and 'restored' my system to a previous state, from just three days ago. I've 'restored' before with no ill effects. It was after that, when I opened LR, the catalog/image disconnect was apparent. I don't know if that disconnect existed prior to my 'Restore' or if it might have been triggered by it.
    Any ideas?

    It turns out that -- somehow -- the letter assigned to the external hard drive got changed. Once I changed it back (as Administrator), all was well with the world again. (Just needed to do a little extra housekeeping.)
    Aside: How the heck does something like that happen, that a drive changes letters?

  • I am trying to organize a zip file with a bunch of links and files. But when I drag an image file to a folder, it always "Snaps to grid" instead of just landing where I put it.

    I am trying to organize a zip file with a bunch of links and files. But when I drag an image file to a folder, it always "Snaps to grid" instead of just landing where I put it. All of the files are going into the same zip file but I want them visually in the space that I put them and not at the bottom of the snap to grid folder location they are looking like.  I am trying to  drag and drop files in groups so that I can group them for now, but image files always do their own "sort by" when I drag them from my web pages. Links don't do it though.  I tried resetting the folder, and deleting the DS files. No luck.

    You keep asking variants on this same question. You've had replies in all your other threads. If you can't find them, go here and click where it says Activity:
    Thomas Cannon Jr.

  • How can I insert a link to an image file into numbers

    I wish to include access to images in a numbers spreadsheet without actually inserting the images. Doing this where the image is a web page is not difficult but these images are on my local drive. I tried dropping an image file onto Safari ( the image opens as a page in Safari) and then copying the URL ( it has the form:  file:///Users/JTC_49/Documents/Pictures/IMG_0248.JPG )  and using it to create a link ( Format>Add a Link>paste the URL into the 'link' field). That all seems to work but when you click on the link you get a message " Couldnt Open Link ". A web page link would open a browser and display the linked page. This does not appear to try to open a browser to pass the URL.
    MacBook Pro, OS X Mavericks (10.9.3), Numbers 3.2

    Open the parent file. Go to Tools> Advanced Editing> Link tool. Then draw an area in the parent file with the link tool to open the new file. You will get the Create link dialog box. Under Link action, select "Open a file" and click on next. Select the file to open and click on Select button. You will get the "Specify Open Preference Window".  Select  "New Window"  and Click on OK. Save the file and re-open it. This time the new file will open in a new window keeping the parent file.
    Bobby Johnson.

  • Issue opening .AI file with linked/embedded images in Illustrator 6

    Received an Illustrator 16.x ai file with 6 Linked\embedded images. Opening in Illustrator 16.0.3 2 images are missing, but opening in Illustrator 15.1 opens them correctly. Illustrator 16.0.3 has warning "Could not find linked file “filename.png”. Choose replace to select another file or Ignore to leave the link unchanged". Illustrator 15.1 has warning "The file “filename.ai” was created by a newer version of Illustrator. Would you like to import this file? Some data loss may occur.". When I open in Photoshop 12.1 and select Images only 4 images show. The two that are missing in ai. are not showing in Photoshop Images option tab, but are in Photoshop when I open the file using pages option tab. Any idea what is happening here and why Illustrator 15.1 opens fine, but Illustrator 16.0.3 cannot?
    Thanks,  Dale

    Illustrator CS5 opens the PDF part of the file. Images are always embedded in that part, but you might not be able to edit all objects in it.
    Illustrator CS6 will access the AI part of the file, where linked images are not embedded. You should ask for the images in order to edit the file.
    Recommended reading: Real World Illustrator: What's in a file?

  • Illustrator hangs when saving .ai files with linked or embedded images

    Hi,
    Currently I have a huge problem with Adobe Illustrator. When I place an image file inside an Illustrator document, the program freezes for about 45 seconds when saving. In the beginning I though it was just because my image file was too big, but that wasn't the case.
    To test what's going on I created a new document, drew a few lines and saved. No problem, Illustrator saved immediately. Then I placed a bigger image and suddenly Illustrator hang when saving. I repeated this with a very small GIF of just a few kB and again, Illustrator hang for nearly a minute when saving the image. I tried embedding the image instead of linking it, but I still got the same results.
    Then I turned of the visibility of the image object by clicking on the little eye symbol in front of the image object and suddenly Illustrator was able to save quickly again. The next thing I wanted to try was turning off compression and PDF compatibility, but then I noticed that Illustrator is actually hanging BEFORE writing the file to disk. When I hit "Save as" Illustrator asked me where to save the new file and then after clicking "Save" it hang (showing "(Not Responding)" in the title bar). About 45 seconds later the save options dialog came up and when I clicked "OK" it saved the file immediately.
    Does anybody know what the problem might be? I'm using Illustrator CS5 on Windows 7 x64. The computer is a notebook with 8GB RAM and a switchable graphics card. I tried this on both the integrated Intel graphics unit and on the much more powerful AMD chip. The hard driver I'm saving to is the local hard drive (no network drive etc.).
    This is a more or less fresh installation (I haven't used Illustrator before on this notebook) and I can't remember that I had the same problem on my workstation where I used it inside a virtual machine (which doesn't exist anymore).

    Yeah, I know that changing the mode results in different colors. I just switched back and forth to check out what's going on.
    For CMYK I'm using ECI profiles which are common in Europe and for RGB the normal Adobe RGB 1998 profile. The profiles are synced between all Creative Suite products. I tried sRGB and some of the default profiles which shipped with CS5 but it produces the same result. I also deleted my whole Illustrator profile but without success.
    My graphics card doesn't have any updates. But it would be very unlikely anyway that both drivers for both cards had the same issue. If it has something to do with my graphics cards it's more likely the switchable graphics in general.

  • How to list all documents that has linked a image file?

    Hi everyone,
    I'd like to know if there's a way to find all linked file to a file: i have a logo image that a lot of inDesign files have linked to it and i'd like to find all those inDesign files.
    I know that Bridge CS6 can list all linked files of a .indd file but i'd like the opposite
    Regards,
    Snowblood13x

    You might be able to do it via scripting. If you have to search an entire volume it would be impractical, but something like this AppleScript would open all of the ID files inside of a chosen folder and its sub folders. Once the ID file is open it could check for a specific link and if it exists leave the file open otherwise close:
    global mylinkname
    --change YourLinkNameHere to the logo link's name
    set mylinkname to "YourLinkNameHere"
    tell application "Finder"
        activate
        set the thisFolder to (choose folder with prompt "Choose a folder. The extension of all files inside will be hidden.")
        my ProcessFolder(thisFolder)
        tell application "Adobe InDesign CS6"
            activate
            display dialog "Done"
        end tell
    end tell
    on ProcessFolder(thisFolder)
        set theseItems to list folder thisFolder without invisibles
        repeat with i from 1 to count of theseItems
            set thisItem to alias ((thisFolder as text) & (item i of theseItems))
            set the iteminfo to info for thisItem
            if folder of the iteminfo is true then
                ProcessFolder(thisItem)
            else
                ProcessItem(thisItem)
            end if
        end repeat
    end ProcessFolder
    on ProcessItem(thisalias)
        tell application "Finder"
            if creator type of file thisalias is "InDn" and kind of file thisalias is not "InCopy® Lock File" then
                tell application "Adobe InDesign CS6"
                    activate
                    --set user interaction level of script preferences to never interact
                    open thisalias
                    set llist to name of every link of active document
                    if mylinkname is not in llist then
                        tell active document
                            close
                        end tell
                    end if
                    --set user interaction level of script preferences to interact with all
                end tell
            end if
        end tell
    end ProcessItem

  • How do I not show image file name, only url link - Acrobat Pro 9

    Both file name and url ink show when placing cursor over image. I want to only have url link appear.
    And if that's not possible, I want to then change the image file name. Any ideas?

    Use a button field for the link. You will have to add the action or JS code to open the link.

  • How to display image file from the link in the field

    Hi all,
    I have a column where it keeps the link of the image files reside. The link will be in the server such as \\server\picture1.jpg
    I have try to code in Read_Image_File('\\server\picture1.jpg', 'ANY','OM_ITEM.ITEM_URL');
    But I was encountered error run, ORA-01465: invalid hex number.
    Any one please help me. Thanks.
    Regards,
    Lim

    There are tons of informations missing here, for instance (but not limited to) the exact forms version you are using (note: 10g is not a version, but 10.1.2.0.2 is). Without Version informations a correct answer is not possible
    You might want to go through the links from the Announcement entitled "<a href=http://forums.oracle.com/forums/ann.jspa?annID=432>Before posting on this forum please read </a>" which contains links to the documentation and instructions on how to post proper questions for example.
    cheers

  • How to link an image file in code view

    I can't seem to figure out how to link the image file in code view. It has to be in code view because the image is hidden in Design View so I can't do it in HTML view. Here's the coded section:
    <!-- TAB #3 CONTENT -->
                    <div id="tab3" class="tabsGeneral">
                      <div class="tabsFeatureImageContainer asyncImgLoad" title="img/index/tabs/tab3/DonateNow-168x112.jpg"></div>
                      <h3 class="tabsHeader">Partner With Us</h3>
                      <p class="tabsDesc">Get involved with all the exciting things God is doing at Provision House. Partner with us to help others find true and lasting freedom from addiction in Christ. <a href="http://provisionhouse.org/giving.html" class="commonLink">Click here</a></p>
    It's' the red jpeg image file I want to link to another page in the site and I don't have enough experience to do this.
    I am thankful for your help.
    Paul

    Thanks, Gramps. Here's the page I want to like to from the image:
    http://provisionhouse.org/giving.html
    Paul
    Here's the whole section where the problem exists:
    <!-- TABS -->
                <div id="tabsContainer">
                    <div id="tabsWrapper">
                        <!-- TAB #1 CONTENT begin -->                
                        <div id="tab1" class="tabsGeneral">
                         <div class="tabsFeatureImageContainer asyncImgLoad" title="img/index/tabs/tab3/WalkingByTheSpirit-168x112.jpg"></div>
                        <h3 class="tabsHeader">Session 5 of the Breaking the Chains Seminar Completed</h3>
                            <p class="tabsDesc">Visit the <a href="videos.html" class="commonLink">Videos page</a> to watch clips of Session 5, <span class="Italic">Walking by the Spirit</span></a></p>   
                        </div> <!-- tab1 -->
                        <!-- TAB #2 CONTENT begin -->                       
                      <div id="tab2" class="tabsGeneral">
                            <div class="tabsFeatureImageContainer asyncImgLoad" title="img/index/tabs/tab2/FreedomFromAddiction168x112.jpg"></div>
                            <h3 class="tabsHeader">Session 2, Freedom from Addiction</h3>
                            <p class="tabsDesc">Is it possible for the Christian to find true and lasting freedom from addiction? This session explains how all addictions are also sin, and it is sin that Jesus has set us free from. Anticipated release: November, 2011. <span class="commonLink"><a href="curriculum.html">Read about Session 2</a></span>
    <!--HIDDEN SECTION<<div class="tabsThumbsContainer">
                                <a class="tabsThumb imgTipLeftTop" rel="img/index/tabs/tab2/1.jpg">
                                    <img src="img/index/tabs/tab2/thumb1.jpg" alt="" />
                                    <span class="desc displayNone">Dubai</span>
                                </a> 
                                <a class="tabsThumb imgTipLeftTop" rel="img/index/tabs/tab2/2.jpg">
                                    <img src="img/index/tabs/tab2/thumb2.jpg" alt="" />
                                    <span class="desc displayNone">Dubai</span>                           
                                </a>
                                <a class="tabsThumb imgTipLeftTop" rel="img/index/tabs/tab2/3.jpg">
                                    <img src="img/index/tabs/tab2/thumb3.jpg" alt="" />
                                    <span class="desc displayNone">Dubai</span>                               
                                </a> 
                                <a class="tabsThumb imgTipLeftTop" rel="img/index/tabs/tab2/4.jpg">
                                    <img src="img/index/tabs/tab2/thumb4.jpg" alt="" />
                                    <span class="desc displayNone">Dubai</span>
                                </a>
                                <a class="tabsThumb imgTipLeftTop" rel="img/index/tabs/tab2/5.jpg">
                                    <img src="img/index/tabs/tab2/thumb5.jpg" alt="" />
                                    <span class="desc displayNone">Dubai</span>                           
                                </a> 
                                <a class="tabsThumb imgTipLeftTop" rel="img/index/tabs/tab2/6.jpg">
                                    <img src="img/index/tabs/tab2/thumb6.jpg" alt="" />
                                    <span class="desc displayNone">Dubai</span>                           
                                </a>                   
                                <a class="tabsThumb imgTipLeftTop" rel="img/index/tabs/tab2/7.jpg">
                                    <img src="img/index/tabs/tab2/thumb7.jpg" alt="" />
                                    <span class="desc isplayNone">Dubai</span>                           
                                </a> 
                                <a class="tabsThumb imgTipLeftTop" rel="img/index/tabs/tab2/8.jpg">
                                    <img src="img/index/tabs/tab2/thumb8.jpg" alt="" />
                                    <span class="desc displayNone">Dubai</span>                           
                                </a>
                            </div> --> <!-- tabsThumbsContainer -->          
                      </div> <!-- tab2 -->
                        <!-- TAB #3 CONTENT -->                        
                        <div id="tab3" class="tabsGeneral">
                        <div class="tabsFeatureImageContainer asyncImgLoad" title="img/index/tabs/tab3/DonateNow-168x112.jpg"></div>
                            <h3 class="tabsHeader">Partner With Us</h3>
                            <p class="tabsDesc">Get involved with all the exciting things God is doing at Provision House. Partner with us to help others find true and lasting freedom from addiction in Christ. <a href="http://provisionhouse.org/giving.html" class="commonLink">Click here</a></span>
                            <div class="tabsThumbsContainer">
                                <a class="tabsThumb imgTipLeftTop" rel="img/index/tabs/tab3/WalkingByTheSpirit-350x250-no text.jpg">
                                    <img src="img/index/tabs/tab3/WalkingByTheSpirit-26x26-no text2.jpg" alt="" />
                                <a class="tabsThumb imgTipLeftTop" rel="img/index/tabs/tab3/WalkingByTheSpirit-350x250-no text.jpg">
                                    <img src="img/index/tabs/tab3/WalkingByTheSpirit-26x26-no text2.jpg" alt="" />
                                <a class="tabsThumb imgTipLeftTop" rel="img/index/tabs/tab3/WalkingByTheSpirit-350x250-no text.jpg">
                                    <img src="img/index/tabs/tab3/WalkingByTheSpirit-26x26-no text2.jpg" alt="" />
                                <a class="tabsThumb imgTipLeftTop" rel="img/index/tabs/tab3/WalkingByTheSpirit-350x250-no text.jpg">
                                    <img src="img/index/tabs/tab3/WalkingByTheSpirit-26x26-no text2.jpg" alt="" />
                                <a class="tabsThumb imgTipLeftTop" rel="img/index/tabs/tab3/WalkingByTheSpirit-350x250-no text.jpg"><img src="img/index/tabs/tab3/WalkingByTheSpirit-26x26-no text2.jpg" alt="" />
                                <a class="tabsThumb imgTipLeftTop" rel="img/index/tabs/tab3/WalkingByTheSpirit-350x250-no text.jpg">
                                    <img src="img/index/tabs/tab3/WalkingByTheSpirit-26x26-no text2.jpg" alt="" />
                                    </span>                           
                                </a>                   
                            </div>
    <!-- tabsThumbsContainer -->         
                        </div> <!-- tab3 -->
                    </div> <!-- tabsWrapper -->
                    <!-- TABS BUTTONS -->
                    <div id="tabsBtnBar">               
                        <div class="tabsBtn">latest news<span class="tabsSource">#tab1</span><span class="tabsSource">#tab1</span>                
                    </div>
                        <div class="tabsBtn">Current Project
                            <span class="tabsSource">#tab2</span>
                        </div>
                        <div class="tabsBtn">how to help
                            <span class="tabsDefaultTab"></span>
                            <span class="tabsSource">#tab3</span>
                        </div>                   
                    </div> <!-- tabsBtnBar -->
                </div> <!-- tabsContainer -->

  • Linking an image file

    In DTP programs (and also MS Word) you can insert an image file as a link to the actual file in the disk, so the graphic is not embedded in the document, instead when the document is opened the file readed from the external source. This method have the advantage keeping small file size of the actual document.
    I'm new in Mac (as also in Pages) and i cannot find this feature in iPages 08. I suppose is not supported. My problem is that i' m working with large size documents with a lot of images. If any have experience of large files please inform me if there is any alternatives of file link or if iWorks works good with large files.
    Thanks in advance.

    Feature unavailable in Pages '08 as well as in Pages '09 !
    Yvan KOENIG (from FRANCE lundi 29 juin 2009 20:29:19)

  • Linked Images/Files not Updating to Remote Versions

    Recently, I've noticed that when I go to upload a new page to our company intranet, any linked images or files do NOT update to the linked versions when they are uploaded --- they are still pointing to the versions on my local drive, so all users see a broken image or are linked to a broken file. I am putting/checking in dependent folders, and the images/files are successfully loaded to the intranet.
    I'm able to fix the issue by manually locating the remote versions of the image/file and inserting it into my .html by hand, but obviously I would prefer to be able to do this automatically. This only started happening recently, as I never had trouble automatically updating links. As far as I know, no settings have changed.
    This is for CS5. Any ideas? Let me know if there are any relevant settings or info I can provide.

    Sounds like you have not created a Site Definition in DW. If you're working within a properly defined local site folder, DW correctly manages paths & assets for you. 
    Nancy O.

  • How do i send an html file exported from muse as email blast with images and live links?

    My question it:
    How do i send an html file exported from muse as email blast with images and live links?
    I have designed a "website" in adobe muse and exported it as an html file. I am not sure how to send my .html file in an email!
    Best,
    Nicole

    Unfortunately, the answer is, you don't. The requirements for HTML displayed in an e-mail reader are very different than those for HTML displayed in a browser. The output of Muse won't work as an HTML e-mail. You could upload the Muse site as a website and provide a link to it in an e-mail, but the HTML generated by Muse is not suitable for direct display by an e-mail program.

  • In Design CS 5.5, Can I link to large image files ??

    Dear friends,
    We are creating a 111 page file that links to about 120 large picture files.  Each picture file is about 40MB.  Doing this seems like it will slow down my computer's ability to quickly edit the file, because it will be so large.
    QUESTION: What are some ways around this?
    What is recommended?
    Shall I place the files, and then somehow TURN DOWN the "display performance" ?
    Or should I make SMALLER versions of all 120 files, then replace them with the large files when I am about to print to PDF?  (That sounds like a LOT of work)

    I'm not sure you are using the term "embedding" properly here.
    You want to link the images by using File > Place... That includes a pointer to the entire file and a preview inthe ID file, but not the actual image data. In order to embed (which saves a complete copy of the image data inside the ID file and will make it HUGE), you must slect the link in the Links panel and choose Embed from the panel flyout menu.
    It's also possible to copy and paste vector drawings into ID and the will not show in the links panel at all. I recommend against this in favor of Placing them as well. Complex pasted vector objects can cause significant slowdown whenver the screen has to be redrawn.

Maybe you are looking for

  • How to get to 32-bit mode in Photoshop on Yosemite

    Having a problem. I need Photoshop to run in 32-bit mode in order to access "Lighting Effects". Photoshop users will know what I'm talking about, it's unavailable and greyed out in 64-bit mode. But I don't see the option to select it. My understandin

  • Opening a file from the Cloud of Adobe Reader - Ipad

    Hi, I have got a serious trouble with my Ipad. It's been about 3, maybe 4 days that I can't open my files from the cloud of Acrobat.com if it hasn't been open recently, thus not in the docoument. When I try to open a file, I click on it, and then, it

  • How to increase the the max limit column in pivot view in BIEE 11G?

    Hi Experts, How to increase the the max limit column in pivot view in BIEE 11G? When the number of column exceed 256 in pivot view, it will generate the following error message as below: Exceeded configured maximum number of allowed output prompts, s

  • Problem with MDK PersistentExample

    Hello, i tried to run the first persistent example. I have problems with the file <i>ReadWriteEntities.java</i>. When i try to compile the example eclipse shows a warning: <b>The type Transaction is deprecated</b> There is a problem with importing th

  • Whats up with the download not working?

    I down loaded the trial version of elements 12 last night , it read download complete, I just went to use it, and it telling me to download, But I already did, so whats the problem ? Before I actually purchase it , I'd like to try it and feel it out.