Employee Detail with their image

Hi,
I have a Employee Table and Each employee has a image.I am using Region type as Pl/sql anonymous block. i want to display Employee Detail with their Image. How i can do this?

Hi Pars,
I refer to sample application and find code there for image display in report. The code is
decode(nvl(dbms_lob.getlength(p.product_image),0),0,null,
    '<img style="border: 4px solid #CCC; -moz-border-radius: 4px; -webkit-border-radius: 4px;" '||
    'src="'||
    apex_util.get_blob_file_src('P6_PRODUCT_IMAGE',p.product_id)||
    '" height="75" width="75" alt="Product Image" title="Product Image" />')
    detail_img,
what should i replace with P6_PRODUCT_IMAGE because i don't have this item. In my code first row td has static image code. how i can replace this.
my code is
DECLARE
rec USER_MAS%rowtype;
begin
htp.p('
<html>
<body>
FOR REC IN (select EMP_ID, FIRST_NAME, LAST_NAME, ADDRESS_1, CITY_NAME, PINCODE, MOBILE_NO, EXT_CODE, EMAIL_ID, SKYPE_ID ,EMP_IMAGE, FILENAME,MIMETYPE from INT_EMP_MAS WHERE EMP_ID=:P102_EMPLOYEE_ID or upper(FIRST_NAME)=upper(:P102_EMPLOYEE_ID) OR upper(LAST_NAME)=upper(:P102_EMPLOYEE_ID))
LOOP
htp.p(' <table WIDTH="100%">
<tr></br></tr>
<tr>
<td ALIGN="CENTER" ROWSPAN="15" ></br><img src="#WORKSPACE_IMAGES#download (2).jpg" width="60" height="50"/></td>
<td>Emp ID :</td>
<td>'||INITCAP(REC.emp_id)||'</td>
</tr>
<tr>
<td>Name:</td>
<td>'||INITCAP(REC.FIRST_NAME)||' '||INITCAP(REC.LAST_NAME)||'</td>
</tr>
<tr>
<td>Mobile No:</td>
<td>'||REC.MOBILE_NO||'</td>
</tr>
<tr>
<td>Ext.Code:</td>
<td>'||REC.EXT_CODE||'</td>
</tr>
<tr>
<td>Email ID:</td>
<td>'||REC.EMAIL_ID||'</td>
</tr>
<tr>
<td>Skype ID:</td>
<td>'||REC.SKYPE_ID||'</td>
</tr>
htp.p('
</TABLE>');
END LOOP;
htp.p('</body>
</html>');
end;
Thanks & regards
Vedant

Similar Messages

  • Losing detail with vector images

    Hi, I hope someone can help me with this... when I copy and paste/import or open a PDF (site plans) in different software programs, they quite often lose clarity and detail. This happens in Word 2000, PowerPoint, sometimes in Photoshop CS. It has happened in InDesign CS as well. Can someone explain this? Can I prevent this? Why does this happen? I would appreciate all help!
    Thanks!

    This seem to work great! Funny thing is when I scale the font down I lose most of the grunge. I know this is a little small but I've tried to show the difference before and after. The compound path side has the offset path added, which you can see in the larger size. However when the logo is scaled down I loose the grunge. This is even more apparent when it's printed. This logo will be printed on a wide variety of things and at different sizes so I need it to scale correctly. I'd hate to give a client a logo that's only good at one size. Thanks so much for your advice!

  • HT1311 I know this is a basic question, however, how do i change my pass word on itunes to stop my kids from automatically buying tunes from the I store... as my card details are already saved they just log in with their ipods and download via my account

    I know this is a basic question, however, how do i change my pass word on itunes to stop my kids from automatically buying tunes from the I store... as my card details are already saved they just log in with their ipods and download via my account

    http://support.apple.com/kb/HE36
    Regards.

  • We have a corporate iPad in our auto showroom to show guests how to use features on their vehicles. Someone locked it with their account. It was not an employee. How can I get in? I did a restore of the software already?

    We have a corporate iPad in our auto showroom to show guests how to use features on their vehicles. Someone locked it with their account. It was not an employee. How can I get in? I did a restore of the software already?

    Gather up the proof that the dealership is the original purchaser of the iPad,
    and take the iPad & that proof to a physical Apple store for possible assistance.
    It is highly suggested that you make a genius bar appointment to avoid delay
    at the store:
    Make a Genius Bar Reservation
    http://www.apple.com/retail/geniusbar/
    If no Apple store close by, get the information mentioned above and contact
    Apple Contact Us for assistance.
    Once the problem is resolved, you may wish it use Guided Access to limit
    what customers can do with the iPad.
         iOS: About Guided Access - Apple Support

  • How to import a image and compare with another image to find their deviation

    i am new to labview , can anyone tell how to import a image and compare  it with another image  to find their deviation
    Solved!
    Go to Solution.

    This is an quite easy task using the Vision Development Module.
    There you can acquire images from cameras or read them form the harddrive, then differntiate them or since VDM 2010 calculate the optical flow between consecutive images.
    Christian

  • How are businesses handling the "APPLE LOCK" on company cell phones when an employee leaves and their phone is unusable because the euipment was set up on the employee's personal Apple Account with their ID and password?

    How are businesses handling the "APPLE LOCK" on company cell phones when an employee leaves and their phone is unusable because the euipment was set up on the employee's personal Apple Account with their ID and password?  When an employee leaves a business and the company has purchased the equipment, the company should have the rights to reissue the equipment and Apple should provide an alternative to unlock the equipment from the employee's personal APPLE account and password so the company (that purchased the equipment) can reissue the line and equipment to another employee.

    If you can prove ownership to Apple, they may be able to help you.
    The best way of handing things would be strong policies requiring that the equipment be turned in in a usable state. i.e. not activation locked. Failing this, the employee should be charged the cost of the replacement phone. Held from their final paycheck if required.

  • Some employees designations are not matching  with their actual designation

    Hi All,
    While downloading to excel sheet some employees designations are not matching  with their actual designations maintained in infotye 0001.
    Designations should match with infotype 0001.
    How to rectifty this issue.
    Let me know...
    Regards,
    Sita

    Hi
    Looks like you are dowloading the value from a field which does not contain the value you see in the infotype screen
    In infotypr 0001 place your cursor in the designation field.
    Press F1
    See the name of the field & the table.
    Have a look at the table using se16 and confirm what you see in the field is what you see in the infotype screen.
    If it is same see in your code if you are using correct field.
    If it is not the same trace in which table and field the value is stored and code your program to download from there.
    Check in Tables HRP1000 and PA0001 and you should get your values
    regards
    Pravin

  • Is there a screen that allows a manager to change details of their employee

    Is there a screen that allows a manager to change details of their employee?
    Using Manager Self Service, we would like to be able to have our users change the job title, department etc. of their 'reports' i.e. their employees. Is there a way to do this using standard Manager Self Service functionality?

    Yes, it is possible to change the department related changes through Manager self service using function Change Cost Center, Location and Manager and it is possible to change the job using Change Job.
    Hope this clarifies your Question.

  • Newly added contacts suddenly become strangers (not shared their details with you)

    A newly added contact suddenly disappears after a few minutes, it's still present in my contact list, but with the gray question mark and "this person has not shared their details with you", even though in the conversation itself it says "<friend> has shared contact details with <myself>". On the other side, it seems like none of this is happening and my friend can still see my status as if I was their contact (which I am). After re-sending the contact request multiple times (which is instantly accepted, it doesn't seem to even display on my friend's side, he just instantly becomes my contact again) it seems to have sorted itself out and that person is now in my contacts, hopefully for good. Now yesterday I added a new contact and the same thing happens, she appears as a stranger about 10 minutes after accepting my contact request, even though it seemed fine on the mobile app while she was online, but now even mobile considers her as not part of my contacts, and also her profile picture isn't displaying on the mobile app. Note : there is already a thread about this in the Skype for Windows Desktop section, however since this problem has clearly nothing to do with the client you're using and is related to the platform/whatever software runs on Microsoft's servers, I'm reposting this here. Skype for Windows Desktop version 6.20.0.104 running on Windows 7 Professional 64-bit, and Skype for iPhone version "idon'tknowwhat because there's no "about" page apparently" running on iOS 8.0.2, iPhone 5S. My Skype account isn't linked with any Facebook nor Microsoft account (it was, but it's been unlinked about two months ago). To avoid this thread the same fate as the linked one, that is becoming polluted by some smart-ass that believes everything is caused by a virus, corruption of the Skype folder in AppData or compromised account, let me state this right now : my password was changed, the account isn't compromised (checked with /showplaces and the only logged in clients are my desktop and my iPhone) and the AppData folder was already deleted, without success (it made things worse my making my entire contact list disappear for 24h, fortunately they slowly came back one by one), so if you have nothing to say please refrain from copy/pasting such useless answers.

    Hi, I hope someone can help me.  I have a similar problem to Andre (from original post a week ago below).  I only use Skype to communicate with a personal friend who has recently been posted abroad (Europe) to work.  I always sign in via my Microsoft account and have done since Microsoft & Skype merged and I linked the two together.  My contact does the same.  As my accounts are linked, my friend shows up in my contacts both as a Skype contact and also a Messenger contact.  When we communicate, it is normally always via our Skype names although I can see them online under both names.  On Friday night however, they came online but shortly afterwards, I noticed that the grey question mark had appeared next to their Skype name saying 'Person has not shared their contact details with you'.  They are still showing up ok under their Messenger name as it appears as offline, so I have been a bit confused why this has happened and I haven't yet had a chance to speak to my friend to ask them.  I decided to look at the Skype help forum and came across this post by Andre who has had a similar problem, although he says it has happened with a couple of new contacts but his problem has now been resolved.  I was hoping someone could help me and give me some advice as to what I should do now.  I have checked my computer and have the latest Skype version for desktop installed.  I am using Internet Explorer 11; Windows 7 Home version - 64 bit.  I also have the Skype app on my android smartphone which has the most recent updated version.  I don't really use Skype on my phone although I did log-in on late Friday afternoon but didn't stay on long before I signed out.  I have read in posts in the past about corrupted files etc on Skype but because I don't know much about these things,  I don't like to mess about with the programs that are installed on my computer because I don't know what I'm doing. The person who responded to Andre's query was a staff moderator called Aimi, who had previously told him to send the name of the contact in question who had the grey question mark appear beside them.  I would be very grateful if someone could help me with this problem as I would like it sorted out as soon as possible please. Thanks, Linda F. AndréDaniel wrote:A newly added contact suddenly disappears after a few minutes, it's still present in my contact list, but with the gray question mark and "this person has not shared their details with you", even though in the conversation itself it says "<friend> has shared contact details with <myself>". On the other side, it seems like none of this is happening and my friend can still see my status as if I was their contact (which I am). After re-sending the contact request multiple times (which is instantly accepted, it doesn't seem to even display on my friend's side, he just instantly becomes my contact again) it seems to have sorted itself out and that person is now in my contacts, hopefully for good. Now yesterday I added a new contact and the same thing happens, she appears as a stranger about 10 minutes after accepting my contact request, even though it seemed fine on the mobile app while she was online, but now even mobile considers her as not part of my contacts, and also her profile picture isn't displaying on the mobile app. Note : there is already a thread about this in the Skype for Windows Desktop section, however since this problem has clearly nothing to do with the client you're using and is related to the platform/whatever software runs on Microsoft's servers, I'm reposting this here. Skype for Windows Desktop version 6.20.0.104 running on Windows 7 Professional 64-bit, and Skype for iPhone version "idon'tknowwhat because there's no "about" page apparently" running on iOS 8.0.2, iPhone 5S. My Skype account isn't linked with any Facebook nor Microsoft account (it was, but it's been unlinked about two months ago). To avoid this thread the same fate as the linked one, that is becoming polluted by some smart-ass that believes everything is caused by a virus, corruption of the Skype folder in AppData or compromised account, let me state this right now : my password was changed, the account isn't compromised (checked with /showplaces and the only logged in clients are my desktop and my iPhone) and the AppData folder was already deleted, without success (it made things worse my making my entire contact list disappear for 24h, fortunately they slowly came back one by one), so if you have nothing to say please refrain from copy/pasting such useless answers. 

  • Generating xml from oracle 10g with BLOB image

    Hello All,
    I have employee table with id(primary key), firstname,lastname
    and I have portrait table with id(secondary key from employee table),image (blob)
    portrait table store images of the employees which are in the employee table.
    I want to generate following xml output
    <rowset>
    <id> </id>
    <firstname> </firstname>
    <lastname> </lastname>
    <portrait>base64formatted string containing image of the employee for the particular id specified in the id tag</portrait>
    </rowset>
    and save this xml as id.xml into a particular folder in the c drive and generate such xmls for each and every row of the emplyee table...
    e.g. if i have 200 emplyees with id as 1 ,2 ,.....,200 and their respective portraits into portrait table; then I want to save these as separate xml files with the names 1.xml , 2.xml , .....200.xml inside a folder say : C:\temp...
    Any help is highly appreciated
    Edited by: user1030398 on Sep 28, 2010 12:01 PM
    Edited by: user1030398 on Sep 28, 2010 12:02 PM

    I was going to write up a longer answer, but then I realized this post contains pretty much all you need
    http://www.liberidu.com/blog/?p=365
    I like using XMLElement/XMLForest to build the XML as it gives you the most control.
    In the first example on Marco's website, you would just use dbms_xslprocessor.clob2file to write each file out to disk with a CURSOR FOR loop instead of doing a single OPEN/FETCH/CLOSE. The cursor would return two columns, employee.id and the generated XML. The filename would be based on the "id" column returned by the CURSOR.
    Assumption: The machine that Oracle resides on has the "C:\temp" directory that you want to write to. You cannot use this method to right files onto a client machine.
    Hope that gets you started.

  • Problem with Gif image

    Having a problem with gif image not showing up. It will show up in netscape6.2, but not in IE 5.0. Both are using the java 1.4 plugin. They are basic buttons (zoom in, zoom out, etc) and they actions work, just the icons aren't showing. Any help would be great! Below is a snip of code:
    JPanel toolBarsPanel = new JPanel();
    javax.swing.JToolBar toolbar = new javax.swing.JToolBar();
    JButton zoomin = new JButton(new ImageIcon("tut/zoomin.gif"));
    JButton fullext = new JButton(new ImageIcon("tut/fullextent.gif"));
    JButton identify = new JButton(new ImageIcon("tut/identify.gif"));
    JButton btn = new JButton(new ImageIcon("tut/addtheme.gif"));
    toolbar.add(zoomin);
    toolbar.add(fullext);
    toolbar.add(identify);
    toolbar.add(btn);
    add(toolbar, BorderLayout.NORTH);
    Thanks again for any help!

    I used to do a lot of work in this sort of thing. After a while we were able to convince our bosses to use generated HTML (JSPs, etc.), so the problem moved to porting JavaScript to different platforms! (Platforms in this context means the different browser/OS combinations, etc.).
    The only two things I can recommend are:
    - complete control over you code. You will have to fix it! (Tried you apps on a Mac yet?)
    - assume a minimal install. Don't assume users are going to have any fancy tools installed on their PC, unless you are developing an Intranet app, where you know the spec of the machines that are going to be using it.
    As regarding getting IE to use a relative address, I don't think you are going to have any luck their, I'm afraid! (Although I am curious. It has been some time, but I though it did use relative addresses. Are you absolutely sure about this, did you check this out with System.outs and that?
    HTH,
    Manuel Amago.

  • Over the years my children have set up 2 i tunes accounts on my computer is there a way to put them together as one account that everyone can access with their synced i pods, phones etc

    Over the years my children have set up 2 i tunes accounts on my computer (windows vista) can i amalgamate both into one account with one password / account details that all my family can access with their i pods, i phones, i touch etc

    How to use multiple iDevices with one computer

  • Best Buy lies in their ad about what they will do with their calibration!

    Best Buy lies in their ad about what they will do with their calibration!
    The ad that promotes Best Buy calibration here:
    http://images.bestbuy.com/BestBuy_US/en_US/images/abn/2008/tvv/pcon/BestBuy_HDTV_Calibration.pdf?h=4...
    clearly states:
    A calibration session
    includes two inputs on
    the set, so if you have a
    DVD player and cable
    box, for example, the
    HDTV’s inputs will be
    calibrated specifically
    for the video output
    from those two devices.
    Calibration also
    adjusts the sound levels
    and positioning of the
    speakers in a surroundsound setup, so your
    entire home theater
    will look and sound as
    good as it can
    The actual calibration you get is:
    No Audio, just the picture!
    The following are NOT included with this service:
    Setup of audio or video components
    You were warned!

    DarkWingDUCK wrote:
    This is right, calibration does not include setting up of audio or video components.  A calibration tech will makes sure, for instance, your 5.1 system has the speakers in the correct position.  If your rear-left is in the front soundstage, that can be corrected on site.  Most of what they do on site is run the auto-calibration software on an AV receiver if it has not already been done.  Other than that, you can opt to pay up to $800 for a full-fledged ISF or THX calibration from an independent calibrator.  You get a very good value for the $199.
    The service provides a "video" calibration, not audio.
    Well in that website link I provided and in the "First Glimpse" magazine they give you at the store, page 17, says they offer more than what you said:
    Calibration also adjusts the sound levels and positioning of the speakers in a surroundsound setup, so your entire home theater will look and sound as good as it can.

  • Facing problem in Fetching Employee details

    Hello All,
    i need to write a abap coding to fetch the employee details from the corresponding table,i worte a code but its is not fetching the details of the employess in to the output,am sending my code along with this thread its great if any body help me out in ths regard,thanks in advance...
    NAME        : Chandeep Singh
    DESCRIPTION : TO GENERATE SIMPLE REPORT USING HR ABAP
                   LOGICAl DATABASE- PNP .
    REPORT zchandeep_hr_prog_1
    LINE-SIZE 200 .
    *Database Table
    TABLES: pernr,           " Pernr structure for Logical database
    pa0001,           " Actions
    pa0002.           " Personnel Info
    *Infotypes
    INFOTYPES: 0001,         " Actions
               0002.         " personnel info
    *Variable Declaration
    DATA: form_nam LIKE p0001-ename,
          v_age(5) TYPE c,       "variable for calculating age in days
          v_ctr1 TYPE i VALUE 0, "counter
          v_ctr2 TYPE i VALUE 0, "counter
          var(5) TYPE c ,        " variable to store btrtl
          var1(5) TYPE c  .      " variable to store werks
    *Internal Table Decalartion
    DATA: BEGIN OF i_tab1 OCCURS 0,
           pernr LIKE pa0001-pernr,  "employee number
           ename LIKE pa0001-ename,  "employee name
           begda LIKE pa0002-begda,  "employee join date
           werks LIKE pa0001-werks,  "personnel area
           btrtl LIKE pa0001-btrtl,  "personnel sub area
           persg LIKE pa0001-persg,  "employee group
           persk LIKE pa0001-persk,  "employee sub-group
           plans LIKE pa0001-plans,  "position
           gbdat LIKE p0002-gbdat,   "date of birth
         END OF i_tab1.
    *START-OF-SELECTION
    START-OF-SELECTION .
    GET pernr .
      rp-provide-from-last p0001 space pn-begda pn-endda .   " Macro for IFT-0001
      rp-provide-from-last p0002 space pn-begda pn-endda .   " Macro for IFT-0002
    **--> Populate internal table
      MOVE p0001-pernr TO i_tab1-pernr .
      MOVE p0001-ename TO i_tab1-ename .
      MOVE p0002-begda TO i_tab1-begda .
      MOVE p0001-werks TO i_tab1-werks .
      MOVE p0001-btrtl TO i_tab1-btrtl .
      MOVE p0001-persg TO i_tab1-persg .
      MOVE p0001-persk TO i_tab1-persk .
      MOVE p0001-plans TO i_tab1-plans .
      MOVE p0002-gbdat TO i_tab1-gbdat .
    **--> Append data to internal table
      APPEND i_tab1 .
      CLEAR i_tab1 .                                       " Clear header I_TAB1******************************
    *END-OF-SELECTION
    END-OF-SELECTION.
    *****sorting the internal table on personnel area & personnel sub-area
      SORT i_tab1 BY werks btrtl.
    *TOP_OF_PAGE
      PERFORM top_of_page.
    *Output Display
    LOOP AT I_TAB1.
    *for calculating the age in days
      v_age = sy-datum - i_tab1-gbdat.
    *control break on Personal Sub Area
      LOOP.
        AT NEW pnpbtrtl .
          IF sy-tabix NE 1.
            FORMAT COLOR COL_NORMAL ON.
            WRITE:/5 'Total Number of Employees for personnel Sub-Area:',
            var  , 'is ',
            v_ctr1.
            CLEAR v_ctr1.
            FORMAT COLOR OFF.
          ENDIF.
        ENDAT .
      ENDLOOP.
    **Control Break on personnel Area
      LOOP.
        AT NEW pnpwerks.
          IF sy-tabix NE 1.
            FORMAT COLOR COL_TOTAL ON.
            WRITE:/5 'Total Number of Employees for Personal Area: ',
             var1 ,'is    ', v_ctr2. "color col_total.        CLEAR V_CTR2.
            SKIP 1.
            FORMAT COLOR OFF.
          ENDIF.
        ENDAT .
        WRITE:/5
        i_tab1-pernr,   "personnel number
      16 i_tab1-ename,   "emp name
      47 i_tab1-begda,   "join date
      60  v_age,         "age in days
      74  i_tab1-werks,  "P area
      84  i_tab1-btrtl,  "P sub Area
      94  i_tab1-persg,  "emp group
      104  i_tab1-persk, "emp sub group
      114  i_tab1-plans. "position
        v_ctr1 = v_ctr1 + 1.
        v_ctr2 = v_ctr2 + 1.
        var = i_tab1-btrtl .
        var1 = i_tab1-werks .
      ENDLOOP.
    *&      Form  top_of_page
          Header Output
    FORM top_of_page.
      FORMAT COLOR COL_HEADING ON.
      WRITE:/5 'Employee',
            16 'Employee',
            47 'Join Date',
            62 'Age',
            74 'Personal',
            84 'Personal',
            94 'Employee',
            104 'Employee',
            114 'Position ',
          /5 'Number',
          16 'Name',
          60 '(In Days)',
          74 'Area',
          84 'Sub-Area',
          94 'Group',
          104 'Sub-Group'.
      FORMAT COLOR OFF.
      SKIP 1.
    ENDFORM.                    " top_of_page

    After tables pernr.
    write this code :
       GET PERNR.
    and check the program
    Regards,
    Srinivas

  • How do I make a PDF Slideshow from Bridge CS4 with 500 images?

    Every year I go for an extended photo shooting trip. I use about 400 to 600 of the images to make a PDF slide show. This worked fine in all previous versions of Bridge, but no longer works properly in Bridge CS4. I can create PDF files with up to 329 images, but when I try to make a PDF file with more than that, the PDF file is corrupted. Sometimes, the PDF file opens, but about 10% of the image at random location are corrupted, and their thumbnails show up as white or black patches. At other times, the file does not open in Adobe Reader. I get a variety of error messages. The most common is #109.
    Just to be certain it is not caused by my images, I used 550 images I had used to make a PDF show last year with Bridge CS3. I get the same problem. The slide show created last year with 550 images in Bridge CS3 still works in Adobe Reader, ruling out the Reader a being the cause of the problem. It appears that some bug has crept into the CS4 Bridge code.
    Unfortunately, a while ago a deleted CS3 from my hard drives without making a copy of the downloaded dmg of CS3, so I can no longer re-install CS3. BTW, other than this bug, I am very happy with CS4. As a photographer, I find the improvements made in CS4 ACR stunning.
    Is there a known work-around for this bug?
    Is it likely to be fixed in an upcoming update?
    Is there a way I can download a copy of CS3 allowing me to install CS3 Bridge, or, if needed, the whole CS3 suite?
         (I still have a record of my CS3 registration code.)

    I found an answer to my own question. A work around of sorts.
    Download Photoshop Elements 6 for Macintosh. With PSE6 I made a slide show with 550 images 1920x1200, without thumbs. I ran into one problem making the slide show. My images contained 4 images which had not ben created by Photoshop and could not be included in the slide show. Opening the images in Photoshop CS4 and re-saving them still did not make then acceptable. Not a big deal. I probably could have fixed the four images by stripping all EXIF data before opening them in Photoshop. BTW, PSE6 made the slide show in demo mode.
    I hope the bug in Photoshop CS4 will be fixed in Photoshop CS5.

Maybe you are looking for