How use case to set a photo directory?

Hello guys,.

I designed 6 colours on the map. I want to use everything in a single report according to the place where the condition.

I have the following table:

Number of employe_id

Employee_name,

Employee_dept_number

________________

I have 6 departments

from 1 to 6

In the report, I want to search a picture according to the employee_dept_number.

If the employee_dept_number is 1

the image directory is for example

c:\orcle\1.bmp

If 2

c:\orcle\2.bmp

________________________

So far, I have create a report and I used a binding file. How can I program this file link as follows:

If dept_number = 1

then c:\orcle_\1.bmp

and so on...

And you know, I'm using oracle developer 6i

Thank you

CASE does not work in 6i. But you can use DECODE, as

DECODE (DEPTNO, 1, ' c:\oracle\picture1.bmp ', 2,'c:\oracle\picture2.bmp',...)

Tags: Oracle Development

Similar Questions

  • How to set the initial directory

    Using the element "FileChooser' in JavaFX 2.0. How can you properly set the initial directory?

    In Swing, you follow these steps:
    JFileChooser Choose = new JFileChooser();
    Choose.setCurrentDirectory(new File("."));
    But in JavaFX:
    Choose.setInitialDirectory(new File("."));
    doesn't work and causes JavaFX to bomb out when this code is triggered.

    Published by: 863626 on October 30, 2011 05:30
    javafx.stage.FileChooser choose = newjavafx.stage.FileChooser();
     File d = new File(getClass().getResource(".").getFile());
    choose.setInitialDirectory(d);
    
  • How to apply a setting preset to a series of photos in LR6?

    LR5 it is easy to apply a user-defined preset to a set of photos selected by right-clicking on the game from past to "Entwicklungseinstellungen" (development parameters) and then poped a choice list, including all of the predefined settings. By choosing one of them the preset has been adapted by pictures of the selestion. In LR6 I can start in the same way, but in the pop up list of choices, the presets are not listed. How can I solve this problem?

    Hi p19e,

    Select all the images to develop (working in the library grid view).

    In the quick develop Panel, click the drop-down menu for 'Preset saved'

    Choose your required preset.

    Fact!

    Let us know if it helps.

    Discussion: How to do a screening for multiple photos at a time using Lightroom CC

    Kind regards

    ~ Mohit

  • How to write efficient code in pl/sql using case

    Hi all

    For all variables specified in the procedure, I have to do if the conditions as... one you suggest effective way of coding using case...





    Thank you / kumar

    Published by: kumar73 on August 17, 2010 05:56

    Published by: kumar73 on August 17, 2010 05:58

    Published by: kumar73 on August 17, 2010 09:55

    Hello

    Sorry, I don't know of anyway to avoid making all these instructions IF, or their equivalents.
    You can make the code easier to write, debug and maintain by putting common code in a function, like this:

    CREATE OR REPLACE FUNCTION  zero_out (in_num     IN     NUMBER)
    RETURN       NUMBER
    DETERMINISTIC
    IS
    BEGIN
         IF  in_num  NOT IN (-8E14, -7E14, -6E14, -5E14, -4E14, -3E14, -2E14, -1E14, -1E9)
         THEN
              RETURN  in_num;
         ELSE
              RETURN  0;
         END IF;
    END     zero_out;
    

    See below for an example of how to call it.
    Note that there is no point in trying to "in_num IS NULL"; the expression NOT IN never returns TRUE if in_inum is NULL.
    This will probably not everything faster than you do now, but it will probably not significantly slower, either.

    If you want to make the procedure faster, try to use the COLLECTION in BULK.
    Combine loops nested one. If you set the slider as

    ...     CURSOR  finc_csr
         IS     SELECT     finc.*
              FROM     pqr.finc
              JOIN     abc.fmly     ON     finc.famid     = fmly.famid;
    

    then you can use it like this:

    ...     FOR  rec  IN  finc_csr
         LOOP
              v_temp_unemplx   := zero_out (rec.unemplx);
              v_temp_unemplbx  := zero_out (rec.unemplbx);
              v_temp_compsensx := zero_out (rec.compsensx);
              ...
         END LOOP;
    
  • While creating a slide show with pictures, can you assign music to a specific set of photos? I would use 5 different pieces of music for every 5 parts of my slide show.

    While creating a slide show with pictures, can you assign music to a specific set of photos? I would use 5 different pieces of music for every 5 parts of my slide show.

    No, you can't.  One solution is to create 5 different slideshows and export them to the office where you can bring together them in a single quicktime movie file and use it.

    If you have a copy of iMovie 6 HD, it can be hacked to work with El Capitan. With it you can assign exactly music groups of slides in the slide show:

  • HOW TO USE THE FACES IN THE PHOTOS

    INSTRUCTIONS OR TUTORIAL ON HOW TO USE THE FACES IN THE MOST RECENT PROGRAM PHOTO ON MY MAC?

    I asked that your post be moved here:

    Photos for Mac

    See also:

    http://www.IMore.com/how-use-faces-photos-OS-x

  • How to send multiple photos by e-mail? Using ctrl/click made duplicate photos.

    wheneverI go to send several photos on the enamel of the photos I ctrl/click are then doubled - most annoying.  How can I do. My photos, the photos are under windows

    In Windows, the "Control-drag" operation causes files to replicate.  While you select your files, hold down the CTRL key and click each file you want to select.  Ensure that the mouse does not move when you click each file.  Once all the files are selected, release the "Ctrl" key and drag one of the files already selected in the window of your destination.

    If your mouse is too sensitive or you move the mouse when you click on files with the CTRL key, you can adjust the sensitivity of the mouse scene ranked as a "brake".  To do this, download "TweakUI" Microsoft and in the menu of the mouse, you will be able to set the sensitivity.

    TweakUI: http://www.microsoft.com/windowsxp/downloads/powertoys/xppowertoys.mspx>

    HTH,
    JW

  • My iPhone does not to import! How can I appear in the Photos and delete those that are already imported?

    My iPhone does not to import! How can I appear in the Photos and delete those that are already imported?

    My iPad appears fine with an option to import the 'new' photos and then delete them once they are imported. However my iPhone appears not at all on the pictures. Although most is already imported via the cloud, some are not, but more importantly, I would remove at least half of 30 000 photos that are taking place on my phone and a "clear items after button import" would be nice right now! I tried to turn off photo stream on my phone, but it still does not appear in the application.

    What can I do?

    Thank you!

    If you use iCloud photo library you cannot delete pictures after the import (or) - deletions on any device will be on all devices - if storage is a question about a device set to use optimized photos

    LN

  • How to keep the order of photos in an album for a pound of apples

    How to maintain the order of photos in an album when moving pictures to create a notebook from Apple?    They are placed in the book of the order of date, but a lot of my photos are scanned and have nothing to do with the date of the photo.  I use version 1.3 of Photo with iOS 10.11.3. I have read the previous assignments and fail to follow the suggestions that they seem to have apply to older versions of picture (iPhoto).   Thank you

    Adjust the dates of your photos with "Image > setting Date and Time", as well as the date of the photos match the order desired.

    It was possible to select all the photos in an album in iPhoto 1.0 and then use ' file > Create book "and the pictures would be displayed in the book on the order that have been put in the book, but that does not work reliably.

    You can also start with a blank book and drag the photos of book one - by - one in the order of your choice.

    In other words, what I'm doing anyway.  I start with a blank book and add the photo I'm going from several albums. I create an album separate for each section and drag only the photos for the next pages of the book, so I can put it on the pages I want.

  • HP Photo Creations: How to remove pictures of creations photo files without uninstalling

    I need to delete some files in HP Photro Creations, I don't want to uninstall the program that I like to keep some files.

    As I use it a little bit the files are large and I need to create a space on my hard drive - and no longer need these special files.

    Can you please tell how to do this without uninstalling the program.

    Hi Nikelady.

    HP Photo Creations uninstalling will not remove your saved projects. Currently, you must remove the records of individual project manually.

    In our FAQ at www.rocketlife.com/site/pdf/faq.pdf (this FAQ is also available in the Help menu of the program):

    How can I delete a saved project?

    You must delete the project file from the directory where it was recorded. Once the project is removed from your computer, it can not be found. In general, the projects will be in your Documents folder. To find a project on your computer, try searching for the name of the project by using the Find command in Windows or on Mac Spotlight. Note: the project always appears in your panel of projects registered until you quit and restart the program.

    You can also delete the unused photos of projects. (Often, you will load more photos that you end up using. The program retrieves photos in the project folder when you add them.)

    How can I delete the pictures of my project?

    1. Click Add item , click pictures to open the Panel of the photo.
    2. Ensure that the Drag-n-Drop mode is selected.
    3. Point to the photo that is unwanted in the box of Photos not used; a blue triangle.
    4. Click the blue triangle, and select picture to remove from the project.

    Tip: change become not permanent until you quit and restart the program. Be sure to save your project before you quit or you reboot.

    We plan to add a button to delete the project in the next version of the software. Check the who's a new item in the Home menu for updates.

    Hope this helps,

    RocketLife

    P.S. for @WAWood: where was the book that you read?

  • How can I get my camara photos card to import into my computer

    Original title: How can I get my camara photos card to import into my computer - when I insert the card, the pop-up window does not come to the top so can I import my photos in the photo library.

    I used to be able to insert my card camara and a pop up appeared to choose how I want see my photos.  Now, nothing happens.  I can't understand what I'm doing wrong.  Any suggestions?

    Hello
     
    You did it changes on your computer before the show?
     
    If the dialog box asking you to import your photos does not appear when you connect the device to your computer, AutoPlay can be disabled.
     
    Open AutoPlay and check if it helps.
     
    Activate autoplay: Hold down the SHIFT key when you insert devices or media into your computer to open AutoPlay, regardless of the default setting.
     
    Otherwise, you can import your pictures using Windows Photo Gallery:
    Here are the steps:
    a. open Windows Photo Gallery by clicking on the button Start , allprograms, and then clicking Windows Photo Gallery.
    b. on the toolbar, click fileand then click import from camera or scanner.
    (c) in the dialog box import images and videos , choose your camera from the list of devices and then click import.

    For more information, you can check the link below:
    How can I get pictures from my camera to my computer?
    http://Windows.Microsoft.com/en-us/Windows-Vista/how-do-I-get-pictures-from-my-camera-to-my-computer
  • VMware Performance event triggers use case issues.

    1) can event Performance adapter CPO VMware triggers and their

    Attributes of the SAMPLE SIZE, INTERVAL and CONDITIONS be configured

    for the following use cases?

    (2) event VMWare Performance triggers may be CORRELATED?  and if so it would take to satisfy the use case?

    (3) an additional performance monitoring tool needed to satisy the use case? :

    If a VM CPU or RAM was 80% for 2 hours then trigger a workflow

    and

    If a VM CPU or RAM was 60% for X days and then trigger a workflow

    First, I will describe how you can instrument a correlation method, but in the end, I'm not sure it's really necessary for use cases described.

    To correlate the performance VMware on a designated period events, you would create a process correlation that follows the underlying the performance event and decides to trigger the process wished triggered when correlated event is detected or not.

    Here's how it works.

    First, create a global table with three columns:

    (1) virtual path Machine

    (2) County of consecutive trigger

    (3) latest trip time

    Create a process that is triggered by a performance event VMware (for example memory Avg > 80%) where you can set the size of the sample and an interval that is logical view of the period of interest (2 hours or X days). For example, a sample of 10 and 30 seconds (5 minutes) are a slice of reasonable time to vCenter for 2 hours. As a result, requiring 24 consecutive triggers to trigger the real event of interest. (divided by 5 minutes to 2 hours)

    In other words, the formula is:

    Sample size * interval / calendar = consecutive trigger Count

    The correlation process triggered by the gross VMware event does the following:

    (1) if there is no existing entry in the overall table for the virtual machine, add the entry to table with count = 1 and current time

    (2) if the entry exists, check the current time against the last trigger time

    (a) if it is the next interval, for example, the time now is 12:15 and triggered last time was 12:10 (see note below).

    Incrementing counter and trip together last time

    If count = 24, then run the process that manages the "VM memory Avg > 80% for at least 2 hours' and remove the entry from the table.

    If count< 24,="" the="" process="" exits="" having="" only="" incremented="" the="" counter="" and="" set="" the="" last="" trigger="">

    (b) if the current time is > that last trigger time slice schedule (+ a little padding), set the counter to 1

    Note: When comparing the time of w/last time running, you should cover to consider delay light treatment in order to compare now< last-time+(time="" slice*2).="" anything="" less="" than="" 10="" minutes="" in="" this="" case="" would="" be="" considered="" a="" consecutive="" trigger.="" you="" could="" also="" compare="" current-time="">< last-time+time-slice+1,="" which="" is="" probably="" also="">

    Now, after going through all that, you don't have to the process of correlation after all. Simply adjust your sample size to be large enough to accommodate your deadline and you launch your handler directly without having to correlate. So for the 2 hour window, simply create a sample size 240 (* 30 seconds = 2 hours). This may or may not work depending on how performance indicators have been set up on the server (sample size, intervals and how much is saved). You can define your own samples and multiples of these configured values intervals (so be careful and see VMware documentation when he resorts to such measures)

    You can see that I have described everything first correlation method is more reliable, especially for longer periods such as X days (where you need to taste every hour instead of every 5 minutes).

    In any case, I think you can do what's needed without external control, but will require experimentation and a deeper knowledge of the works of performance for ESX metric sampling.

  • LR 5 / 10 Windows - import does not see my photos directory

    Hey people,

    LR 5 Windows 10.  It worked great until a recent windows update.  Now I can't see my photos directory in the import dialog box.  I see the drive the files are, but can not see the directory of real photos.

    Another bit of clarifying information: when windows updated, he kept an account of windows to create onilne.  This account creates a new set of home directories that appear to be linked to the previous windows user name file structure 7. Something seems to have changed which prevents LR to see all the files on the disc.

    Has anyone else seen elsewhere?

    Thank you!!

    I do not think that it has nothing to do with an account of the window (note that was never an obligation) online, but more with the permissions.

    The test is to run Lightroom as administrator or check that your has UID of full access to these directories through the Properties dialog box.

    My guess is that previously, you used only access I want to who had administrative access and is not a new one, that you created.

  • How to remove 3d from a photo to download?

    How to remove 3d from a photo to download?

    Just to add to xtcmax says, you can't... and you can (using channels).

    For example, switch to the Panel layers, by simply selecting the red channel gives us this:

    We can then take this same channel, copy it and paste it on a new layer in the layers panel. Obviously, since we have copied only the red channel, no other channel has been included as the blue/green channels that have been moved to the right to set up the stereoscopic 3D effect.

  • How to put eye lenses in photo?

    Can anyone know how to put eye lenses in photo?

    I have been always a fan of the use of a hue/sat adjustment layer and then fill the black mask - target mask then (Ctrl - Backspace).  Use the brush (blurred) and paint directly on the mask (should be white already, if not, make sure your foreground color is set to white) where you want to change - the blue dynamic Brown in this example.

    So simply enhance the natural color of the eyes, the Vibrance adjustment layer works wellt.  Same method of mask and paint.

    ORIGINAL - blue

    MODIFIED

Maybe you are looking for

  • What happens with Silverlight plugin for the Firefox browser in September 2015?

    I heard that Firefox support is no longer the Silverlight plugin from September 2015: it means all the automatic updates allows you to disable the Silverlight plug-in and it will have to be re-activated, or means that the platforms according to the S

  • Disclosed the recent but older versions of software

    Hello I would like to know what it's all about new versions of the software, who although older versions. For example. : * installation material *.[Date 28/05/08, version 3.0.1.0 | http://de.computers.toshiba-europe.com/innovation/download_driver_det

  • Windows 7 and java

    Is anyone else having problems to run Java-based applications on Windows 7

  • SG300-28MP power inline or stop?

    I have a client with a SG300 28MP and they want to be able to stop or turn on wi - fi when ever.  Since I'm AMX touch mounted panels in various places, I want to give them the opportunity, via touch screens to enable or disable, or even to choose pow

  • Where can I find "disk of Mircosoft Works 9?

    When I install Microsoft Updates-ITMU I get an error of installation asking the insertion of the disc "Mircosoft Works 9. I don't have it. It did not come with the computer. Where can I get?