Howto build database driven forms

Hello
I'm a newbie to oracle forms.I'm intrested in creating a database driven form which would take single or multiple input from user in single or multiple input boxes and add in a table which i shall query to develop oracle reports.I should also be able to populate data from the table onto the forms for users to review.
Kindly guide.I'm also googling for a suitable oracle forms guide too.If you have any do let me know.
Regards
Fahad

Fahad,
You're already in the right place to find documentation on Oracle Forms (see link [Oracle Developer Suite 10g Release 2 (10.1.2) Documentation|http://download.oracle.com/docs/cd/B25016_08//doc/dl/index.htm] ). Here are a few other books available that can get you started as well:
[Learning Oracle Forms 4.5: a Tutorial for Forms Designers|http://www.amazon.com/Learning-Oracle-Forms-4-5-Designers/dp/0964723301] - Yes, it is for Forms 4.5, but the concepts still apply.
[Oracle Forms Interactive Workbook|http://www.pearsonhighered.com/academic/product/0,3110,0130158089,00.html]
[Oracle Developer Advanced Forms and Reports|http://www.amazon.com/Oracle-Developer-Advanced-Forms-Reports/dp/0072120487]
[Oracle Forms Developer -- The Complete Video Course|http://www.amazon.com/Oracle-Forms-Developer-Complete-Course/dp/0130321249/ref=pd_sim_b_1]
Hope this helps.
Craig...
-- If my response or the response of another is helpful or answers your question, please mark the response accordingly. Thanks!
Edited by: CraigB on Sep 29, 2008 10:05 AM

Similar Messages

  • How to build database driven mobile apps with dreamweaver and phonegap?

    Hi all,
    I'm searching the easiest way to implement a simple database in my app.
    I can build application with php/mysql in seconds with dreamweaver.
    But how can I do something similar with dreamweaver cs5.5 and phonegap for mobile apps?
    I would like to create a little app that pulls data from a mysql database on my webserver.
    But it seems that dreamweaver/phonegap/jquery mobile work only with HTML files.
    I searched the whole web for a day now but I haven't found anything easy to recreate.
    Is there a tutorial that explains the basic of database for mobile in dreamweaver?
    It seems a bit limitating to use dreamweaver to build only static/useless apps....
    What about forms and data validation?
    TIA for any help.
    tony

    @idesdema: Have a look at this tutorial: http://www.codeforest.net/jquery-mobile-advanced-tutorial-rss-reader-app
    It includes a demo as well as a download link to the source files.
    Also, if you want to take it a step further, you can create & manage a 'local database' without having to access anything remotely - basically handling everything at the client's end.
    There's a tutorial for that here: http://the-jquerymobile-tutorial.org/jquery-mobile-tutorial-CH22.php
    Good luck.

  • Safari hangs when posting forms on php database driven sites

    Hello,
    I build php MySQL database driven sites all day long, and over the last year i have noticed that when using safari and "Only Safari"... If i post a form which submits data to the database the page hangs for about a minute and then ends up on a blank page. (the data was successfully submitted to database though)
    This does not happen for any other browser, only safari. It happnes on at least 10 sites i have built. i thought it was an quirky issue with my computer, but now it is happening to a client.
    also this, doesnt happen to any ASP sites I build, only safari and php/mysql
    My safari is 2.0.4

    Hi,
    From your Safari menu bar click Safari / Preferences then select the Extensions tab. If you have any installed, then turn off, restart Safari. Try a site that uses web based forms.
    If it's not Extensions causing this, from the menu bar again, click Safari / Preferences - Autofill.
    Click the Edit button next to *Other forms*
    Click: Remove All then click Done.
    Restart Safari. Try again. If that didn't help, back to the menu bar, click Safari / Reset Safari. Select the top 7 buttons, click Reset. Restart Safari. Try again...
    Carolyn

  • Problem accessing database from form builder

    I have been trying to access my database using form builder (
    developer 6.0). Everytime, I try to connect, it displays message
    saying, no "tns listener", "incorrect driver designation". But I
    have already configured tns listener using 8i enterprise
    edition.
    I also tried to configure TNS listener using in Developer 6.0,
    but it says, "port is already in use".
    Can any one please help me with me this.
    null

    dinesh (guest) wrote:
    : I have been trying to access my database using form builder (
    : developer 6.0). Everytime, I try to connect, it displays
    message
    : saying, no "tns listener", "incorrect driver designation". But
    I
    : have already configured tns listener using 8i enterprise
    : edition.
    : I also tried to configure TNS listener using in Developer 6.0,
    : but it says, "port is already in use".
    : Can any one please help me with me this.
    Check your TNSNAMES.ORA file that located in ORACLE HOME
    FOR DEVELOPER and make sure it has right configuration
    information, otherwise configure manually.Also if DB located
    not on your machine check HOSTS file.(this file doesn't have any
    extention)
    null

  • Store and Display doc/pdf files in the database using Forms

    Hi all,
    How can i store and display doc/pdf files in the database using Forms 10g?.
    Arif

    How to get up and running with WebUtil 1.06 included with Oracle Developer Suite 10.1.2.0.2 on a win32 platform
    Solution
    Assuming a fresh "Complete" install of Oracle Developer Suite 10.1.2.0.2,
    here are steps to get a small test form running, using WebUtil 1.06.
    Note: [OraHome] is used as an alias for your real oDS ORACLE_HOME.
    Feel free to copy this note to a text editor, and do a global find/replace on
    [OraHome] with your actual value (no trailing slash). Then it is easy to
    copy/paste actual commands to be executed from the note copy.
    1) Download http://prdownloads.sourceforge.net/jacob-project/jacob_18.zip
      and extract to a temporary staging area. Do not attempt to use 1.7 or 1.9.
    2) Copy or move jacob.jar and jacob.dll
      [JacobStage] is the folder where you extracted Jacob, and will end in ...\jacob_18
         cd [JacobStage]
         copy jacob.jar [OraHome]\forms\java\.
         copy jacob.dll [OraHome]\forms\webutil\.
      The Jacob staging area is no longer needed, and may be deleted.
    3) Sign frmwebutil.jar and jacob.jar
      Open a DOS command prompt.
      Add [OraHome]\jdk\bin to the PATH:
         set PATH=[OraHome]\jdk\bin;%PATH%
      Sign the files, and check the output for success:
         [OraHome]\forms\webutil\sign_webutil [OraHome]\forms\java\frmwebutil.jar
         [OraHome]\forms\webutil\sign_webutil [OraHome]\forms\java\jacob.jar
    4) If you already have a schema in your RDBMS which contains the WebUtil stored code,
      you may skip this step. Otherwise,
      Create a schema to hold the WebUtil stored code, and privileges needed to
      connect and create a stored package. Schema name "WEBUTIL" is recommended
      for no reason other than consistency over the user base.
      Open [OraHome]\forms\create_webutil_db.sql in a text editor, and delete or comment
      out the EXIT statement, to be able to see whether the objects were created witout
      errors.
      Start SQL*Plus as SYSTEM, and issue:
         CREATE USER webutil IDENTIFIED BY [password]
         DEFAULT TABLESPACE users
         TEMPORARY TABLESPACE temp;
         GRANT CONNECT, CREATE PROCEDURE, CREATE PUBLIC SYNONYM TO webutil;
         CONNECT webutil/[password]@[connectstring]
         @[OraHome]\forms\create_webutil_db.sql
         -- Inspect SQL*Plus output for errors, and then
         CREATE PUBLIC SYNONYM webutil_db FOR webutil.webutil_db;
      Reconnect as SYSTEM, and issue:
         grant execute on webutil_db to public;
    5) Modify [OraHome]\forms\server\default.env, and append [OraHome]\jdk\jre\lib\rt.jar
      to the CLASSPATH entry.
    6) Start the OC4J instance
    7) Start Forms Builder and connect to a schema in the RDBMS used in step (4).
      Open webutil.pll, do a "Compile ALL" (shift-Control-K), and generate to PLX (Control-T).
      It is important to generate the PLX, to avoid the FRM-40039 discussed in
      Note 303682.1
      If the PLX is not generated, the Webutil.pll library would have to be attached with
      full path information to all forms wishing to use WebUtil. This is NOT recommended.
    8) Create a new FMB.
      Open webutil.olb, and Subclass (not Copy) the Webutil object to the form.
      There is no need to Subclass the WebutilConfig object.
      Attach the Webutil.pll Library, and remove the path.
      Add an ON-LOGON trigger with the code
             NULL;
      to avoid having to connect to an RDBMS (optional).
      Create a new button on a new canvas, with the code
             show_webutil_information (TRUE);
      in a WHEN-BUTTON-PRESSED trigger.
      Compile the FMB to FMX, after doing a Compile-All (Shift-Control-K).
    9) Under Edit->Preferences->Runtime in Forms Builder, click on "Reset to Default" if
      the "Application Server URL" is empty.
      Then append "?config=webutil" at the end, so you end up with a URL of the form
          http://server:port/forms/frmservlet?config=webutil
    10) Run your form.sarah

  • Retrieving image from database in form 6i

    hello all
    i'm working on form 6i...
    i have uploded images into the database of customers in my application using READ_IMAGE_FILE.. IT IS FINE...
    But when i am trying retrieves records into the form.... i'm getting all the data except image... Image field is showing empty..
    How can i get image from database to form
    can u plz help me.....
    thanks

    What data type you used for storing image in database. If it is long raw, then you can place an image item within your data block on form and associate it with the column name. This should populate the image by itself.
    Below para is from Forms Help.
    Image items can be populated in the following ways:
    +1. a fetch from a LONG RAW database column+
    An image item in a data block is populated automatically when the end user or the application executes a query in the block.  When a fetched image is modified or replaced, Form Builder marks that record as Changed, and the next commit operation saves the new image to the corresponding LONG RAW column in the database.
    Note:  You cannot write a SELECT statement to select a LONG RAW value INTO an image item.
    +2. executing the READ_IMAGE_FILE built-in to read an image from the file system+
    +(To dynamically write an image from an image item out to a file, use the built-in procedure WRITE_IMAGE_FILE.)+

  • Creating Database Standard Form Analytic Workspaces

    Just been looking through the new 9.2.0.4.1 documentation and came across the following. Thought it might be useful.
    The 9.2.0.4.1 release of Oracle OLAP introduces a new concept known as �Database Standard Form� Analytic Workspaces. This is a way of constructing analytic workspaces in a standard way such that they can be used by tools such as the Analytic Workspace Manager, the Java OLAP API, and BI Beans.
    When analytic workspaces are created from a relational star-schema using the Analytic Workspace Manager, it automatically creates the analytic workspace in standard form as part of the migration process. However, if you�re migrating an Express database to Oracle OLAP, the migrated database has to be processed to be in standard form before it is usable by any of the new Oracle OLAP GUI tools.
    If you create an analytic workspace using PL/SQL or the OLAP Worksheet, of course you can create dimensions, variables, relations and so on in any form, just as you can create table structures, joins, views and columns in any form in a relational database. However, the database standard form requirement stipulates that;
    Certain objects and properties need to be found in the analytic workspace, that are used by tools such as the Analytic Workspace Manager to perform tasks such as aggregation, data loads, and OLAP API enablement. OLAP DML views (beginning with AW$) need to created in the analytic workspace, to provide metadata and to identify relationships between objects in the analytic workspace. Objects need to be registered in the OLAP Catalog, and these registrations have to be kept in sync so that the OLAP tools are aware of changes to the base objects. Data that is migrated in to an analytic workspace, from a relational star-schema using the Analytic Workspace Manager, is already in database standard form and no further work is needed. However, some work is needed to get migrated Express databases into standard form, and Oracle have provided a utility with the 9.2.0.4.1 release of Oracle OLAP to help accomplish this.
    This utility, known as CREATE_DB_STDFORM, is an OLAP DML program that takes existing Oracle Express Objects metadata in a migrated Express database, and uses this to create the additional metadata required to make the analytic workspace �database standard form�.
    Once CREATE_DB_STDFORM has been used to create this additional metadata, it can also be used to import data into the workspace either from flat files, or from Oracle tables and views. If you don�t have Express Objects metadata in the Express database, CREATE_DB_STDFORM doesn�t work, and you�ll have to use Oracle Warehouse Builder 9.2 to initially create a relational star-schema that equates to the Express database, then use the OLAP Bridge within OWB to export the data into a database standard form analytic workspace.
    CREATE_DB_STDFORM, once run, allows the migrated Express database to be accessed via BI Beans straight afterwards, as it creates all the OLAP Catalog entries required for the OLAP API. If the Express database only contains data at the lowest level (i.e. it hasn�t been rolled up), aggregation wizards in the Analytic Workspace Manager can be used to summarise the data as required.
    CREATE_DB_STDFORM doesn�t do everything, however. First of all, you need to have created Oracle Express Objects metadata within the Express database, which is an additional step and not always appropriate for all systems. In addition, you need to create time dimensions in a particular way, which may require the data model to be adjusted to meet this requirement. Lastly, any Express language programs within the Express database may need to be adjusted to remove or change commands that have changed or become obsolete.
    The new document, �Oracle OLAP Application Developers Guide Release 9.2.0.4.1�, available on metalink under note 251352.1, details how database standard form works, has code examples, and walks through the migration of the XADEMO Express database to an analytic workspace using database standard form.

    In your message, you wrote "Certain objects and properties need to be found ... aware of changes to base objects". A large bit is represented by "...". Question is whether I have any commands or package functions that I can use to set up all the proper objects and relationships to make it have database standard form, short of regressing to a ROLAP star schema and usnig the AWM wizard. I have what appears to be working MOLAP activity, all created at the OLAP worksheet prompt, and loaded with DML program. Do I really have to put that all aside and start with a star schema? No way to put my AW in standard form for OLAP API without this?

  • Not able to connect to database from Form builer

    Hi ,
    I installed oracle 10 g in my machine and is accessable from SQLPLUS & TOAD.
    In the same drive i installed Form builder, i am getting the below error when i tried to connect DB from form builder.
    ORA- 12154 : TNS : could not resolve service name.
    Kindly do the needfull.

    not able to connect to database from Form builder

  • Use dropdownlist to select image (database driven)

    Im building a web application in flash builder which will be database driven. The database will contain id (of product), name (of product), photofile (text string i.e photo1.jpg). i have the data/services up and running, i just need to get it so when the user selects a name from the dropdownlist the corresponding photofile is selected into the picture frame.
    I know to turn the photofile text into a picture it will be something like this but not sure what code to insert into the <s:Image tag;
    private function getPhotoURL(item:Object):String{
                                    return "http://............./assets/"+item.photofile;
    I don't know how to bind everything together, any help would be appreciated.

    I have 2 programs:
    First Pgm:
    <?php require_once('Connections/abc.php'); ?>
    <?php
    mysql_select_db($database_abc, $abc);
    $query_Recordset1 = "SELECT * FROM replyarticle";
    $Recordset1 = mysql_query($query_Recordset1, $abb) or
    die(mysql_error());
    $row_Recordset1 = mysql_fetch_assoc($Recordset1);
    $totalRows_Recordset1 = mysql_num_rows($Recordset1);
    ?><!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0
    Transitional//EN" "
    http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
    <html xmlns="
    http://www.w3.org/1999/xhtml">
    <head>
    <meta http-equiv="Content-Type" content="text/html;
    charset=utf-8" />
    <title>Untitled Document</title>
    </head>
    <body>
    <a href="thumb.php?id=<?php echo
    $row_Recordset1['postid'];?>"><img src= "idea.GIF"
    width="20" height="19" border="0" /></a></p>
    </body>
    </html>
    <?php
    mysql_free_result($Recordset1);
    ?>
    Second pgm: thumb.php
    <?php require_once('Connections/abc.php'); ?>
    <?php
    $colname_Recordset1 = "-1";
    if (isset($_GET['id'])) {
    $colname_Recordset1 = (get_magic_quotes_gpc()) ? $_GET['id']
    : addslashes($_GET['id']);
    mysql_select_db($database_abc, $abc);
    $query_Recordset1 = sprintf("SELECT * FROM replyarticle WHERE
    postid = %s", $colname_Recordset1);
    $Recordset1 = mysql_query($query_Recordset1, $abb) or
    die(mysql_error());
    $row_Recordset1 = mysql_fetch_assoc($Recordset1);
    $totalRows_Recordset1 = mysql_num_rows($Recordset1);
    ?>
    <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0
    Transitional//EN" "
    http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
    <html xmlns="
    http://www.w3.org/1999/xhtml">
    <head>
    <meta http-equiv="Content-Type" content="text/html;
    charset=" />
    <title>Untitled Document</title>
    </head>
    <body>
    <?php
    $img= $row_Recordset1['book_no']; ?>
    <?php
    $img_name=$img;
    header("Content-type: image/jpeg");
    list($w,$h)=getimagesize($img_name);
    $src_img=imagecreatefromjpeg($img_name);
    imagejpeg($src_img);
    imagedestroy($src_img);
    mysql_free_result($Recordset1);
    ?>
    </body>
    </html>
    Micha, am I working on what you said?

  • LOVs and how to substitute a database driven value with a more readable val

    Hello,
    I am using LOVS in my view objects and I like it because it is saving me time whille developing my UI: I get drop down list made automatically for me in my UI forms.
    However I have a requirement to change the values we see in the drop down today.
    Basically the values that show in the drop down are database driven and they are not very readable for the end users, so I would like to somehow convert them with some values that I know would make more sense.
    Let say in my database I have a fiield name type that can be G for general or S for Specific, I would like the user to see General or Specific in the drop down list instead of G or S. How would you do that and can LOVs be configured to do that?
    Thanks

    there is something called display attribute when you create your lov in the ui hints tab..
    you have shuttle the description for the code to the selected pane. .so that you see the description instead of the code that is bounded for the lov attribute..
    http://blogs.oracle.com/workingwithadf/entry/adf-bc_creating_a_listofvalues_lov_and_a_cascaded_lov
    https://lh6.googleusercontent.com/-LZExUnvVJAo/TXNp71j7VII/AAAAAAAAE3s/1ukcrJOrw2Y/s1600/4.png

  • Location of the procedure/package in the database for forms

    Hello,
    Does anyone know where the procedure or package in the Database is that controls the parameters in a form?
    Thanks,
    Lindsay

    We are running Portal 3.0.9 and want to customizae the form that Portal gives you
    to enter the report parameters. For example, after you register a report with
    portal and want to run it, a parameter form comes up with the List Of Values for
    that report as wellas the other required parameters for running the report. The
    only trouble with the parameter form that they give you is that there is no way to
    organizae the ordering of the parameters nor is there any way to present a user
    with a better description (even an example of deisred input) of the values they
    should enter. We thought that by looking at the procedure that builds this
    parameter form, we might find clues to customizing how the parameter form is
    presented to the user.
    We are thinking that we will need to run all of our reports from a Form developed
    in Forms 6i, but since we have 125+ reports that would need to be run from a form,
    we want to explore all our options first.
    On a side note - does anyone know how you can run reports from forms (developed in
    Forms 6i) so that the report will show up in the reports server queue manager (ie
    the rw_server_queue table)? We have developed forms which run reports, but it
    seems from Oracles's documentation that Forms simply calls the local reports
    runtime (possibly rwrun60.exe??) and so the job never makes it to the queue.

  • How to connect to an Oracle XE database from Forms

    Hello,
    I have just installed Oracle XE on my computer. After that I downloaded Oracle Developer Suite. My intention is to build programs with Forms. This forms program shall manage data stored in my Oracle XE database.
    My question is: How to connect to the Oracle XE database from forms. In forms developer I have tried to connect the database with the command Ctrl+J. Then I registered username, password and oracle instance (orcl). It will not work!
    best regards
    Håkan Axheim

    Hello,
    the tnsnames.ora must have been updated with the XE information.
    the SID for Xpress Database is always XE
    XE =
      (DESCRIPTION =
        (ADDRESS_LIST =
          (ADDRESS = (PROTOCOL = TCP)(HOST = 127.0.0.1)(PORT = 1521))
        (CONNECT_DATA =
          (SERVICE_NAME = XE)
      )Francois

  • SEO with PHP/Database driven sites

    I know this is the wrong place for this question but I wanted the opinion of this forum.
    My company is in the planning stages of building a new site. It's currently PHP/Database driven but for the amount of products we have in our lineup, it's not really necessary. I'm heading up the SEO for the new site and have been looking into it the past few weeks.
    From what I've read here and there, PHP isn't too search engine friendly. There aren't any recent articles online that I can find on the subject so I would like to know your opinion. The new site can be created just as well with HTML/CSS and we plan to go crazy with SEO. From what you guys know about SEO, would you recommend staying with PHP or moving over to HTML?
    Thanks in advance...

    No, there is no difference. The only thing to ensure is that your 'meta' description is also individualised for each item/page and that any images contain a title attribute  individual to the image and not the generic "product image" title, (or similar) that many include.
    This is what I've learned. I'm excited to begin the whole process. We have many websites that need to be re-done so we're trying to work out good plan before doing so. Designing for mobile came up after the first site was completed and I didn't have too much time to get into that, as you saw a few weeks back. Right now the page is only really built for Blackberry and once I was going to get into learning the media queries for the next two, I was put onto SEO.
    We're a bbq company with a tonne of brands and things haven't been touched in years. Not a single person here knows anything about any of the websites. When I was hired a few months ago I was just thrown into the mix. As I'm sure you can imagine, things can get frustrating.
    EDIT--
    This is BOSS DJ. I made another account for work and for some reason they've switched them up. I signed in with Krumf and they gave me BOSS even though it said Welcome, Krumf up top. This window has been open ever since I signed in
    Strange...

  • Store and display word document in database through forms

    how can i store a word document in database through forms 6i or 10g, and display it through forms from database.
    i know how to store a binary file in database through DBMS_LOB package, but i want to do it throug forms. is it possible?
    regards

    Hi Alex
    "Create a datablock and specify the item datatype as blob"
    BUT: How to bring the document to the blob?
    Hi user 611..
    Warning: It is easy if you use an OLE-Object - but OLE is a special format. The result will not be the same as with dbms_LOB.
    We have a application with documents stored via OLE - terrible!
    OLE is no longer supported by forms 10. But webutil would help.
    I asked a similar question and got a good answer:
    OLE-Container and migration to the web
    Wolfram

  • Is there any difference in oracle database and forms database

    i want to know is there any difference in oracle database and forms 6i database
    ,if i import some file through oracle database then same data will exist in forms database or not
    thanks

    Oracle Forms is a Rapid Application Development (RAD) tool not a database. With Forms, you connect to an Oracle database to query and display data from the database as well as insert new or update existing data. Consequently, if exists in the database - you should be able to display it in a Form.
    Craig...

Maybe you are looking for