What is equal to Forms control blocks in Jdev

I need to create users in db and manage their passwords. In forms there are control blocks and there is available libraries to make the "create user" and "alter" statments usable.
In jdev 9ias beta I am not seeing how it would be implemented. Bc4j and forms blocks are kind of similar. What am I missing? All suggestions are appreciated.
Thanks

Hi,
Try to use <af:resetActionListener>
<af:commandButton>
<af:resetActionListener/>
</af:commandButton>

Similar Messages

  • Forms - Control block

    I am receiving the following message.
    FRM-30371: Warning! (MY_CONTROL.MY_CONTRIL$CCN_REL) Relation's master block is a control block.
    Created form file C:\ORANT\FORMS45\cdff003.fmx
    I have a control block( MY_CONTROL) with no DB tables associated with it, but I have a relation to the detail block as referenced above. The two blocks are related by customer number.
    How do I eliminate the warning message?

    Difficult to get to the perfection in this case. Forms informs you that you have a control-block based relation. If you keep this control-block relation, you keep the warning message...
    Francois

  • Change to display field on control block not reflected until form refreshed

    Hi guys, hope someone out there can help me with this query.
    I'm currently developing a form that will allow users to generate offer letters and contracts via a custom form which is used within Apps 11i. This form is a fairly standard multi-text field form with tickboxes which hold the applicant details, two buttons (one to Select All, the other to Clear All) and another button to produce the actual contracts selected.
    There is also a display field which is part of the control block attached to the form; both it and the Produce Contracts button are part of this control block. I've added a bit of code to change the text in the display field to inform the user that the contract or contracts they've requested are being generated, but although the call to the relevant code to do this appears before kicking off the concurrent request to generate the contracts, the update to the field fails to appear until after the concurrent request is complete and its output appears on another screen.
    Does anyone know why this is? I've racked my brains over it and can't seem to understand why. I've pasted the code in below if anyone has any ideas!
    Many thanks, Geoff
    --- procedure display_status_message ---
    --- Displays a status message in the request_extract_ctrl.query_information ---
    --- display item informing user what is going on ---
    --- Changes: ---
    --- G Butler 21/08/08 First version ---
    procedure display_status_message(p_tab_count in binary_integer default 0) as
    c_proc_name constant varchar2(50) := 'display_status_message';
    v_position pls_integer;
    v_msg_string varchar2(500);
    v_status_msg varchar2(2000);
    begin
         v_position := 1;
         --- go to the request_extract_ctrl block
         go_block('REQUEST_EXTRACT_CTRL');
         --- check how many records have been sent for generation
         --- get the correct message from the message dictionary
         if p_tab_count = 1 then
         fnd_message.set_name('XXJSDATA','SSL_CA_LETTER_CONTRACT_SUBMIT');
         elsif p_tab_count > 1 then
              fnd_message.set_name('XXJSDATA','SSL_CA_LETTER_CONTRACTS_SUBMIT');
         end if;
         v_position := 2;
         --- copy the message into the display item field
         v_status_msg := fnd_message.get;
         :request_extract_ctrl.query_information := v_status_msg;
         -- synchronize the change in the display item field with the form on screen
         synchronize;
         v_position := 99;
    exception
         when others then
    v_msg_string :='Unexpected error occurred in display_status_message procedure, position: '||v_position;
    v_msg_string := v_msg_string||'. SQL error: '||sqlerrm;
    fnd_message.set_string(v_msg_string);
         fnd_message.error;
         raise form_trigger_failure;
    end display_status_message;

    I had a similar problem, but it was with the message line. I found that with Web Forms, I had to issue the Synchronize; a second time, but in Client/Server Forms 6i, the first synchronize worked. Here is the code I used:
    <pre><font face = "Lucida Console, Courier New, Courier, Fixed" size = "1" color = "navy"> SYNCHRONIZE;
    if Get_Application_Property(User_Interface) = 'WEB' then
    synchronize;--first does not work on web
    end if;</font></pre>
    Let us know if this works.

  • Is it possible to update (=change) control block items in a query only form ?

    From Form.A we call Form.B with the parameter query_mode = query_only.
    This works fine.
    But in Form.B we have a non table block (=control block) with an poplist item.
    Allthough in query_only mode we like to change (it's not a real update cause it's control block) the poplist.
    But because of query_only mode this item is not updateable.
    Is there a workaround to make the poplist updateable in query_only mode ?

    Hi,
    It is not possible to change the BOX position using the Layout painter like changing windows position.
    You have change in the page Windows text elements only by changing their co ordinates.
    Regards,
    Anji

  • Sorting the data of control block in oracle form 10g

    I have two block....both are the control block..
    in first block i select the date and in second block the data of that date is populated.but the data is populated
    using cursor in when-button-pressed trigger of that first block button...
    in cursor the data is selected and placed in field of detail block using into clause.... each field..
    .and one item of detail block is srno which is create in post-query of detail block using
    :sysyem.trigger_record.
    Now i want after populated the detail block the data is sorted desc one of the field of the detail block...
    Can this possible using set_block_property() of block although the block is control block if yes where i should do
    this??????
    Please explian...????

    but with the cursor of repopulate ...how the block is in desc by one field..because if i use again the same cursor to poulate than whats this benefits???
    if i write a cursor in button when-button-trigger in first block like this code....
    go_block('');
    cursor emp_cur is
    select empno,date,sal
    from emp;
    begin
    for i in cur loop
    select i.empno,i.date,i.sal
    into :empno,:date,:sal
    from emp
    end loop
    end;
    this loop populate the block which is controll block..
    syntax error should be ignored ...i wana to explain what i want to do...
    this is not the actual query i have another query but the concept is that...
    how i can do this...

  • Form with a control block

    I have a form with no database block. there is only one control block with a button
    when a user presses the button I insert record into a table and then commit;
    I am getting no changes to save message. how can I avoid that.
    (setting record-status to query?) any other way?

    Change your design of logic. In the case insert and commit in procedure on the server side.
    Try to play with :system.message_level.
    Well, consider using the FORMS_DDL command, of course.

  • What is the best form to control a open of database?

    Hi,
    what is the best form to open a database?
    I´m understood that Environment is unique for all aplication, and I think that it is good to put on Singleton Pattern, but I don´t know the best form to do it with the databases.
    I think two forms, the first is create a singleton open database, with this form I don´t will close the database and all application will use it. So, the second form is open a data base at the moment that I will use it, for example, into a DAO when I will do inserts, deletes, etc, and at the final of the operation I close the database.
    So, I don´t know what form is the best, and if those forms are corrects, if exist another form to do it I would like to know.

    Hugo,
    An application can choose to use one or more Environment and Database instances in a single process. In other words, it is the application's choice whether it wants to instantiate a single Environment or Database and share it among multiple threads, or whether it wants to instantiate multiple instances.
    Choosing one pattern or another is a function of your application's design, and performance considerations. As you say, you could instantiate a single Database instance and pass it around, or you could open and close the Database every time you get a data record. A third choice is to open a Database instance per thread, and reuse that for the life of the application.
    The second choice of opening and closing the Database per data record access is pretty heavyweight from a performance point of view. There is a fair bit of overhead to the initial open of a database, and to the final close. Follow-on opens are not as heavyweight, but do have some cost. For example:
    // expensive
    thread 1 calls Environment.openDatabase() or new EntityStore()
    // less expensive, database is already open, thread 2 is really just getting a handle
    // onto the database, but still more expensive than a read or write of a data record
    thread 2 calls Environment.openDatabase() or new EntityStore()
    The first choice of using a single Database instance in your process will perform much better. If your application has a high level of concurrency, there can be some contention on the Database instance, described in this FAQ - http://www.oracle.com/technology/products/berkeley-db/faq/je_faq.html#32 and you may prefer to try the third option of using a Database instance per thread.
    Regards,
    Linda

  • Execute query in control block?

    I have a non database block which is the control block. In this block i have a button for query/ enter query. My other blocks are all based on a database table. So when i run the form and press the exec query button, on the control block, i want to be able to select something from an lov, or a drop down or even a text item which are located on any of the other blocks. and then hit the exec query button again to query the specific information.
    But its not working. i can't seem to get the exec query button to work in the control block and i tried placing it on one of the blocks but i can only select from that block to query on and not any of the other blocks.
    how can i get the exec query button to work on any of the other blocks depending on what i want to query up?

    You will have to build a default where clause in the pre query trigger of the base table block(s)
    example shown below.
    declare
    wh_clause varchar2(1500);
    begin
    if :qry_blk.item1 is not null then
         wh_clause := 'block.item1 like '''||:qry_blk.item1||'%'||'''';
    end if;
    set_block_property('block', DEFAULT_WHERE, wh_clause);
    end;
    then in your button, you will say
    go_block('block');
    execute_query;          
    I have a non database block which is the control block. In this block i have a button for query/ enter query. My other blocks are all based on a database table. So when i run the form and press the exec query button, on the control block, i want to be able to select something from an lov, or a drop down or even a text item which are located on any of the other blocks. and then hit the exec query button again to query the specific information.
    But its not working. i can't seem to get the exec query button to work in the control block and i tried placing it on one of the blocks but i can only select from that block to query on and not any of the other blocks.
    how can i get the exec query button to work on any of the other blocks depending on what i want to query up?

  • Content canvas is not displaying . It contain only one control block .

    Hi ,
    In my form , i have only one control block . in this block i have one display item. I have specified canvas for this item as "CANVAS4".
    I have created "canvas4" . and i have adjusted display item position in canvas. In this case while running form , it is not displaying my content canvas.
    Canvas is disappearing .
    Can any one please help me .
    Thanks in advance ,
    Sanjeev.

    Please take a look at: http://blogs.oracle.com/shay/entry/10_commandments_for_the_otn_fo
    In order for anyone to offer valuable feedback, we ALWAYS need to know what product versions you are using, which Operating Systems are involved, client side information (browser, jre, os, etc), and if an error is involved, what are the details of the error.
    Craig...

  • Buttons in a control block

    Greetings,
    I have a simple question. Do buttons in a control block automatically act on other blocks within a form or do they need to be told what block to act on.
    I have a template form that consists of a control block with a couple buttons such as save, clear and exit. My scheme is to bring in the template and introduce other blocks that write to and query the database. The buttons are not necessarily doing what they are supposed to.
    Bradley

    Hi Bradley,
    As per my understanding you need a toolbar of buttons performing generic actions (e.g COMMIT, CLEAR_RECORD)on all the blocks in a form.
    Ensure that the Mouse Navigate property of all the buttons is set to No. Otherwise, the associated code ( I am assuming all code is in WHEN-BUTTON-PRESSED)will be performed on the block the button belongs to.
    Monica

  • Auto-Reduction capability in Form's block

    Hi! How could I implement auto-reduction capability like LOV component, in the form’s block directly? What do I need to base my block on in this case?
    I’ll be very grateful.
    Thanks

    If i understood your req. clearly, all you need to do is to base your database block query on value entered on a control block item.
    i.e.
    1) Create a control block and a field to enter value
    This value entered will be used to filter records
    in the database block
    i.e. Not entering any value will query out all rows
    from the base table block.
    2) In the WHERE CLUASE of the base table block, modify
    the where clause i.e. Use LIKE operator
    WHERE databaseTable.ColumnName Like
    :ControlBlock.FieldName || '%'
    Shailender Mehta

  • Populating Control Block

    I've got a Form consisting of two blocks: Master and Control.
    Control block suppose to display various calculations based on
    the Master block items and other tables.
    I tried the POST_QUERY trigger to perform that task and it
    didn't work.
    Any ideas what kind of trigger should I use in that case???

    Did you use the post query on the master block?

  • Tutorial Announcement :: How To Use Auto Complete Text Form Control ::

    Hello Everyone...
    Here in this tutorial we gonna to learn a new and amazing feature of (ADDT), we will learn how to use Adobe developer toolbox (ADDT) form controls.
    Form controls help you to add a fantastic features to your forms, that helps you to expand the form abilities and functionality...
    The Auto complete Text Field is an enhanced text field that dynamically completes what you type with matched values from a table. You can also select the values from a list.
    You can use the Auto complete Text Field in user registration forms, such as allowing users to select their country or city easier, Also in other forms that needs the user to pick one of many choices without any difficulties.
    Requirements
    To complete this tutorial you will need to install the following software and files:
    Adobe Dreamweaver Cs3
    Adobe Developer Toolbox (ADDT)
    Don't forget: to try out the Demo type the first three letters :A - B - C
    :: Go To Tutorials ::
    :: Go To Tutorials ::
    Best Regards
    Waleed Barakat
    Developer-Online Creator and programmer
    http://www.developer-online.com

    Heya Waleed,
    I use spry to create an autocomplete form that works great across browsers that have javascript enabled. You can store info in a database and parse the info to xml for a dynamic approach. Take a look at the filter examples in spry.
    http://labs.adobe.com/technologies/spry/samples/data_region/NonDestructiveFilterSample.htm l
    http://labs.adobe.com/technologies/spry/samples/data_region/ZuggestSample.html

  • Inserting/updating data in control block based on view

    Hi!
    I`ve created a block based on a view to display data.
    I want this block to be insertable and updateable, that is I will use a on-insert/update trigger to call an insert/update procedure located in the database.
    When trying to change/insert a value in the block, the error message "Error: Can not insert into or update data in a view" pops up. I`ve tried to get rid of this error, without success.
    How can I make a data block based on a view insertable and updateable?
    My guess is that this have something to do with locking the records(there is no rowid in the view)... but I'm not sure.
    Pls advise!!

    Morten
    As well as on-update, on-insert, on-delete triggers you also need an on-lock,
    (even though it might just contain null;) otherwise the form will try to lock the view and fail.
    Actually your terminology is wrong, the block being based on a table or view is not a control block. A control block is not based on anything and has no default functionality for communicating with the database. If it was a control block, the on- triggers would not fire.

  • What's new in Process Control 2.5?

    Hi,
    I'm looking for information about what is new in Process Control 2.5(compare to the 2.0 version)
    Thank you in advance for your help,
    Regards,
    Julien

    The key innovation of PC 2.5 is the user experience. The highlights of this innovation are:
    A new user experience based on work centers which mimics the way compliance and business users actually work
    A combination of top session management and sidebar navigation leads to cleaner, more intuitive design
    Broad availability of relevant contextual information as appropriate, in the form of documents and links
    Pervasive search functionality, with list filtering and sorting capability to deliver information as the user needs it
    Automated testing
    Delivered scripts cover Financials, Procure to Pay, Sales and Distribution, and more...
    Rule parameters passed to scripts extract data from the source ERP system and return evaluation results with related issues or exceptions to Process Control
    Query-based scripts use SAP Query to provide additional flexibility
    Use of standard SAP and customer-created reports can be returned as part of evaluation and marked as requiring review to determine whether the evaluation passed or failed
    ANd much much more

Maybe you are looking for

  • HT201274 I have forgotten my passcode, how can I reset it?

    Hi, Can anyonw help!  My son cant remeber his passcode for his Ipad and I cant restore the device as the find my ipad setting is switched on, so Itunes wont allow me to retore.  Anyone know how I can resolve this? Thanks Keeley

  • Photoshop won't open

    Been searching the threads but haven't come across the right one on how to get my PS 7.01 to open in Leopard. Just tried re-installing but no luck. Any thoughts? Thanks, J

  • Enterprise Service Browser

    please send me some material on Enterprise Service browser?

  • Installing CS5.5 when Adobe Support Advisor is discontinued

    Hi guys, I thought I would reach out as I just purchased a new rMBP and am moving from my MBA. I grabbed my installer to get CS5.5 on the new machine; however, I am met with an error: When I click the link to 'get Adobe Support Advisor', it seems the

  • Flash Media Encoder 3.1 Problem..

    Okay so.. I just recently decided to start broadcasting on my new laptop which is windows 7 and a 64 bit and I reinstalled my Pinnacle software on this labtop and when I install the drivers and other needed programs such as this. So moving on to the