Unique Id of Form Item

hi guys,
i design the form in screen painter. I want to give the unique Id "1" to add button and "2" to cancel button.
But i am not able to change the unique Id which is already given to the button.
can anyone help me?
Thanks in advance......

Hi Arpit,
Just start with the first element, select it, click the tab "Item" in the left (the 100001 you name seems like the form Id) and start wo name it "AAA", the next "BBB", and so on.
If you've changed all names, you can be sure that none of the items has the id "1". Now select your buttons and id them as "1" and "2". (And eventuallay rename all the other items other id's, if you like)
Remember; after you change the value, hit <ENTER>, because if you tab or click out the id field, the value will not change...
And, if all above does not work, start with a brand new form, and start by adding the two buttons...
Hope it helps,
Rowdy

Similar Messages

  • Getting a form item to load first in target page

    according to ben forta who i met many years ago, cf loads the complete page and then does functions in a particular order. i.e. includes, queries, etc.
    my problem is that i am sending over a unique identifer in the formset that is needed in an include on each page of my cart (i don't use cookies or sessions and don't want to get into that).
    what i want to know is if there is a way to force cf 10 to look at form. items first. the page needs that number or the include (header.cfm) crashes.
    i also have that issue with cfabort where cf does a lot of functions before it recognizes that tag which can really foul up things if a variable isn't there.
    site needs to be pci compliant
    tnx in advance,

    I receive no errors as stated in the original post.
    Eventually the webpage does load, but it takes 2 minutes for anything to start happening.
    During that time, the program is responsive, but displays no errors or status messages.
    This happened in Firefox version 6, as it did for the other poster in this thread.

  • Cycle form item

    hello every one,
    i've a problem. I load my form ( created by screen scraper)  after the click of a button created by me.
    But when i open it  once when i click the button. I want to open this form every time I click the button. How can I make it? thanks
    If pVal.ItemUID = "button1" And pVal.EventType = SAPbouiCOM.BoEventTypes.et_CLICK And pVal.Before_Action = True Then
                CreateForm()
    end if
    Private Sub CreateForm()
            '//load form created by Screen Painter
            Dim oXmlDoc As MSXML2.DOMDocument
            oXmlDoc = New MSXML2.DOMDocument
            If Not (oXmlDoc.load("C:\Documents and Settings\neos\Desktop\Demo\primo_form.srf")) Then
                MsgBox("Error Loading xml")
            End If
            SBO_Application.LoadBatchActions(oXmlDoc.xml)
            oForm = SBO_Application.Forms.ActiveForm
            '//support Settings feature for grid/matrix
            '//Add condition to the CFL bound to the button
        End Sub

    You cannot load the exact same XML file over and over, since it has the same unique ID.
    You will need to modify the unique ID property of the form, before you load it.
    Here's the function i've written to open XML forms:
      Function SBO_Load_XML_Form(ByVal FileName As String, ByVal Title As String) As SAPbouiCOM.Form
        Dim XmlDoc As New Xml.XmlDocument
        Dim Form As SAPbouiCOM.Form
        Dim Form_UID As String = Settings("FormsUniqueIDPrefix").ToString & Settings("Form_Counter").ToString
        Try
          XmlDoc.Load(FileName) ' Get the XML code from the .xml file specified
          XmlDoc.SelectSingleNode("Application/forms/action/form/@uid").Value = Form_UID
          XmlDoc.SelectSingleNode("Application/forms/action/form/@title").Value = Title
          SBO_UI.LoadBatchActions(XmlDoc.InnerXml) ' Load the form to the SBO application
          Form = SBO_UI.Forms.Item(Form_UID) ' Get the form's object by its unique ID
    selected
          Form.Left = (SBO_UI.Desktop.Width - Form.Width)  2
          Form.Top = (SBO_UI.Desktop.Height - Form.Height)  2
        Catch ex As Exception
          Msg(ex.Message)
          Form = Nothing
        Finally
          Settings("Form_Counter") = CInt(Settings("Form_Counter")) + 1 ' Increase the form counter, to support the forms' unique ID
        End Try
        Return Form
      End Function
    For the smooth handling of the unique form IDs (and for other stuff) I use a 'settings' hashtable, defined like this:
      ' Hash for keeping general settings
      Public Settings As New System.Collections.Hashtable
    ' somewhere in the code, in the initialization functions, i've put the code below.
    ' this code makes the form unique ID to prevail even if some forms load badly
    ' and even if you stopped your addon and restarted it while some of your forms
    ' are still loaded
          Hash.Add("FormsUniqueIDPrefix", "myNameSpace_")
          ' Calculate the form counter, so new forms will be created with correct ordered numbers
          Dim Form_Counter As Integer = 0
          For i As Integer = 0 To SBO_UI.Forms.Count - 1
            Dim FormUID As String = SBO_UI.Forms.Item(i).UniqueID
            If FormUID.StartsWith(Settings("FormsUniqueIDPrefix").ToString) Then
              Dim tmp As Integer = CInt(FormUID.Substring(Settings("FormsUniqueIDPrefix").ToString.Length))
              If tmp > Form_Counter Then Form_Counter = tmp
            End If
          Next
          Form_Counter += 1
          Hash.Add("Form_Counter", Form_Counter)

  • How to update a report  from a form on the same page when form item changes

    I have a portal form from a table and a portal SQL report with a bind variable on a page. I want the report to get updated with details based upon what was selected from a form item. The form item is a selection from a dynamic LOV. Whenever the form item gets changed, the report should get updated to reflect the change. Can this be done using a javascript ONCHANGE event?
    Oracle Portal Version is 10.1.2.2.0.

    Your applet can open an URLConnection and read directly a document from your webserver.
    public String readText() {
      java.net.HttpURLConnection conn = (java.net.HttpURLConnection)myURL.openConnection(); ...
    }So using JavaScript on your page, you might call readText() to fill that textarea.
    The interesting link you gave, handled the JavaScript/Applet interaction. Test that with just return "Hello";.
    The real programming is more interesting.

  • Beginners question - making sense of form, item, pane & variable (with relation to where data is stored in the SQL database)

    Hi Everyone,
    I am new to writing reports (SQL code) for SAP, however I am aware that inside SAP Business One it is necessary to enable System Information (from the View menu) in order to see which tables (and related table attributes / column names) are related to various aspects of the various SAP 'modules' (e.g.: A/R Invoice).
    Using an A/R Invoice as an example I can see at the row (or line) level that an item with the description of 'Opening Balance Transfer' is contained in the table INV1, within the attribute (or column) called Dscription.
    However not every 'on screen object' shows a table / attribute. For example in the same A/R Invoice if I hover my mouse over the Balance Due field all I see is Form related information.
    My question is 'How do I make sense of the Form, Item, Pane, Variable information?', with relation to where data is stored within the SQL database?
    Links to online tutorials explaining how this feature of SAP Business One will be much appreciated, along with any personal advice regarding working with this information.
    Any (and all) help will be greatly appreciated.
    Kind Regards,
    David

    Hi David,
    1.Here I am explaining use of each field except pane
    a. Form ---> Used in additional authorization creator
    b. Item, column--->Useful in creating Formatted search queries (FMS)
    c. Variable --> Some of the field values based on another values. ie. indirect values.
    d. INV1---Table name
    2. How to get variable?
    As per your second attachment, to get balance due ,you need doc total field from OINV table. For example,
    SELECT T0.[DocNum], T0.[DocTotal] FROM OINV T0 WHERE T0.[DocNum] = 612004797
    Thanks & Regards,
    Nagarajan

  • How to identify listeners types for forms, items and events in addon wizard

    Dear users,
    I have developed a sample addon through B1DE wizards and successfully installed and connected the addon and can view menu and form of my addon. Since i am new to this, i didn't add any listeners to my form, items and events because i don't know what type of listeners to add and what coding to add after adding listeners.
    If anyone describe me how to work with listeners, i would be glad. My form has basic fields like BPcode, BPname, Docnum, Itemcode, Item name, quanity, price, total etc. Uptil now my addon form has no function of getting list of BP and Items and calculating the totals based on price and quantity but it has some basic functions like add, update,del, add print view, next record previous, record next etc. which are due to object registration and auto-code generation wizards i think.
    Please help me in adding listeners and their relevant coding.
    Thanks in advance.

    Thanks for reply, Actually I am asking about listeners in the wizard of B1DE, code generator wizard. I think you are telling me about adding listeners directly in the vb.net. Kindly, tell me first, what event type I should add for item, form etc while adding listeners during  the wizard. Or If you know some link where event types of listeners are decribed, you are more than welcome.
    Thanks,
    Farhan

  • How to fetch the value of tabular form item in javascript

    Hello all
    I want to do some calculations on the value entered by the user in the textfield of a tabular form, how can I fetch the value of tabular form item in the javascript?
    I am using normal tabular form, not using apex_item tabular form.
    I can pass the current textfield value to the function using "this" as a parameter, but how can I fetch the value of other rows of that same column?
    Thanks
    Tauceef

    Hi Alistair
    jQuery is still not working, but I got it done through some other means, this is the code:
    function total(pThis){
    var l_Row = html_CascadeUpTill(pThis,'TR');
    var l_Table = l_Row.parentNode;
    var l_Row_next = l_Row;
    var n_rows = l_Table.rows;
    var lInputs;
    var v1;
    var sum = 0.0;
    var temp;
    var i = 0;
    var j = 0;
    //alert(n_rows.length);
    while(j < (n_rows.length - 1))
    temp = 0;
    if(l_Row_next != null){
    lInputs = html_Return_Form_Items(l_Row_next,'TEXT');
    v1 = lInputs[0].value;
    //alert(v1);
    sum = parseFloat(sum) + parseFloat(v1);
    l_Row_next = l_Row_next.nextSibling;
    temp = 1;
    if(temp == 0){
    l_Row_next = l_Table.getElementsByTagName('TR')[1];
    lInputs = html_Return_Form_Items(l_Row_next,'TEXT');
    v1 = lInputs[0].value;
    sum = parseFloat(sum) + parseFloat(v1);
    l_Row_next = l_Row_next.nextSibling;
    j= j+1;
    $x('P78_TOTAL').value= parseFloat(sum);
    I am calling this function onblur event of the textfield.
    Still I am having one problem, I want to perform this calculation on load of the page also, how can I do that? because while calling onblur of the textfield I can pass that textfield to this function but on onLoad how I will pass the textfield to call this function so that I will be able to get the textfield value in the function?
    there may be some rows already existing, so I want the total of the existing rows to be displayed in my P78_TOTAL textfield that is why I need to do this calculation on onLoad of the page.
    Thanks
    Tauceef
    Edited by: Tauceef on Jul 8, 2010 4:57 AM

  • Need to send form item inline of an email

    Hi,
    I need to send an email with a form item that would send REQUEST and submit a note to a database table text column.
    an email with an HTML form w/ submit button..
    Is there a link to a HOW TO ?
    Thank you, Bill

    Hi, Thank you for the link but I already send email in my app....
    I guess the real question is:
    when sending an email from with in the app, how do you build the syntax to have a button with in the email to take the receiver of the email into the app...
    or in the email have a comment textarea and a button
    When the email user clicks the button it sends the textarea to the app and updates it.
    how do you make it so if the request comes from the email you don't need to logon?
    As I typed this I kinda am getting ideas... just to build a form within the email but it is the ? form action line I need to know how HTML_DB needs the syntax to be...
    Clear as mud?
    Thanks Bill

  • Disable form item in oracle apex 3.2

    Hi,
    I am new to oracle apex, please help me from this problem.
    I'm having form item called "P805_COMP_ID" as text field , i need disable it always, for the same i fallowed some steps with the refrence of the link https://forums.oracle.com/forums/thread.jspa?threadID=2309731
    Step 1 i have written the jquery
    *<script type="text/javascript">*
    *$(document).ready(function(){*
    hideAdvsearch();
    function DisableItems()
    *$x_disableItem('P805_COMP_ID',true);*
    *</script>*
    Step2 : and i'm calling same function in HTML Form Element Attributes
    onload="DisableItems();"
    but it is not working, please help me,
    Thanks and regards,
    Ibrahim Sayyed.

    Hi Hari,
    I am sory to late respond ,
    The above scenario is working fine , after calling same function in header and footer atribute.
    but it is not working properly if i put condition.
    as per below mentioned code if item value 'P802_INT_COMP_ID' is null then it should disable else it should enable.
    <script language="JavaScript" type="text/javascript">
    $(document).ready(function(){
    hideAdvsearch();
    DisableItems();
    Function DisableItems()
    if ($v('P802_INT_COMP_ID').val== null)
    $x('P802_TEMP_LOG').disabled = true;
    </script>
    Thanks and regards,
    Ibrahim Sayyed.

  • Does any one know about Primary Form Item in OP

    Dear all,
    Does any one know what is primary form item in payment means bank transfer ?
    thanks in advance
    regards
    Kah kian

    Hi,
    Country-Specific Fields: China, Korea and Japan
    Primary Form Item
    This field appears:
    1) In the drop-down list that contains all the active primary form items
    2) Only if the G/L account determined is a cash flow relevant account
    After defining the cash flow line items in the Cash Flow Line Items - Setup window, specify the primary form line item that is assigned to the cash relevant transaction from the APA Cash Flow Assignment window.
    Note
    You can change the cash flow line item:
    1) After the payment is executed, unless the payment is a credit card partial or split payment
    2) At a later stage, in the corresponding journal entry or original transaction, unless the transaction has been cancelled
    Check if the details and the defination are there under the following path:
    Administration  Setup  Financials  Cash Flow Line Items
    Kind Regards,
    Jitin
    SAP Business One Forum Team

  • How to validate htmldb_item form item

    I have a multiple row form item using htmldb_item.text ( so that a user can enter a quantity for that row item ).
    How is validation best handled to ensure that a value is entered for that row?
    note: there is also a htmldb_item.checkbox on the row that the user checks to flag that an operation should be done.
    Thanks as usual
    Bill

    for what this is worth:
    as scott said, only checked values are passed through from htmldb_item.checkbox'es over to the htmldb_application.g_fNN arrays. that's just how conventional web checkboxes work. if you want to keep your checkboxes in your form, just do their processing in a separate loop. if you're having a hard time keeping the values of your checkbox array matched up with the other htmldb_item values from their corresponding rows, just make sure your checkboxes return values you can use to identify your checked rows. so if you were going against the emp table, i'd suggest having your checked values return EMPNO's...
    select htmldb_item.checkbox(1,empno) c from emp
    ...that way you could more easily match those empno's up with your other htmldb_application.g_fNN values during your page processing.
    hope this helps,
    raj

  • Multiline text in form item

    Hi,
    I am having the following issue. I have a form with several
    items, each of them containing a Text element. When the text is too
    long, the text element wraps the text in a second line, but the
    form only shows the first line. The curious part is that the form
    item's height do increase, but the extra space is shown blank. Any
    idea on how to correct this problem?
    thanks.
    C.A.

    "c arango" <[email protected]> wrote in
    message
    news:gcioif$gse$[email protected]..
    > could you please be more specific? I have tried setting
    wordWrap="true" in
    > the
    > Text tag, but it is not a property of that object,
    therefore it does not
    > compile. Moreover, the documentation of Text says that
    it performs
    > wordwrap as
    > long as the width of the box is define.
    Try giving it a pixel width instead of a percentage.

  • Which Forms Item properties are converted to APEX?

    Has it been documented which Forms item properties are converted to APEX with the Application Migrations tool?
    For instance the 'required' property will be converted, but item properties like 'format', 'initial value', 'hint', 'tooltip', 'auto hint', 'justification', 'case restriction' and 'max length' are ignored
    I hope more Forms item properties will be converted in a next APEX release.
    Regards,
    Mathieu

    Hello Roel,
    Thanks for the suggestion. I have read that piece of paper, but it doesn't tell you in detail what item properties are converted.
    I would have liked for instance that the "hint text" property is converted into a help text for a page item.
    If the auto hint or tooltip is set in forms, than the Template label of a page item should be set to optional/required with help.
    and so on...
    There are more item properties which could have a destination in APEX, I reckon.
    Now it's difficult to tell which are and which aren't converted.
    As soon as you have this kind of list you know which post configuration actions you have to perform.
    regards,
    Mathieu

  • Dynamically adding form items

    Hi All,
    I am facing problem while adding the form items to the form
    dynamically it get distorted and form items not in proper
    alignment.This issues is resolve when i revisit the same page
    again.
    Thanks, in advance.

    Notice that using array index "i" screws up the formatting of your post. It makes the font switch to italics! Anyway...I think what you want to be doing is this:
    String[] s={"a","b","c"};
    for(int j=0 ; j<s.length ; j++) {
        JButton b = new JButton(s[j]);
        this.getcontentPane().add(b);

  • Need To:  Keep Script Objects Unique to Specific Forms

    We create xdp's and then allow users to 'stitch' these together forming one complete PDF.
    These form's code check data entry, completeness, calculations, etc. One of its biggest features is that it highlights required fields (not the built in required field highlight) and conditionally required fields as needed.
    Global Functions (using a script object) works wonders onimmediate form feedback to the user. However, when we combine 2 or more xdp's together, the script objects disappear - leaving the first form's script object only.
    We need the script objects to stay unique to each form without 'dropping off' after stitching forms together.
    Any ideas??

    I would probably use a TreeMap that referenced the counter.

Maybe you are looking for