Adding Image Into Form 10g

created a login form and needed some decoration on a background...
seems i browse all over the internet and it says to attached an image into form by using this ;
read_image_file('D:\Documents and Settings\All Users\Documents\My Pictures\Sample Pictures\Blue hills.jpg','jpg','image13');
but i wonder where to put this code...
newbie here plz help
m.f.nasir

hi
if u want to import image then go to edit/import/image, but if u want to read image then try something like this.
when-new-form-instance trigger.
read_image_file('image.gif','URL','block.image');sarah

Similar Messages

  • MS Word smart quotes don't paste the same into Forms 10g as Forms 6i

    Hi all,
    I have users who write text in Microsoft Word and then cut-and-paste it into Oracle Forms.
    After some prodding by the developers, the users have switched to using the 10G version of their application instead of the 6i version.
    As a background you should know that Microsoft Word uses Smart Quotes by default, which you can turn off. Smart Quotes are different ascii characters than the ascii 39 single quote and ascii 34 double quote.
    When the users cut-and-paste the Microsoft Word text into the Forms 10G field, the single apostrophe smart quote does not convert to ascii 39. I wouldn't be surprised about this except that in Forms 6i the form does convert the single apostrophe smart quote into ascii 39.
    So if the users use the 6i Form they can cut-and-paste and the form/database has the character as ascii 39. If the users paste into Forms 10G then the database shows the character as ascii 191 (hex 0xBF), which is an inverted question mark.
    Does anyone know of any settings in Forms 10g to revert back to 6i functionality for this?
    Thanks much,
    Troy

    I am afraid that Jan is right.
    And this might be a bit of a hassle, since it might affect your forms. If you are using some standard Windows lettertype in your forms, though, you should be OK.
    Bare in mind, that you the NLS_LANG.characterset will have to be compatible between database and forms (the latter at both compiletime and runtime).
    Good Luck!
    Remco

  • Inserting images into form.

    Hi, i am new to midlet programming.
    Can anybody help me in inserting images into forms.
    And how do we set a thumbnail view in a form.
    Thanks.

    Hello,
    use
    Image tmp = Image.CreateImage ("/com/...../t.jpg");
    Form f = new Form ("title here");
    f.append (tmp);
    //if u want to insert it after loading the form use
    f.insert (index,tmp);
    Good Luck,
    Rawad

  • How to display an image in FORM 10g/11g data recovered through Web Services

    I need to show in a FORM 10g/11g an image that is recovered from a Web Service (XML format).
    (The Web Service retrieves several images from SQL Server database).
    versions previous 6i... one use field type ActiveX Control, and there showed the respective images, even with previous and next controls. Aspect that new versions of form 10g & 11g is obsolete.
    Any help thank you.
    Edited by: 859272 on 16/05/2011 03:06 PM
    Edited by: 859272 on 17/05/2011 07:15 AM

    I tried it doing it this way and it worked -
    1. copy the image into the directory aliased in 9iAS configuration file as '/images/'.
    2. In the PL/SQL code section after header, I write the following code -
    begin
    htp.p('<img src="/images/pobexp.gif"/>');
    end;

  • Scan images into Forms app / Twain scanner

    Can you provide your thoughts on how to have a Form ***QUICKLY*** scan and crop passport photo size images from a scanner
    Speed of data entry is essential so I would like to minimize the total time and keep the mouse and key click count down.
    I would like to do as much as possible within the form window. Scanning directly into an image on the form would be nice as the current app does this via a Twain scan
    The scanned image will be stored in a file (either on the Forms application server or in the client MS-Windows file system ). The file name will be stored in the database and displayed in the form. Im not sure if the image needs to be displayed in the form window or not.
    The scanned images are passport sized photos of face.
    The user needs to make minimum changes to the photo - usually only cropping.
    Are there any Java beans that will help do this ? Should I use OLE via WEB_UTIL ? Any other ideas ?
    Thanks
    ~~~~~~~~~~~~~~~~~~~~~~~~
    Environment : Forms 10g (9.0.4.0.19), Database 10gr2, Window client, Linux / Unix application server, scanners are Twain compatible or can scan to file.
    ~~~~~~~~~~~~~~~~~~~~~~~~

    Thanks - that is the info I was hoping for.
    There are Forms java bean solutions from two different people on that page. Ill try and get in touch with them and see if I can sponge the code off them.
    In the meantime, please post more suggestions if you have them

  • Load Image in Forms 10g

    Dear All
    I want to load image from hard Disk to data base in forms 10g.
    I have a Image item and Browse button in my forms and in database it is a BLOB column.
    I need when i click on Browse Button then it will open the browse window and you can select on that.
    How to do ? Urgent , please help me .
    Thank you.

    or
    try this.
    declare
    l_file_name varchar2(383);
    begin
    l_file_name := webutil_file.file_open_dialog( );
    if
      l_file_name is not null
    then
      if
        :block.rowid is not null
      then
        create_record;
      end if;
      client_image.read_image_file ( l_file_name, substr ( l_file_name, instr ( l_file_name , -1 ) ), 'images.images' );
    end if;
    end;Note:- u have to attach webutil.pll without library it will not work.
    Sarah

  • Integrating BI Beans into Forms 10g

    Hi all,
    <br><br>
    We have our application built using Oracle Forms and Reports 10g R2. I am thinking that BI Beans would highly inhance the reports in our application.
    <br><br>
    If my idea is true, <b>is it possible to use Oracle BI Beans in Forms 10g?</b> Any guideline or related link would be highly appreciated.
    <br><br>
    Thanks.

    hello,
    i use the formsgraph.jar into my test_forms,the data is display ok,but the Y axis scale i didn't solute it what i want to display.
    for example:
    7|
    6|
    5|
    4|
    3|
    2|
    1|
    0|_______________________________________________________________
    0 1 2 3 4 5 6
    my problem is that how i can define the Y axis what i want it to display.that only display 0-2-4-6-8-10-12 if recompile the java codes ,where i can modify???
    please help me !
    thanks!!

  • Adding images into a pdf as pages

    I need to add images into a pdf but want to do it in a way that when I add them, it will resize the image to the page size.  The images are large format when inserted.  Anyone know what to change in the settings to automatically resize the images at insertion?
    Thanks
    John

    Hi,
    The Professional version of Acrobat (8.x & 9.x) provides the means of creating a "blank page".
    In either, opening the Acrobat Help and clicking on "Search" lets you enter the string:
    "blank page".
    In both (8 & 9) the first (top) return is "Create a PDF from a blank page".
    From the menu (for both releases) -
    File > Create PDF > From Blank Page
    will result in a blank PDF being created by Acrobat.
    From Acrobat Preferences (discussed in the installed Help and in the online LiveDocs Help - a help system that reflects ongoing updating) you can provide some configure control for the blank page.
    Edit > Preferences > select Category "New Document".
    Alternatively, you could set up a desired page size in an authoring application and output a "blank" PDF for use.
    Placing an image –
    One way to do this.
    With the PDF open, open the Advanced Editing menu and select the TouchUp Object Tool
    or use Tools > Advanced Editing > TouchUp Object Tool
    With the TouchUp Object Tool selected & mouse cursor in the PDF page, right click for the context menu.
    Select Place Image (Shift+G in windows while context menu is present can also be used).
    In the Browse dialog, locate and select the desired image.
    Once the image has been placed to the PDF page it (the image) will have black "grab" squares at each corner.
    Use these to size the image. With mouse cursor in the image the up-down-left-right cursor icon appears.
    Use this to position the image.
    Button Tool –
    AA8Pro:
    Tools > Forms > Button Tool
    Also, on the Forms Toolbar
    AA9Pro:
    Tools > Advanced Editing > Buttons
    Also, on the Advanced Editing Toolbar
    Over the years the depth and breadth of features available with Acrobat (Pro & Pro Extended in particular) have
    grown dramatically. All the discrete topics are in Acrobat Help, arranged in a pretty logical hierarchy.
    Unfortunately, as you allude to, locating the individual topics and establishing a practicable understanding of how
    disparate topics come together to support specific tasks can be a challenge.
    Fortunately, this affords forum participants the opportunity to share the "how-to" understanding they've acquired.
    (by study/application, inadvertent stumbling across it, or learning from someone else's post )
    Be well...

  • Read reportsserver - name from registry or from system into forms 10g

    Hi
    I want to read the entry of reportsserver from registry or from the system into forms 10 g because the same form is testing and running on different hosts/ AS
    work on XP
    how to do ?
    thank you
    Norbert

    Add a new environment variable in your default.env file (or whichever .env your config is using):
    MY_REPORT_SERVER_NAME=REP_MY_IAS_SERVER
    You can then use:
    declare
    var varchar2(2000);
    begin
    tool_env.Getvar('MY_REPORT_SERVER_NAME', var);
    message(var);message(var);
    end;
    You don't need Webutil to do this.
    Richard

  • Adding Image in Reports 10g

    I have added one image in existing Report to customize it.While seeing the utput in Applications it does not display the image.The format for the image is .jpg.We are using Applications R12,Reports 10g.How to get it.

    Hi ,
    Firstly sorry for asking in the same thread . .
    I am also working in the same envronment.
    my destination type is PDF and its a bitmap report.
    so my senario is something like this.
    I need to print the signature of the agent based on the agent id on all pages of the report.
    and each page it has to check the agent id and print the same .. we can issue the report to generate the o/p for multiple orders/so multiple agents. . . so
    1st page -> jack -> so his singature . ..
    2nd page -> Jack . . same order continues -> same signatuer repeats.
    3rd page -> scott -> so another signature . .
    issues:
    we have to print this in the footer of the page . . so we used the edit margin section for the same.
    we are actually picking up the agent id for that page using a summary column and function set to last and reset at page level.
    ( both the summary column and the formula colum are not in any group in the data model)
    we created a formula column for picking the image file properties below
    type: character
    read from file: yes
    file_type: image
    it actually works but the problem is the image starts from the second page onwards. and for 3 pages it prints . . .
    1st page -> blank - Jack's signature is req.
    2nd page - > jack's signature appears . .
    3rd page -> jack's signature -> should be scott's signature
    in case the fourth page for scott or any other person is ther e
    scott's signature appears . . .
    please guide me . . .
    thanks and regards
    Jagan.

  • How to cut-and-paste image into forms

    using forms9i, is it possible to cut and paste into a forms image field (database blob field) in the browser?

    Jeff,
    as far as I know this isn't possible. We only support drag and drop operations for text.
    Frank

  • Adding image to forms

    Hello!
    Im currently working on forms. I added a choicegroup with images.
    But the form on the emulator doesn't seem to display the images on each choices.
    My images is on png format.
    Can you help me on this?
    Thanks!
    Ollie

    @MelGohan
    Hello!
    Thanks for the reply.
    I debugged the part when loading images and all the paths of the images i wanted to load were correct.
    The emulator didn't displayed the images correctly. And they're in black and white.
    My images are 64x64 in size and the'yre colored.
    Here is my code:
    try{
    characters[0] = Image.createImage("/mPackage/res/pics/menu/amazon.png");
    characters[1] = Image.createImage("/mPackage/res/pics/menu/fatass.png");
    characters[2] = Image.createImage("/mPackage/res/pics/menu/priestess.png");
    characters[3] = Image.createImage("/mPackage/res/pics/menu/cyborg.png");
    names[0] = "Amazon";
    names[1] = "Fatass";
    names[2] = "Priestess";
    names[3] = "Cyborg";
    }catch (Exception ex){
    cGNewUser_CharacID = new ChoiceGroup("Choose character: ", Choice.EXCLUSIVE, names, characters);
    Thanks again!
    Message was edited by:
    tee.pee

  • How can populate image into form using itemrenderer?

    Hi,
    i have an form employee form(form) and datagrid(contains image and edit button) in one screen.
    images and buttons are displayed in the datagrid using itemrendered(inline).
    My question is when i clicked on edit button the correspong image will be populated into
    employee form(as one formitem).How can i do it?
    Regards
    D.Mahesh babu

    Thanks prasanth.
    Here i am taking like this:
    <mx:FormItem id="formItem" >
           <mx:Image source="htttp://...../one/{dataGridId.selectedItem.empPath}" />
    </>
    Then i got the output.When i clicked on the edit buuton in datagrid(first row) then i got image is displayed in form.
    But wen i clicked on edit bitton in datagrid(second row) i got this error:
    RangeError: Error #2006: The supplied index is out of bounds.
        at flash.display::DisplayObjectContainer/addChildAt()
        at
    mx.core::Container/addChildAt()[E:\dev\3.0.x\frameworks\projects\framework\src\mx\core\Con ta
    iner.as:2206]
        at
    mx.containers::Form/addChildAt()[E:\dev\3.0.x\frameworks\projects\framework\src\mx\contain er
    s\Form.as:274]
        at
    mx.core::Container/addChild()[E:\dev\3.0.x\frameworks\projects\framework\src\mx\core\Conta in
    er.as:2140]
        at
    mx.containers::Form/addChild()[E:\dev\3.0.x\frameworks\projects\framework\src\mx\container s\
    Form.as:263]
        at
    lightemployee_inlineComponent2/fnEditDivisionRow()[\\India\c\wamp\www\reqtionary\src\light em
    ployee.mxml:251]
        at
    lightemployee_inlineComponent2/___lightemployee_inlineComponent2_Button1_click()[\\India\c \w
    amp\www\reqtionary\src\lightemployee.mxml:261]
    Regards
    D.Mahesh babu

  • Inserting images into forms

    I want to know how I can create a pdf form that will allow people to attach images to the form so when they submit it the images are also submitted.  Can anyone help?

    If they have a full version of Acrobat, then you could set up a button field from the Forms menu and set it to accept an icon only. They would need to have some knowledge of Acrobat but it could be done.

  • Adding Images into a Report

    Post Author: Moriconi
    CA Forum: General
    Hey everyone I need some help with images in CR-XI.
    I have a db of Items that I sell in my store with all of the specs listed and I want to link the pictures of each item into my report.  I cant seem to get the picture to show up in the report.  All I get is the OLE box and the file name of the image.  The actuall picture does not show up.
    Thanks
    Mark

    Post Author: Moriconi
    CA Forum: General
    Thanks for the quick response SKodidine.
    I actually figured out the problem I was having.  I was using jpeg images and after reading a few notes I tried using bitmap images and now all of my images show up.  BUT!
    I still have a problem.  For some reason all of my images show up in the report very small and pixilated.  When I try to expand the image they look horrible.  Also, the image file names and file type extensions show up beneath the image.  here is a screenshot of it.
    http://www.wikiupload.com/download_page.php?id=143048

Maybe you are looking for