Dynamically creating a database block in forms 10g

hi guys ,
i got a new requirement ,that is dynamically create a database blocks and items...
how it is possible..?
thanks...

Hello,
It is not possible. You cannot create blocks or items at runtime. What you can do is to have them created but hidden, then you set them visible as soon as you need them.
Francois

Similar Messages

  • Cannot connect to database using Oracle Forms 10g

    hi,
    I had installed Oracle 10g database and Oracle Forms 10g on Windows Vista Home Basic. However, I was unable to connect to
    the database in Oracle Form using scott/scott for database "orcl", with the following error message:
    ORA-00604: error occured at recursive SQL level 1
    ORA-01009: missing mandatory parameter
    However, I could access to the database using this set of username and password. Am I missing something? Thanks.

    Hi,
         After a successful installation of forms 10g in vista, I'm about to run OPatch Universal Installer for the patch 7047034
    in order to fix the form bugs. However, I cannot run the command "opatch apply C:\oracle_form\Patch26_Rel_10105\7047034"
    with the error "The Oracle Home c:\devsuitehome_1 is not registered with the Central Inventory.". Then I try to create a
    oraInst.loc file, but not much change still. The situation is that oracle 10g is installed before oracle developer suite
    10g, and when I try to set oracle_home to oracle 10g's path ("C:\oracle\product\10.2.0\db_1") and run "opatch lsinventory",
    it returns the correct result; when oracle developer suite 10g's path ("c:\devsuitehome_1") is set as the oracle_home,
    the same command would return a different result as "LsInventory: OPatch Exception while accessing O2O".
         I've verified through Oracle Universal Installer that the Central Inventory has included both as oracle_home (oracle 10g
    and oracle developer suite 10g). I'm very confused now, though it seems that the problem could be solved by registering the
    Central Inventory with oraacle developer suite 10g's path. Thanks.

  • CREATING KEY & DESCRIPTIVE FLEXFIELDS IN FORMS 10G

    HELLO EVERYONE,
    kINDLY HELP ME CREATING KEY & DESCRIPTIVE FLEXFIELDS IN FORMS 10G.STEP BY STEP PROCEDURE IN FORMS 10 G WILL HELP ME REALLY.
    REGARDS,
    Srini.

    A FLEXFIELD IS A FIELD MADE UP OF SUB–FIELDS, OR SEGMENTS. THERE ARE TWO TYPES OF FLEXFIELDS: KEY FLEXFIELDS AND DESCRIPTIVE FLEXFIELDS.
    KEY FLEXFIELDS:
              I HAVE A COLUMN CALLED ADDRESS(SINGLE FIELD),WHEN I KEEP MY CURSOR ON THIS FIELD AND PRESS ENTER,IT POP'S UP A WINDOW WITH ALL NECESSARY FIELDS CORRESPONDING TO ADDRESS LIKE,DOOR-NO.,STREET NAME,CITY ETC.... WITH AN OK & CANCEL BUTTON.
    ONCE I GIVE THE VALUES ACCORDINGLY IN THE ADDRESS FIELD AND CLICK OK BUTTON IT STORES ALL THE VALUES IN WINDOW TO THE ADDRESS FIELD.
    DESCRIPTIVE FLEXFIELDS:
    DESCRIPTIVE FLEXFIELDS LETS YOU ADD ADDITIONAL FIELDS TO THE FORM IN ORDER TO TRACK ADDITIONAL INFORMATION NEEDED BY THE BUSINESS, THAT WOULD NOT BE CAPTURED BY THE STANDARD FORM. DESCRIPTIVE FLEXFIELDS CAN BE CONTEXT SENSITIVE, WHERE THE INFORMATION YOUR APPLICATION STORES DEPENDS ON OTHER VALUES YOUR USERS ENTER IN OTHER PARTS OF THE FORM.
    A DESCRIPTIVE FLEXFIELD APPEARS ON A FORM AS A SINGLE–CHARACTER, UNNAMED FIELD ENCLOSED IN SQUARE BRACKETS [ ]. EACH FIELD OR SEGMENT IN A DESCRIPTIVE FLEXFIELD HAS A PROMPT AND CAN HAVE A SET OF VALID VALUES
    THIS CONCEPT IS USED FREQUENTLY IN ORACLE APPLICATIONS, WHICH I WANT TO IMPLEMENT IN FORMS 10G.I BELIEVE WITH YOUR EXPERTISE I WILL BE ABLE TO AHIEVE IT.
    REGARDS ,
    SRINI.

  • How to FTP a file from client machine to database server using forms 10g

    Hi
    I want to ftp a file from a client machine to the database server machine using forms 10G (or PL/SQL).
    could you please tell me how can I do this
    Regards

    hi
    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: Oracle_Home 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
    Oracle_Home 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
    C:\webutile is the folder where you extracted Jacob, and will end in ...\jacob_18
    cd C:\webutile
    copy jacob.jar Oracle_Home\forms\java\.
    copy jacob.dll Oracle_Home\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 Oracle_Home\jdk\bin to the PATH:
    set PATH=Oracle_Home\jdk\bin;%PATH%
    Sign the files, and check the output for success:
    Oracle_Home\forms\webutil\sign_webutil Oracle_Home\forms\java\frmwebutil.jar
    Oracle_Home\forms\webutil\sign_webutil Oracle_Home\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 Oracle_Home\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/webutil@rcci
    @Oracle_Home\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 Oracle_Home\forms\server\default.env, and append Oracle_Home\jdk\jre\lib\rt.jar
    to the CLASSPATH entry.
    6) Modify Oracle_Home\forms\server\formsweb.cfg insde [default] add :
    archive_jini=frmall_jinit.jar,frmwebutil.jar,jacob.jar
    archive=frmall.jar
    also add :
    [webutil]
    WebUtilLogging=off
    WebUtilLoggingDetail=normal
    WebUtilErrorMode=Alert
    WebUtilDispatchMonitorInterval=5
    WebUtilTrustInternal=true
    WebUtilMaxTransferSize=16384
    baseHTMLjinitiator=webutiljini.htm
    baseHTMLjpi=webutiljpi.htm
    baseHTML=webutilbase.htm
    archive_jini=frmall_jinit.jar
    WebUtilArchive=frmwebutil.jar,jacob.jar,f90all.jar
    archive=frmwebutil.jar,f90all.jar
    lookAndFeel=oracle
    7) Modify Oracle_Home\forms\server\webutil.cfg and add :
    transfer.database.enabled=TRUE
    transfer.appsrv.enabled=TRUE
    8) Start the OC4J instance
    9) 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.
    10) 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).
    11) 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
    12) Run your form.

  • Create pop-up windows in forms 10g

    I have an application in which several formal controls are made before insert/update a record. Some of them are blocking, some others arent.
    Actually, at every constraint violation, a message is displayed with an alert. So, the user may got one or more alerts before he succeed in inserting/updating a record. And it may be annoying to click on 'OK' a lot of times!
    So, I wish to collect all error message and display them in a window, which is to be displayed in a pop-up way (something like the alerts that appear at the bottom-right corner of our screen when we have new mail).
    The issue is that the pop-up window must not disturb the user, i.e it should be displayed and iconized after few seconds, leaving the focus on the main window.
    I tried several solutions, but each of them have some issues.
    External HTML page: maybe its the easiest solution. But bluring it, the focus doesnt return to the form application.
    New window: I can run and iconize it. But, as in the previous case, the main window lost the focus.
    New canvas: I put a text item LOG_ERRORS in a new canvas, in the same main window. But when I run it, the main canvas disappear.
    does anyone know how to create popup windows in forms 10g (if it is possible)?
    thank you

    You can use a new window and set "Window Style" to "Dialog" then you can show the window without the main-window loosing the focus

  • Creating Descriptive & Key FLEXFIELDS in Forms 10g

    Hello everyone,
    I want to create Descriptive & Key Flexfields in Oracle Forms 10g,Kindly help........

    A FLEXFIELD IS A FIELD MADE UP OF SUB–FIELDS, OR SEGMENTS. THERE ARE TWO TYPES OF FLEXFIELDS: KEY FLEXFIELDS AND DESCRIPTIVE FLEXFIELDS.
    KEY FLEXFIELDS:
              I HAVE A COLUMN CALLED ADDRESS(SINGLE FIELD),WHEN I KEEP MY CURSOR ON THIS FIELD AND PRESS ENTER,IT POP'S UP A WINDOW WITH ALL NECESSARY FIELDS CORRESPONDING TO ADDRESS LIKE,DOOR-NO.,STREET NAME,CITY ETC.... WITH AN OK & CANCEL BUTTON.
    ONCE I GIVE THE VALUES ACCORDINGLY IN THE ADDRESS FIELD AND CLICK OK BUTTON IT STORES ALL THE VALUES IN WINDOW TO THE ADDRESS FIELD.
    DESCRIPTIVE FLEXFIELDS:
    DESCRIPTIVE FLEXFIELDS LETS YOU ADD ADDITIONAL FIELDS TO THE FORM IN ORDER TO TRACK ADDITIONAL INFORMATION NEEDED BY THE BUSINESS, THAT WOULD NOT BE CAPTURED BY THE STANDARD FORM. DESCRIPTIVE FLEXFIELDS CAN BE CONTEXT SENSITIVE, WHERE THE INFORMATION YOUR APPLICATION STORES DEPENDS ON OTHER VALUES YOUR USERS ENTER IN OTHER PARTS OF THE FORM.
    A DESCRIPTIVE FLEXFIELD APPEARS ON A FORM AS A SINGLE–CHARACTER, UNNAMED FIELD ENCLOSED IN SQUARE BRACKETS [ ]. EACH FIELD OR SEGMENT IN A DESCRIPTIVE FLEXFIELD HAS A PROMPT AND CAN HAVE A SET OF VALID VALUES
    THIS CONCEPT IS USED FREQUENTLY IN ORACLE APPLICATIONS, WHICH I WANT TO IMPLEMENT IN FORMS 10G.I BELIEVE WITH YOUR EXPERTISE I WILL BE ABLE TO AHIEVE IT.
    REGARDS ,
    SRINI.

  • Question about using database links in Forms 10g

    I have a form that uses a database link for the "Query Data Source Name," i.e. it is set to some_view@some_db_link
    For some reason when I run a query using the DB link the query takes approximately 30 seconds. When I remove the link and go local the query takes about one second. Has anybody observed and addressed this issue before (without going local of course)?
    Thanks,
    Thomas

    Let me first say that it is never a good idea to use a db link in the data source. It is better to create a synonym in the database and use this as the data source. If the db link changes, you only have to do this in the database, without recompiling forms.
    create synonym some_view for some_view@some_db_link
    This may already solve your problem. If not, than see if the query is also slow in sqlplus. You may have a problem in your connection between the two databases.

  • How to create a database connection using Jdeveloper 10g

    when i try to create a database connection,its asking for connection name.is that connection name is user-defined or predefined name??In the next step its asking for username and password.where do i get that username and password.if anyone know this please explain me in detail coz this is for the first time am using JDeveloper.
    Thanks in advance.

    Hi user583040,
    May be you could have a look on this: http://my.opera.com/Tiftif/blog/faq-jdeveloper-english §5.2. If you have suggestions to improve this document, i will greatly appreciate to add them to it.
    Regards,
    Tif

  • How to creat login screen in oracle forms 10g.

    Hello I want to make a login form wher a database user will connect to the application and other forms.
    Must note that I have database users for login like hr, scott etc.I dont want to make users in a just table.
    I want to show a beatifull screen which will be our main form and there will be a login button then a user will put its credentials and then dashboard will be open.
    please guid me about this.bcz i made a form and call
    f
    Logon_Screen;
    but its going work properly and show message raise form trigger failure.

    Could share your error message?
    >>Must note that I have database users for login like hr, scott etc.I dont want to make users in a just table.
    what it means?

  • How database block in forms is connecting to the oracle database

    how is oracle forms connecting to oracle database?

    Thru tnsnames.ora file present in c:\orant\net80\admin and c:\orant\network\admin.
    Hope this helps u.
    Ritika.

  • Can show_window call to create a detached window in FORMS 10g?

    Now, I am migrating forms6i to form10g. In Form6i, show_window can create a new window not in the area of the current window. However, in forms10g, I can only create a window in the area of current window, and can not move it out current window.

    Hello,
    I am sure that Jan is certainely THE expert. It would be so great if he would find time to blog a litttle bit on this topic, that generates, in fact, a lot of questions ;D
    Francois

  • Is Forms 10g certified with Oracle Database 11g

    Hi,
    Where can i find the Oracle's database 11g versions Forms 10g is certified with ??
    Is there a certification matrix about this ?? :)
    Regards
    Carlos

    Here:
    http://www.oracle.com/technetwork/middleware/ias/downloads/as-certification-r2-101202-095871.html
    Regards

  • Is it possible to use Oracle Forms 10g with Oracle 10g Lite Database?

    Hi All,
    We are in process of migrating our forms from 6i to 10g environment.
    We have two kinds of applications, one set run on general Oracle 11g database and the other set of forms run at the client machine using Oracle lite database.
    We dont have any problem with Forms 6i to connect to Lite database as it allows to connect through ODBC:DSN names. When we try to connect to a lite database (10gR3) from Forms 10g through ODBC/DSN, it's not allowing and throwing the below error.
    ORA-03121 : no interface driver connected - function not performed
    Can someone tell me if there is something wrong in our approach? Also advise how to use Oracle Lite database with Forms 10G.
    Sincerely,
    Praveen Manthena

    Hi,
    I have experience with 6i with lite database 10g. There are two version of lite database one is multi language support and other one in english. There lang problem in connectivity with multi language 10g lite database. I done connectivity with single language connectivity of 6i with 10g lite database. You should try this one with forms 10g.
    Regards,
    Naveed Ali

  • Retrive Multiple Records Into A database Block

    hi, all
    i would like to know if there is any document or references wich illustrait the way of retriving Multi records from a procedure built on database side into a database block using form 6i ??
    My Problem is : i create a procedure in the database which retrive a multiple records and the variable from procedure (out) are the same value from Form side (in). but it always fetch the whole records at the same record position in the block as the cursor raised on . i found a way explian how to mintain a set or record using a record type and create a table of that record type , but still don't' know how deal calling the procedure from the form side .
    Any advice of this issue will be greatfull and if sample of code provided will be better
    Thanks in Advance
    Regards
    Omar

    You can try something like this:
    PROCEDURE POPULATE_BLOCK IS
    cursor c1 is
    SELECT <your column names>
    FROM <your table name>
    where <your where condition>
    BEGIN
    open c1;
    go_block('<your block name');
    first_record;
    loop
    fetch c1 into
    :<your block name>.<your column name 1>,
    :<your block name>.<your column name 2>,
    etc,etc
    exit when c1%NOTFOUND;
    next_record;
    end loop;
    close c1;
    first_record;
    END;
    so your code might actually look something like this:
    PROCEDURE POPULATE_BLOCK IS
    cursor c1 is
    SELECT distinct
         a.pog_dept
         ,a.pog_number
         ,a.pog_level
         ,a.pog_id
    ,a.start_date
         ,a.transmit_date
    ,a.deactivate_date
         ,b.pog_description
    FROM pog_stores_msi a, pog_master_msi b
    where a.pog_dept = :b_main.bi_dept
    and a.pog_number = :b_main.bi_pog_number
    and a.pog_level = :b_main.bi_pog_level
    AND A.POG_ID = :B_MAIN.I_POG_ID
    and a.pog_dept = b.pog_dept
    and a.pog_number = b.pog_number
    and a.pog_id = b.pog_id;
    BEGIN
    open c1;
    go_block('b_main');
    first_record;
    loop
    fetch c1 into
    :b_main.bi_dept
    ,:b_main.bi_pog_number
    ,:b_main.bi_pog_level
    ,:b_main.i_pog_id
    ,:b_main.i_start_date
    ,:b_main.i_transmit_date
    ,:b_main.i_deactivate_date
    ,:b_main.i_pog_desc;
    exit when c1%NOTFOUND;
    next_record;
    end loop;
    close c1;
    END;
    Hope this helps,
    NumbNutz

  • How to Migrate Oracle Forms 4.5 to Forms 10g

    Hi All,
    I want to know abt migration steps i.e. i 'm doing migration of Oracle Forms 4.5 to Oracle Forms 10g. Then existing forms is on Windows xx and the database is Oracle 8.
    What is the better way to approach this issue? Whether, directly open the existing Forms into Oracle Forms 10g or first open the form into Forms 6i and then after 10g?
    Tell me the System Specification.... Database version.... Which Application Server is suitable.... And whether the Oracle 9i database possible for Forms 10g or not.
    Pls Give me solution.
    Thanks.

    For Forms Upgrade information I would firstly checkout the Forms Upgrade Center. If you don't find your answer there I would post your question to the Forms
    <p />
    Donal

Maybe you are looking for

  • HT201269 why doesn't my iTunes account show all my purchases?  I can only see them on myiPad.

    I purchased music on my iPad but it is not showing up in my iTunes account on my PC and has not synched to my iPhone.  Any idea on how to make it work again?

  • Inserting existing page from one document to another

    Hi, I have 2 documents. The first one is 4 pages and all pages are 8.5" x 11". The second document is 1 page and is 8.5" x 14". Is it possible to insert the 8.5" x 14" page from the second document into the first document, but make it the 4th page? (

  • WCF and OSB business service

    OSB 10g Hi Has anyone managed to successfully connect to a Windows Communication Foundation (WCF) Web service endpoint. I created a business service to connect to the web service but the connection times out after a pre-defined period of time. I can

  • Safari Crashes After Sending E-mail

    Hello all, It happens almost every time, including after today's Safari update and the latest OSX update. Below is today's crash report. Thanks very much. James Process: Safari [427] Path: /Applications/Safari.app/Contents/MacOS/Safari Identifier: co

  • Clearing Status in Tcode-FPL9

    Hi, Requirement: When I view a contract account using FPL9 I am want to see the clearing status in left most column as it appears in FICO - open, cleared ect I have made necessary configuration in Tcode FQKPM. Please suggest.