DML properties in form

Hi,
I have a trigger at the level DB which give me the seq for a PK.
I used FORM and have, in the block property, set the DML returning value = YES.
As explained by ORACLE, it allows to fire the trigger when I comit my record and then give me the seq.
But I have no result!
Could you help me please.
Regards
Thierry

I didn't tried to re-query.
Of course it's a required item and I want the automatic seq. But when I save, I have a message like 'required item not filled'.
When I introduce a number (1 for exemple), I save and the trigger at the level DB fired and I can see the number of the seq in the item and it replace the 1 (if the nexval is 29, I receive 29). It's 29 I need, but if I don't introduce a number, the trigger doesn't fired.
regards

Similar Messages

  • How to open  business partner Properties selection form(OCQG table)

    Dear all ,
    Is there any object for business partner Properties which are stored in OCQG table
    Can anybody tell me
    how to open the properties selection form as incase of
    Financials->Financial Reports->Accounting->G/l Accounts and Business Partners-> Click on Properties Button
    I want to open this form  is there any way to do it
    Thank you
    Atul

    Hello Atul,
    With the sbo sapbouicom object you can for example simulate a buttonclick.
    I suggest that you use in your code:
    ActivateMenuItem("13057") //(G/l Accounts and Business Partners)
    and then you simulate a click on the property-item/button.
    Hope this helps.
    Best regards Teun

  • DML's in form

    hi,
    i want to use dynamic dml's in forms, using forms 6i
    forms_ddl(stmt) does not works(i dont know why)
    i cannot use execute immediate because of lower forms pl/sql engine,
    some one suggested me to use the name_in buit in but i dont what's the exact syntax
    For e.g i have to use update stmt
    UPDATE NAME_IN(:BLOCK.TAB_NAME) SET NAME_IN(:BLAOCK.SET_CLAUSE) WHERE NAME_IN(:BLOCK.WHERE_CLAUSE)
    the above is throwing some syntax error,,,dont know what to do,,completely stuck,,plz help

    No i was not doing that, I checked the syntax 2-3 times.but it was not doing
    it, did u tried urself? is it parsing the statement?I'm not sure if that was sarcasm, but I didn't mean that exact statement, just one that will be costly if it is ever run.
    What I was trying to point out is that if you have a procedure on the database then you are in a less secure position than if the process is run within forms. For example, the procedure is likely to be in a schema that has privs to update many tables, and it may need definer rights to run in the way you want. This means it can also be run in ways you don't intend if someone is able to access the database from a command prompt.

  • NO dml Master / detail form/report

    If I wanted to create a form or report that would only display one master record and its children records on one page. What would be the best way to do this?
    The page would not support dml. Only display the data in a master/detail fashion. I tried creating a form thru the wizard but I dont need dml.
    I tried creating a report but all the data is horizental and would prefer more of a form type of layout.
    A simple illustration follows below. Above the line is the data from the master table. Below the line are the childern.
    Columa pk
    Columb columc columnd
    column pk columndesc columna fk
    column pk columndesc columna fk

    Me too facing the some problem can some one pls help

  • Document Properties versus Form Properties

    Hello,
    I was searching this forum and the knowledgebase to find an answer on how to populate the Document Properties visible in Acrobat/Reader 7 with the values from the Form Properties of a XFA form created with Designer 7.1. Unfortunately I was not able to find a sufficient answer. Is it possible to fill the Document Properties from within a XFA form? Can anyone point me in the right direction?
    Any help is really appreciated. Thanks!
    Kind regards, Karin

    Hi,
    As I discussed with my colleague on Office application, the Document property we can access from File tab is different from the DOCPROPERTY we can locate in Fields.
    If you would like to add the "aaa" to document, we could add it manually.
    Regards,
    Rebecca Tu
    TechNet Community Support

  • Document Properties on Form

    I've created a form in Adobe LiveCycle Designer 8 and can enter Form Properties from there but I need to be able to add Document Properties to post it on our website for accessibility. If I open it in Adobe Professional 8 where I add the properties to other pdf's, I am unable to edit the Document properties, they're all greyed out. Even the information I added in Form properties in Designer does not appear.
    Any suggestions? or am I looking in the wrong place or missing a setting?
    Thanks for any help!
    Sue

    A file prepared in Designer cannot be further edited in Acrobat.
    Aandi Inston

  • List of properties by form element

    Hi,
    before i try and re-invent the wheel, does anyone have a list of the attributes, for each element in a forms node.
    ie
    Form has properties
    Name
    Subclass Information
    Comments
    Title
    Console Window
    Menu Module
    etc
    Trigger has Properties
    Name
    Subclass Information
    Comments
    Trigger Style
    etc etc
    Thanks in advance
    Neil

    You haven't said how these key/value pairs (or sets of the) are going to be maintained. If you want them to be editable/readable by the average text editor, then you are going to have to do some work on your own.
    One thing we have found very handy is to define a "TreeNode", and build up these kinds of structures using the node as the base object. There are two representations of a TreeNode:
    o A textual representation:
    { name = "mynode", value = {"item1", "item2", ...} }
    (The enumeration inside is another tree node - unnamed, but with some values.)
    o A runtime representation:
    class ThreeNode {
    String name_;
    Hashtable values_;
    TreeNode();
    void addValue(Object value);
    String toString();
    The text representation is relatively easy to parse (using a line reader + StringParser).
    The runtime representation is trivial to implement. (It should include appropriate toString methods so that a program can re-create the data in the exetrnal format.)
    Tip: If you do something like this, put the parser in a separate class. That makes the TreeNode serializeable, so it can - if necessary - be sent through communications channels.

  • Initializing properties for form objects

    If I want to set starting values for some form objects as soon as the form opens, what's the best event to use?
    I want to set a date field's value to the current date.
    I also want to set the Presence property of some objects to "Visible" or "Invisible" at startup. In particular, I want to set all of the objects in a group to "Invisible", but while the group has a Presence property, "Invisible" isn't one of the default values it can have. I'm hoping I don't have to set the presence of every object in the group individually.

    You can use either LayoutReady or Initialize events to set the default values for fields.
    If you place all those fields in the group as part of a Subform, then you can set the presence property of the subform to "hidden" or "invisible" based on the need.
    In that case you do not need to set the presence property individually.
    Thanks
    Srini

  • Setting image zoom and offset properties in Forms 6

    I have a Forms 6 form with an image item with "Sizing Style" set to "Adjust" and "Show Palette" set to "Yes".
    When running the application, the users typically need to view approximately the same region of a set of images. Currently, they have to reapply their favorite zoom settings and move to the correct region whenever a new image is displayed. Now they would like the images to be displayed with their personal zoom and offset settings applied automatically.
    Is it possible to figure out the zoom factor and region which is displayed in an image item? As an alternative, is it possible to intercept clicks on the image palette buttons?
    Thanks, Beat

    your test_image table better to have another primary key item like file_id number with table trigger to sequence generating its value for IF INSERTING event, or it will have no handle to get the image back.

  • Cannot update new field through SharePoint properties on re-pubished InfoPath form

    Hello,
    I would truly appreciate any help with this problem. I've searched the forum for answers to this issue, but none of the ones I've found seem to
    apply.
    We are using SharePoint 2007. 
    When I re-publish a form with a new field, I am unable to modify that new field through SharePoint properties on older forms. I have tried re-linking the old forms but that does not resolve the issue. I can re-create this problem consistently in new
    and old InfoPath form libraries.
    Here are the latest steps I have taken to re-create the error:
    Created Form Library called Error Testing.
    Created new form (from blank template) with three data fields in the data source: name, occupation and address.
    Added section and all fields onto the form.
    Published form to Error Testing library. All fields were promoted and selected the “Allow users to edit data in this field by using a datasheet or properties page” option.
    Created and saved Form 1 in library with no issues.
    Opened edit properties and was able to modify and save the content in all three fields.
    Added a new field to the form template: City.
    Published form to Error Testing library. The original fields, and the new field were promoted and selected the “Allow users to edit data in this field by using a datasheet or properties page”
    option.
    Created and saved Form 2 in library with no issues.
    Opened edit properties in Form 2 and was able to modify and save the content in all three fields.
    Opened edit properties in Form 1, modified all fields and got the following message when I tried to save: 
    "Changes could not be saved into the document. The property to change is read-only for the document's content type, or the document is missing XML elements or attributes where
    the changes would be saved. Try editing the document in a Windows SharePoint Services-compatible XML editor such as MicroSoft Office InfoPath."
    Modified each field one at a time and determined the field I could not edit and that was causing the error message was
    the new City field.
    I re-linked Form 1 and got same error message when I tried to modify the City field.
    I opened Form 1 entered the city and saved.
    The content of the city field appears in the SharePoint column and I am able to edit the content through the Edit Properties field.
    This is an issue when we run a workflow that tries to update the new field on an old version of an InfoPath form.

    You can certainly add the fields manually by using SharePoint Designer, but a more effective way to Open the form template in "Design Mode" Click "Tools" and then "Form Options" Choose "Versioning".
    InfoPath defaults to not Upgrade forms automatically. If different versions are not a historical issue for this solution, then Change the default to "Automatically Upgrade Old Forms". Then republish form... The Next time you open a from in
    the library with this content type it will upgrade the old forms in the library.
    Have a look at this post on the same topic:
    http://social.msdn.microsoft.com/Forums/en-US/cffd3fa0-0a53-4ef2-8c62-0764cbe9f0e2/adding-new-fields-to-existing-infopath-form-template?forum=sharepointcustomizationlegacy

  • Perform DML on the pieces of the column in Forms

    Hi,
    I am looking for a solution for the interesting puzzle.
    In DB I have column that in the front end will be represented by the pieces of it.
    Users used to see this column like 3 virtual columns .So I will have on the form 3 text items that will be represent 1 column from DB.Like "Column" in Db = substr(col,1,4),
    substr(col,5,7), substr(col,13,7) .
    And I will need to do DML thru the form.
    Putting substr in props of the item is working for the query only.Now I need insert, update, delete.
    I got working "delete", got working "insert".
    Any suggstions for the "update"?

    This is not possible with the current release of Ultra Search. We are adding it in the current release (Ultra Search 9.0.2)
    that will be shipped with both the database (9i Release 2) and the Oracle Application Server Release 9.0.2.
    --Stefan Buchta, Ultra Search PM                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                       

  • Fragment works standalone but not when inserted in a form

    I have a search fragment. When I open the fragment and click "Preview" in designer. I click on the "search" button, and it executes a web service that retrieves info from a database and displays it into a table. Everything is working beautifully. The fragment is set to Interactive, and Dynamic XML form.
    I now create a new form and I insert this search fragment into the form. This form is also set to Interactive, and Dynamic XML form. Now, when I click on the "search" button, all of the javascript behind the button executes (i.e. my messageBox debugging messages) but the web service that retrieves the database info doesn't seem to execute.
    What am I missing? I'm perplexed as to why the fragment works stand-alone but doesn't want to work when incorporated into a parent form.
    Any ideas?

    Nope, no errors in the java debugger console.
    The fragment is an xdp (Adobe XML Form) - with form properties "Interactive Form" and "Dynamic XML Form"
    The "parent" form that contains the fragment is an xdp with the exact same form properties as the fragment.
    Here's what's in the debugger console, just general info:
    Acrobat JavaScript Debugger Functions Version 7.0
    Acrobat Database Connectivity Built-in Functions Version 8.0
    Acrobat EScript Built-in Functions Version 8.0
    Acrobat Annotations / Collaboration Built-in Functions Version 8.0
    Acrobat Annotations / Collaboration Built-in Wizard Functions Version 8.0
    Acrobat Multimedia Version 8.0
    Acrobat SOAP 8.0
    Anything else I can check?
    --Elaine

  • How to display system property in XML forms

    Hi
    We are using XML forms template for publishing news in KM. In the show form we got author field (a label in the form) which is mapped to system property createdby (PropertyReference = /Properties/default:createdby).But while displaying the form author is not getting populated. When I try to edit the form in XML forms builder in data model tab under properties node no property is visible. Nothing is shown up in properties even after reload option is selected from context menu of properties node.
    I cheked by manually editing PropertyReference to some other property (e.g. modifiedby) but nothing is showing up.
    Can you please suggest how the createdby system property can be shown in the xml form?
    Thanks & Regards
    Sudip

    Hi Sudeep,
    Please try to open the formbuilder in another machine and try to see the properties xml form design view.
    You can even directly can create a lable in show form and add the property name along with the nama space name.
    For default properties namspace is default.Create a lable UI element in show form and select the datasource property and add the property value in that.
    With we can show file related system generated properties in show form.
    Regards,
    Rudradev Devulapelli

  • Update a view in oracle forms

    Hi.
    I have a block based on a view ( this view is based on two tables). How do I update the base tables when the record based on this view is updated in the form?
    Thanks

    one way is to control the transaction by using database trigger " instead of "
    on the view.
    If a view is inherently updatable and has INSTEAD OF triggers, the triggers take preference. In other words, Oracle fires the triggers instead of performing DML on the view.
    second way is to execute a DML from the forms manually by intersepting the default functionality of on-insert, on-update trigger and so on..... to perform transaction on the table.
    But i'll recommend using the INSTEAD of triggers, see documentation for more help and examples.

  • Problem in reports6i parameter form customization

    I am calling report developed under reports6i using rwservlet from j2ee web application. I was able to successfully customize the parameter form internal to report using Report Escapes properties, Before Form value and After Form value. I am using header.htm and footer.htm to render header and footer related html. I am able to use style sheet file also. Everything is working fine with this file. But when I try to repeat the same changes to another report (rdf), it is not taking the changes. No matter what I do, report is taking the settings from parameter form builder tool. When I run the report outside of web ie., from report builder, it is showing the parameter fields and labels I have made changes to, but when I run as web report it is taking the parameter fields and labels that report builder tool has. I am frustrated and do not understand, everything working fine with one report is not working with the other. Is that a bug? or am I missing something? Please help. I really appreciate your help.
    Thanks in advance,
    Raju

    Thanks Philipp for the response. Yes I verified whether server picking the changes. That's how I found its only picking from the parameter form builder. Whatever changes I made to the actual parameter form I was not seeing. But I was seeing whatever changes I made in the parameter form builder. I do not want to use parameter form builder wizard. It's kind of weird and that's why I do not see logic behind what's going on? I am wondering is it a bug in the reports developer tool. I am using oracle reports6i (Report Builder 6.0.8.11.3).
    Thanks,
    Raju

Maybe you are looking for

  • My iPod Nano will not show up as a device at all, neither in Windows or iTunes

         Please help. I have bought songs in the expectation that they would be listened to, but I can not sync them to my iPod Sixth Generation Nano . Will some one please help me connect it to my pc properly?

  • Please help me on this program

    I wrote a binary search tree to store the name, birthday, and phone number. But everytime I tried to insert some values, I got the java.lang.nullpoint.exception: Please check out the program: BinaryNode: public class BinaryNode{ protected String name

  • Credit card payment through f110

    Hello All I have created ICICI Credit card as a vendor account.  I accounted all expenses and created to vendor a/c. My payment term is Monthly ones or 25th of every month.  I want to give cheq through f110 how can I configerate this.

  • Data Migration for MS SQL Server 7 to Oracle 8.0.l5

    I have tried to migrate the DB Structure from MS SQL Server 7 to Oracle 8.0.5 but I am only able to convert the system table of SQL Server 7. I was suggested to user Oracle Migration Workbench 1.2.5.0.0 for this but I can not find a sample version of

  • Set the properties VALIDFROM / VALIDTO programatically

    Hi all, I need to upload a document into KM from a WD with the lifetime properties. I have the following code: java.text.Format fo = new SimpleDateFormat("MM/dd/yyyy hh:mm:ss"); PropertyName propertyName =     new PropertyName("http://sapportals.com/