Saving Records Automatically in Form Builder 6i

Hi Folks,
     I have a master detail form consisting of one master and two details data blocks. The second data block which is also the detail block consists of a field which is populated via a sequence number. Whenever the user clicks on the insert record button a new sequence number is displayed and then the user navigates to the third data block and inserts records etc. Before navigating to the third data block the user has to manually save the record using the save record button and if he does not save the record then the corresponding third detail data block records are not saved as the primary key record which is the sequence number is not manually saved. I want that the users should not manually save the records and every time they fill the fields the records should be saved automatically whenever the mouse navigates to the next data block. I have tried using the commit form built in at the data block level but it does not work.
Any ideas??
TIA
Hassan

The simplest solution would be to do the following:
Create WHEN NEW-BLOCK-INSTANCE trigger on the 3rd_Block with the following code:
If :system.form_status = 'CHANGED' then
Post;
END IF;
-- That prevents the user from clicking save each time.

Similar Messages

  • How to delete a record in custom form

    Hi,
    I got a requirement,
    If a form has 'n' records with start & end dates, such that start date of new record should be last record end date + 1.
    Now if the user tries to delete a record between first and last record, it should allow him to delete but when he tries to save it should not allow.
    Only way he can delete is either he can create a new record with the same dates or he can adjust remaining record dates such that startdate of new record should be last record end date + 1.
    I'm running out of ideas, any suggestion is appreciated.

    Hi
    it should allow him to delete but when he tries to save it should not allow.Play with the KEY-COMMIT Trigger Which is the Best i can see to STOP or PROCESS any Validations during the saving process according to the conditions u specify using...
    RAISE FORM_TRIGGER_FAILURE;Prevents the user from Saving in KEY-COMMIT Trigger it's the yellow-black Floppy Disk u use for saving records in the Form's Tool Bar..
    Hope this helps...
    Regards,
    Amatu Allah

  • Error while saving form in Form Builder

    Hi,
    When i create and save form in XML Form builder i get an error "The Edit form does not contain  a save button or link", I had even configured the save button but still i get this error. Does any one has idea about this issue.
    Regards,
    Ravi.

    Hi,
    i got this resolved. What i observed was, if you try to place some input field in "renderlist or Show" form and you didnt palce save button then this error will come on saving the project.
    try removing the input fields in those forms save it(still you face this issue) close the project and again save the project. this will get solved.
    Regards,
    Ravi.

  • Form Builder crashes while saving .fmb file when connected to db

    Hi,
    I am getting error The instruction at "0x679c352c" referenced memory at "0x0000001c". The memory could not be "read".
    Forms version is 6.0.8.11.3 and database version is 10.2.0.3.0
    I am doing the following steps:
    1) Open .fmb file in forms builder
    2) Connecting to database
    3) Making some changes in form
    4) Compiling (Ctrl+Shift+K) and generating form (Ctrl+t)
    5) Saving form <--- Here I am getting the error and form crashes
    If I do not connect to database then builder is allowing me to save the file
    1) Open .fmb file in forms builder
    2) Making some changes in form
    3) Saving form (Successful)
    I did some exercise just as a guess that may some part of the form is causing this error. I full expanded all components of the form i.e. blocks, canvases, triggers etc.
    This exercise produced that 3 program units were giving same error while full expending those. I deleted those 3 program units and re-created them. Now it is not showing me this memory error while full expanding all program units. I can now fully expand my full form.
    But I am still getting this error while saving the changes when I am connected to database.
    Please help.
    Regards,
    Edited by: rawat75 on Sep 2, 2011 7:13 PM

    Hi Experts,
    We are getting the same issue. Our form builder crashes once we open our custom form
    in form builder.
    Server shows:-
    Forms 6.0 (Forms Runtime) Version 6.0.8.28.0 (Production)
    Form Builder shows:-
    Forms [32 Bit] Version 6.0.8.11.3 (Production)
    How to upgrade the form builder version?

  • Problem saving XML Forms builder project

    Hello,
    I have extended my xml forms project with some functionalities and now I'm not able to save and generate it. When I'm trying to save the project saving process stops while saving 'GUIModel-Internal.xml'  which is quite big file (~4MB). I can't find the reason which cause that.
    I would be grateful for any ideas.
    Best Regards,
    Michal Maciejewski

    Hi Fallon,
    It was typicall extension with normal changes within the XML Forms Builder. I've added some nodes in Data Schema and then create some controls on Edit and Show form which I connected with the newly created nodes. I know that custom changes in .xsl file will be erased after opening and saving the project within the XML Forms Builder so I'm trying no to do that. Have you got any idea why the project is not saving properly? Is it possilbe that XML Forms Builder could damage some files of my project while saving? After several tries of saving Show form could not be load while opening project. It's quite urgent for me to find solution or cause of this issue.
    Regards,
    Michal

  • Forms builder- only displays records created in the form builder?

    Hi there. I am new to Oracle and forms builder. I just have a query. I have created a form and when I run the form, it doesnt display the data out of my database. I can add a new record using the form and it will add it to my database:
    >
    STUDENTI FIRSTNAME LASTNAME GENDER DOB
    ADDRESS SUBURB PHONE
    20737785 Lock McIntyre Male 28-DEC-88
    384 Waterfall Gully Rosebud 0359811618
    20784939 Tim Carley F 20-FEB-89
    20 Armstrong Rd McCrae 0359811310
    20837785 LAchlan McIntyre M 28-DEC-09
    Hello Hell 5981131803
    >
    But it will only display the records that I have added using the form. Example, the first two records above were already in the database. I couldnt view them ith the form, but then I added the bottom record and I could only view that record in the form, but not the others.
    Any ideas why? I think I just dont know how to use the forms builder properly. Many thanks

    Forms starts with an empty screen(no records), only when you execute a query, the records are retrieved from the database.
    This can be done by executing the "execute_query" command.
    This can be done by pushing the button in the toolbaar, choosing the menu item, hitting the function key.
    But it can also be done programmatically in forms code(in a trigger).
    I hope this helps...

  • After saving a pll file in 11g Form Builder, should I be to open it  in....

    .......10g Form Builder?
    Friends,
    I am currently looking at upgrading our 10.1.2 forms application to 11.1.1 and am slightly puzzled by something.
    If I open an existing 10g .PLL file in Form builder 11g and save it should I still be able to open it in Forms Builder 10g?
    The reason for asking is that when we moved from 6i Forms to Forms 10g, once the PLL was saved in the newer version of Form builder it was no longer possible to open it in the earlier, 6i, version of Form Builder. If you attempted to do so you would see an error "Encoded format has an unrecognized format"
    However it appears that after opening a PLL in Forms 11g builder and saving the file I can still open the same file in Forms 10g. Is this the expected behaviour?
    The reason for asking this is that I want to check that the upgrade to 11g is actually doing something!
    Thanks in advance

    Hi Timothy,
    The account cannot be validated error was due to a glitch on our activation server that has been fixed now.
    Please try using acrobat now and check if you are still facing the problem.
    Regards,
    Rave

  • Form builder is closing automatically on Centos Linux

    Hi All,
    I have install form 10g (10.1.2.0.2) on centos Linux operating system but at the time of working on form builder it is closing atomically very frequently and second issue when I am opening record group for change in query it show blank after clicking on query text.
    Please help me it very urgent.
    Thanks in Advance.

    I would first recommend that you start by looking at the product certification guide to determine if your platform was certified:
    http://www.oracle.com/technetwork/middleware/ias/downloads/as-certification-r2-101202-095871.html
    Next, if you are finding that the Builder(s) do start, but crash in some conditions, I would recommend installing the latest (and last) patch for 10.1.2.0, which is 10.1.2.3 (Patch ID 5983622)
    If you do not have a MyOracleSupprt (http://supporthtml.oracle.com) account, you will not be able to obtain this patch.
    http://www.oracle.com/us/support/index.html

  • Open more than one FMB in Form Builder automatically

    Hello,
    You can open one FMB-File automatically in Object Navigator of Form Builder with
    ...module=test.fmb
    If I want to open more than one form automatically
    in Object Navigator - how is that possible?
    ...module=test1.fmb,test2.fmb... does not work.

    Unfortunatly you can't

  • XML Form Builder-How to access data saved from a form?

    Hi All,
    I created a form in XML Form Builder. This form include checkboxes and input fields.
    Also i include a Save button.
    I used this form in a iView.
    Many users will access this iView and save their input data.
    So, after the user Save this data, in the KM folder , is created a XML form where i can see the inputed data.
    So for every user's Save is created a XML form .
    The question is,
    how can i collect all these data for each created XML form, so as i can process them?
    Please i will appreciate if anybody has any documentation or can give me step-by step instruction .
    I am new in EP  .
    Regards
    Ari

    Hello Avinash,
    You can directly use query in form personalization Conditions like
    select date_probation_end from per_assignments_x where person_id = :PERIOD_OF_SERVICE.PERSON_ID
    and put in your condition like if you want to validate Probation end date is less then sysdate then in condition put in like.
    TRUNC(SYSDATE) < (select TRUNC(date_probation_end) from per_assignments_x where person_id = :PERIOD_OF_SERVICE.PERSON_ID)
    set the error message.
    Regards,
    Saurabh

  • Forms Builder - form not pulling the data from the DB into the datablock

    I'm working on a school project, and I'm not sure if I'm doing something wrong, or if something is wrong with my setup.
    I created a basic form, 3 fields, and ID, firstname and lastname
    the wizard connected fine, pulled the three fields into forms builder
    I setup a canvas - type content with the a form format layout of the three fields.
    saved the form.
    When I run the form and it's displayed, nothing gets pulled into the fields (all blank).
    Shouldn't it pull at least the first row from the table?
    it says it's on record 1/1
    XP, Oracle 10g, Form builder 10.1.2,
    I'm not getting any errors
    I want to get this basic form working first, before I start adding to it, and it doesn't seem to want to cooperate.
    I've done the same steps as in the tutorials....

    I did find that, if I put data in the ID, first and lastname on the form, and click Execute & Save on the Menu, it does add it to the database.
    Maybe what I'm missing, is how do I get the form to read from the database when it starts up?

  • How to validate multiple lines which is exist in the form builder at the same session

    Hi All,
    we are working on oracle Forms personalization to trigger the message at the point of saving multiple lines rather than requiring each line to be save individually. Currently the oracle form is allowing to user to enter two distinct lines that have same resource and basis type in BOM.
    Currently the Oracle form is allowing to enter the duplicate combination and not giving any error message even we enter the same combination of data.
    As per the customer requirement, they don’t want to validate the data while creating the records but when they try to save the form, in that case it should validate all the records at a time then need to display the appropriate message.
    Customer don’t want to customize the Oracle standard form. Here we have only option to use form personalization or through custom.pll.
    Any idea on how to validate multiple lines which is exist in the form builder at the same session as before inserting the record itself need to perform the validations for all the records.
    Thanks for your help in this regard.
    Regards,
    Thirupathi

    you can write a post script which will do the necessary tasks.
    I mean, once you are done with inserting records into these tables, exeute another procedure which will insert these "extra" records, based on some logic.
    you may not be able use DB trigger as it may generate mutating error or if you don't write it carefully, it will go into recursive loops as you are refering to same tables.
    HTH

  • Desname parameter works fine in Report builder but fails in Forms builder

    Hi,
    I need some help with my current task. Here is my problem.
    I am working on Oracle 10g. My reports and Forms builder version is 10.1.2.3.0.
    My objective is to use Forms builder to call a report which will direct the output directly to the printer without preview.
    First , in report builder , I use the Parameter Form builder and set Report parameter DESTYPE = PRINTER and the DESNAME automatically changes to PCL6 ( which is the network printer name I am using).
    When I run the report , the output is directed to the printer and it works just fine.
    But in Forms builder , when I call the same report, set the DESTYPE as Printer and DESNAME as 'PCL6' , it gives an error Invalid printer name 'PCL6' specified by parameter DESNAME.
    I tried searching in this forum, it says the error is due to an invalid printer name specified in the DESNAME. But if my printer name is invalid, I wonder how the same printer name works well in Report builder?
    My coding in Forms as below :
    SET_REPORT_OBJECT_PROPERTY( repid, REPORT_DESTYPE,PRINTER);
    SET_REPORT_OBJECT_PROPERTY( repid, REPORT_DESNAME,'PCL6');
    Appreciate if anyone can help. Thanks
    Regards
    Shiva

    Hi Puppethead,
    I have tried with your suggestions.
    the following condition -- did not work
    ( (mgr_name = :manager name)
    OR (mgr_name LIKE DECODE(:manager name, 'ALL', '%', NULL)))
    but for the other condition ---
    ( (mgr_name = :manager name)
    OR (mgr_name LIKE DECODE(nvl(:manager name, 'ALL'), 'ALL', '%', NULL)))
    is wrong because, :manager name cud be null, when it is null, it takes 'ALL' i.e. '%' which shud not be the case.
    if the user enters null, it has to display records with null only but with the above condition it takes '%'
    The main issue which i dont understand is, the report works fine for the first time. for the second time, the report takes null values . why is it taking null values for the second time.
    Thanks

  • Calculate Total in Forms Builder using only dates.

    I am using Oracle 10g forms builder. I need to know how the total number of hours worked by students. In the current database, only the date is saved since everyone assumes that the students work for 2 hours each day. So if a date is present in the student's record, that means the student worked for 2 hours for that date.
    However,I don't know how to calculate the total number of hours. I tried using the COUNT() function from SQL and assigning it to a variable but it keeps giving me errors.
    How can I calculate the total number of hours?

    HI,
    SQL> create table hours(h date);
    Table created.
    SQL> insert into hours values(sysdate);
    1 row created.
    SQL> insert into hours values(sysdate);
    1 row created.
    SQL> insert into hours values(sysdate);
    1 row created.
    SQL> commit;
    Commit complete.
    select to_char(h,'DD-MM-YY HH-MI-SS') from hours;
    TO_CHAR(H,'DD-MM-
    19-03-08 11-06-04
    19-03-08 11-06-08
    19-03-08 11-06-10
    SQL> select to_char(h,'HH') from hours;
    TO
    11
    11
    11
    SQL> select count(to_char(h,'HH')) from  hours;
    COUNT(TO_CHAR(H,'HH'))
                         3
    SQL> for Forms related questions
    Forms
    for SQL/PL/SQL related questions
    PL/SQL
    HTH

  • Forms Builder error '01422'

    I am in an Oracle database class, and I am having trouble with one of my problems. When using forms builder with a sequence that automatically generates primary key values and inserts them into a text box. I use a form trigger to insert the next available value from the sequence into the text box for the primary ID field of the record. I have the trigger fire on WHEN-CREATE-RECORD. The PL/SQL compliles with no problem, but when I try to run the form, I get the '01422' error.
    Below is my PL/SQL code:
    SELECT course_id_sequence.NEXTVAL
    INTO :course.course_id
    FROM course;
    Any help would be appreciated.

    Another possibility is to set the Initial Value property of the course_id item to :sequence.course_id_seq.nextval.

Maybe you are looking for

  • I created a fillable form with drop downs...

    and such using the Adobe Forms Central for my business quotes.  I created the form, saved it as a pdf, tested the form by going through and filling it out with data, whether it was text, dates, or drop down options, and emailed it.  One lady didn't s

  • How do I fix an error "4652747.png" when publishing my iWeb site to iMac?

    Every time I try to publish my iWeb site to .Mac I get an error message that says there's an error in " ...files/ca4652747.png." I know this is an image file, but when i search for it on my hard drive it shows a blank image. I've tried deleting the f

  • Save my resume in pdf and then upload into an online application

    IPAD 3 G frankly I am DISGUSTED with the LACK of productivity available on the IPAD. i bought "THE BEST" so that I wouldn't be disappointed......what a rip off another writer said it best..... apples a good for CONSUMING MEDIA... surfing, email, etc

  • How can I delete a bookmark that has no associated page?

    I have a number of old bookmarks where the page (location) is blank. Bookmarks that follow them do not get displayed in the Bookmarks Toolbar or when I click on "Bookmarks." These bookmarks with missing pages are shown when I click on "Organize bookm

  • Scrren gets refreshed after using onClientClick

    Hello All, Once again a very strange behaviour that I've noticed in an application that we are developing.... First of all, we have a set of DDLB, which generates a table....and we have set some initial conditions on the DDLB selections.... In the ta