DEVELEPOR 2000 - Forms 5.0 Clearing a different block

I have two blocks A & B in a form. Block A is a control block
and Block B is a base table block. When the value in a TextItem
in Block A is changed, I want to clear the Block B. I cannot use
the Clear_Block function in the WHEN-VALIDATE-ITEM trigger for
the TextItem because forms doesn't allow navigation to a
different block in this trigger. Can anyone suggest a different
method ??
null

Raghu Menon (guest) wrote:
: I have two blocks A & B in a form. Block A is a control block
: and Block B is a base table block. When the value in a
TextItem
: in Block A is changed, I want to clear the Block B. I cannot
use
: the Clear_Block function in the WHEN-VALIDATE-ITEM trigger for
: the TextItem because forms doesn't allow navigation to a
: different block in this trigger. Can anyone suggest a
different
: method ??
How about this (in psuedo code)
1) upon entering a field in block A do; store orginal field
value in a variable, store block.field_id in variable
2) when user moves to another field in block check...
if field value != saved value in variable and block B has
stuff in it then
alert('value in block A changed, do you want block B
cleared???)
if yes then
go_block('B');
clear_block(no_validate);
go_item(block.field_id) stored from 1 above
else
go to desired field;
end if;
end if;
of course this is just a rough outline, also worry about nulls
in IF compare, etc, etc, etc.
This lets WHEN-VALIDATE-ITEM do its thing. This code could be
stuck under other another type of trigger ie key tab or whatever.
null

Similar Messages

  • Protect Form Fields from "Clear Form"

    I've created PDF Form with various fields, and created button to make readonly for all the Field data. This PDF Form will be used by 3 persons in different section. How to protect all filled text fields from "Clear Form" function in Form Tool.
    Once the Form fields are filled by 1 person, the other person can not use the "Clear Form" function to clear all filled fields. Please guide to to protect filled text,checklist fields from "Clear Form".

    If one flattens the form fields then they become context and are no longer form fields. It is possible to selectively flatten PDF content like annotations, form fields, page ranges, and by the "print/no print" property for Acrobat versions 6 or above.
    The flattenPages is not available to Reader.
    PDFScripting.com has a tool bar button that can perform selective flattening.

  • Why does my form data gets cleared out when clicking on the back button.

    Can someone explain why does my form selections get cleared out when clicking on the back button.
    I have a JSP page that displays a form with some selections and text boxes. I populate the page and submit the request. The action on the submit call another jsp page, which processes the data and displays the results via a <jsp:include> statement which calls the results page. When clicking on the back button from the results page, it returns me to the form page, but the selections are cleared out.
    1. Is there something in my calling of the pages that causes this behavior and can I prevent it?
    I notice that the behavior is different when using the IE 6.0 version Netscape 7.1. IE clears the page Netscape 7.1 retains the settings.
    If I cannot prevent this behavior does that mean I will have to save the state of the form data. And if I have to save the form data, what would be the easiest method of doing this. I'm a beginner to JSP and Java, but have some ASP experience. I don't understand why the back button in a JSP request clears the form data but a regular HTML page does not can someone explain?
    THANKS.

    the browser doesn't have to remember what you submitted and fill that back in.
    you can't prevent it unless you can ensure a new request to the server in which you can fill the default values in there.

  • Developer 2000 form debug problem

    Hi,
    I am trying to debug one form which is in Developer 2000 forms (too old). But for this specific form, when i am setting debug point and start debugging form exits instantly. This is happening with specific one form. Anyone please help me out.
    Thanks in advance.

    Did you try setting the breakpoint at a different position, maybe even a different trigger?

  • Posting date and clearing date different in G/L clearing document

    Hi Friends,
    While clearing a G/L manually using F-03, the clearing date is entered in the selection screen.
    The clearing document which is posted is posted with the posting date same as the clearing date mentioned in the selection screen of F-03.
    In what situations can the posting date of a G/l clearing document be different from the clearing date?
    Regards,
    Shilpi

    Hi,
    The Clearing Date in F-03 is actually the Posting date, so in this case the posting date will be same as clearing date. But a clearing document can also be created when you reverse a FI document, in this case the Reversal document will have a clearing date different than posting date. Let me know if this info helps you

  • Connecting oracle dev 2000 forms to oracle 9i database on another server

    we have these oracle developer 2000 forms (in .fmx format) in a server and the data of these forms in another server.... the server with the data is very old and is very slow...so we decided to relocate the database(oracle 9i) to a new server..... also, we move the developer 2000 forms from the old server to another server which will serve as the front end to the new data server.
    The problem is we can't figure out how to make the developer 2000 forms on the new front end server to point to the new database on the new data server. I would really appreciate if u cud gimme some advice on this... so we need to know how the forms find the data, where this "connection string" is for developer 2000 forms.

    You have to create a Net Service from "Net Configuration Assistant". Or you can copy TNSNAMES.ora file from your old server to new server. You can find TNSNAMES.ora file in developer_suite_Home/Network/admin folder.

  • How do you set a form to partially clear upon submit?

    I made a form with a clear button on it that only clears the fields I want it to but I was wondering if there was a way to set it so it automatically clears only the fields I want it too as soo as the form is submitted??
    Please help!

    Yes You can do that ...
    First distribute Your form.
    Then Open the distributed form .
    Now Edit it and Click on your Submit Button.
    Double Click on Submite Button & go to Actions.
    You'll See Run a Java Script.
    Edit that Javascript & add the following Code at the End .
    resetForm();
    Now Save it & Re Distribute it Again.

  • Slow of one form of developer 2000 form 4.5

    Hi all,
    We have developer 2000 form 4.5 with oracle v 7.3.4. we find out that one screen or form of the system are very slow. Can you please help me if you have the reason of that slowness in th form.
    Thank you.
    Said

    The form was running fine, and suddenly or at last days start to become very slow to run.You should have written that the first time!
    Maybe an index has been deleted or disabled that was used by the form's query process.
    Look at the base-table blocks and determine which tables they access, and how. Test the select statements in SQL Plus or another tool. Check the query plan Oracle uses to access the data.
    Also check any record groups that may cause slowness, and look at any SQL queries that may be issued directly by PL/SQL in the form.

  • FAQ For Developer 2000 (forms 4.5 reports 2.5)

    Hi
    I urgently need FAQ of Developer 2000 (forms 4.5 reports 2.5).
    Plz help me.
    BS

    Hi,
    go to www.ntfaq.org and you'll find what u need .
    Good day
    Bye
    U.P.
    null

  • Calling stored procedure from Developer/2000 Forms 6.0

    Dear friends,
    I would like to know how do you call a stored procedure(actually a function) that I have made in Oracle 8i , to be called through Developer 2000 Forms 6.0. I am running Oracle 8i on Windows NT.
    Kindly tell me the method.
    Thanks in advance.
    null

    You can just call the procedure in any program unit in Forms as if it were a local program unit or built-in.
    Thus if you have a function:
    function CalculateSomething return number;
    In Forms 6i, for example in a When-Button-Pressed trigger:
    declare
    n number;
    begin
    n := CalculateSomething;
    end;

  • XML Forms editing/showing with 2 different edit/show forms

    Hello,
    does anybody know how to set xml forms to achieve the possibility to edit one created news with 2 different forms, based for example on the layout set used?
    any hint would be appreciated.
    thanks
    Marco

    Hi Marco,
    If I understood your problem you need that a xml file to be read by another form.
    There is a property called: resouce type (metadata, belong to system).
    When you save your xml file (from form) this property is setted by the system. Using this value the system knows how to open this file.
    If you need to pass this information (xml file)among differents forms, in your forms you can add a combo box in which you set up this property. When you change this value of this property (name of resource type the other form)you carry out that this xml file to be read for other form.
    The truth is different forms, use differents resource type, therefore these forms can not,simultaneously,read the same xml file.
    Also, if you create your own layout set, within collection renederer you can filter by resource type.
    Patricio.
    ps: all forms must use the same schema data.

  • How to Generate a complex smart form for the Sales Order different pages h

    How to Generate a complex smart form for the Sales Order different pages has different page Layouts  explain me?

    in print program in interface when calling the form there should be some option to tell it to make a NEW spool everytime.
    I have it in mind for sap-script it is ITCPO-TDNEWID. Dont have it in mind for SAMRTFORMS but still it should work somehow similar.

  • How can I convert Oracle Developer 2000 forms?

    How can I convert Oracle Developer 2000 forms and menus to the Oracle 9ids forms and menus

    Check out the upgrade and migration section on
    http://otn.oracle.com/products/forms
    We will soon have a new section on OTN about Forms upgrades, keep checking back for more info.

  • Developer 2000(Form 5) problem

    Plz help me out...
    Is Developer 2000(Form 5) is compatible with Oracle Application Server (AS)
    Can we run Dev Form 5 on Web base Application Server like 10g
    Regards
    Khurram

    No Brother!
    Form 5 is totally client server.
    You need to change it first into 6i.
    Regards,
    Raj

  • Copy values from a filed to another in different blocks in same table

    Hi All,
    How to copy value from a filed to another field in different blocks in same form ?
    example if i change value in Field A of block 1 it should reflect in Field B block 2 and again if i change in Field B block 2 it should reflect in Field A of block 1.
    values will change twice or thrice then it will not change. It is happening like that.
    how to do this ?
    Regards

    Same table / different blocks
    I guess, both blocks will be marked for update, and when your user presses commit, the same table will be updated twice!
    Are you sure that this is what you want to do? Is the same record current in both blocks? If so, you better use 1 block (it can be spread over several canvases and windows) and synchronize the items with the "synchronize item" property.
    Anyway: If you can't apply the synchronize-property bcos the items are in different blocks, you can synchronize with 2 when-validate-item triggers.
    Wolfram

Maybe you are looking for

  • Feature Request for Power Manager (Vista)

    Disable Vista Aero when on battery (gives about ONE hour extra battery lfe!) Disable Vista Sidebar when on Battery (frees A LOT of resources and causes much less CPU cycles) Disable Vista Superfetch/Readyboost when on battery (Vista causes a lot HDD

  • Lost all my paid apps after updating to iOS4!  Apps not in backup!!!

    I just updated my iPod touch (3 gen) from some OS 3.xxx to iOS4. After 1-2 hours, I got an error message saying that the backup failed. I looked on my iPod touch and saw that all of my apps were deleted except 4 random ones. Thinking that my apps wer

  • Is it possible to set 30 GB of RAM to JVM?

    Hi All, I want to set 30 GB of RAM to JVM for windows server (64 bit) OS.since my application needs more amount of memory.is it possible?

  • ADF BuessServices Layer With Toplink In Jdeveloper 11.1.1.3.0

    hi, i want to use Toplink / EJB as my BuessServices Layer, I can't get userfull help from google and orecle , Can you give me some sample /Demo or advice? thank you very much~

  • Iphone 8.3 give error 3014

    I am trying to update iphone 5s to 8.3 via itunes on windows 7 pc. But it gives error 3014. I explored forums and tried fixes to edit the Host file . But that didn't fix the issue. Please assist.