Creating Two forms

I created two forms in Screen painter and I'm stock with the code behind in VB.NET. I don't how to call the 2nd form.
My 1st form is for my Main and in this form it has a button save. I want that when I press Save the 2nd form will show. How can I do that?
Thank you.

Well since you have your two SRF Files, you can try this code...
oXmlDoc = New Xml.XmlDocument
oXmlDoc.Load(sStartUpPath & sSRFFilename)
Dim creationPackage As SAPbouiCOM.FormCreationParams
creationPackage = gkSap.mwuiApp.CreateObject(SAPbouiCOM.BoCreatableObjectType.cot_FormCreationParams)
creationPackage.XmlData = oXmlDoc.InnerXml
ReturnForm= gkSap.mwuiApp.Forms.AddEx(creationPackage)
ReturnForm.Visible = True
You basicly load the XML File to the creation package und the set it to visible. All the load functions are an
other story. Hope this helps.
Greetz

Similar Messages

  • Trying to create two form buttons side by side?

    Hi all...
    Kind of a strange question...  I've been messing around with this one for way too long now and thought I'd seek your help...
    Anyway,  one <form> with two submit buttons on them.  One is a "submit" button and the other is a "cancel" button.  I do have them working fine.  The "submit" button forwards the <form> data to the .php file for processing (and works fine).  However, the cancel button which does nothing more than calls on the index.html.
    Problem:  I can't get them to sit side by side on the form...  Or at least not without making the "cancel" button fail.  Remember this is all one form (or is it?)...
    The last lines of code for the "submit or cancel" buttons are below...
    <form action="contactlist.php" method="post" name="contactform" >  <----  This is the first line for the actual form.  The remaining code is for the buttons at the bottom of the form.
    <input name="submit" type="submit" value="submit"/>
    </form>
    <form action="index.html" method="post" name="contactform"/>
    <input name="cancel" type="submit" value="cancel" />

    If you are learning, I would not worry too much about JavaScript, just concentrate on PHP.
    Normally I would use
    <input name="cancel" type="button" value="cancel" onclick="window.location='index.html'">
    which simply saying that when the element (<input>) is clicked on, change the URL to 'index.htm'.
    The reason I used the function in my first example, is because DW supplies the function auromatically by following this procedure
    1. In design view, click the cancel button. In code view you will see the element highlighted and the status bar will show <input> highlighted as in
    Also in the properties window under the status bar, you will be able to change the button attributes.
    2. With the button highlighted, click on the Tag Inspector-->Behaviours tab, click the '+' and 'Go to URL' as follows
    This will pop-up a dialog.
    3. In the 'Go To URL' dialog leave the 'Open in' field with the default value and enter the requested URL in the 'URL' field, using the browse feature if desired.
    4. Click 'OK' and in the code view you will see the added JS function and the behaviour attached to the button. In the Behaviours panel you will also see the behaviour attched to the selected element.
    Gramps

  • How to create one form for two Udo object

    Hy ,
    I have two Object Udo (header and line)
    How we created a form to manage these two files (UDO)
    Thanks

    Thank you janos
    it works, I put the code to other developers for information
         Shared Sub SBO_Application_ItemEvent(ByVal FormUID As String, ByRef pVal As SAPbouiCOM.ItemEvent, ByRef BubbleEvent As Boolean) Handles SBO_application.ItemEvent
                If ((FormUID = "SIR001_") And (pVal.ItemUID = "add") And (pVal.EventType = SAPbouiCOM.BoEventTypes.et_CLICK) And (pVal.Before_Action = False)) Then
                    Dim oDS As SAPbouiCOM.DBDataSource
                    oDS = SBO_application.Forms.Item(FormUID).DataSources.DBDataSources.Item("@SIR_LOTL")
                    oDS.InsertRecord(oDS.Size)
                    oDS.Offset = oDS.Size - 1
                    oform = SBO_application.Forms.Item(FormUID)
                    oMatrix = oform.Items.Item("mtx_0").Specific
                    oMatrix.AddRow(1)
                End If
                If ((FormUID = "SIR001_") And (pVal.ItemUID = "del") And (pVal.EventType = SAPbouiCOM.BoEventTypes.et_CLICK) And (pVal.Before_Action = False)) Then
                    oform = SBO_application.Forms.Item(FormUID)
                    oMatrix = oform.Items.Item("mtx_0").Specific
                    For index As Integer = oMatrix.RowCount To 1 Step -1
                        If oMatrix.IsRowSelected(index) = True Then
                            oMatrix.DeleteRow(index)
                            oform.Mode = SAPbouiCOM.BoFormMode.fm_UPDATE_MODE
                        End If
                    Next
                End If
            End Sub

  • How to create a form with two column headings

    I have a business request to create a data form to handle multi year data by month. This will require creating a form with two column headings - with the first row be Year and second row be month, and data entry will begin in the third row and down.
    I can do multiple row headings in the layout design, but somehow can not get it to work for multiple column headings.
    Thanks in advance

    If you're in the "Layout" tab, simply pull the "Years" dimension and the "Period" dimension into the Column section. Planning can be a little picky about where you "drop" the dimension as you're dragging and dropping it. Drop it in the cell directly under the letter name of the column. Other than that, there's not much to it.
    Hopefully this helped,
    - Jake

  • How create two Folder by coding in SDK Form

    Hi Everybody,
    Can anybody tell me how to create folders. I want to create two folders by coding and wants to put three fields in each folder. Actually it is not difficult by using Screen Painter and I can create but can't understand how to do by using code itself and also when click on first folder then second folder's field should not be visible and when click on the second  folder then first folder's fields should not be visible and want to insert data into database table by using this form  and I can do this. Only the problem with folders.......
    I had tried so mant things but could not get how to do.
    So please send any sample code...
    Thanks in advance....

    Hi,
    Check this samle C:\Program Files\SAP\SAP Business One SDK\Samples\COM UI\VB.NET\07.ComplexForm\
    In this sample he create the whole form  by code, but u can check this sample so that u can understant the FOLDER creation.. which is as follows..
            '// Adding Folder items
            For i = 1 To 2
                oItem = oForm.Items.Add("Folder" & i, SAPbouiCOM.BoFormItemTypes.it_FOLDER)
                oItem.Left = (i - 1) * 100
                oItem.Width = 100
                oItem.Top = 6
                oItem.Height = 19
                oFolder = oItem.Specific
                '// set the caption
                oFolder.Caption = "Folder" & i
                oFolder.DataBind.SetBound(True, "", "FolderDS")
                If i = 1 Then
                    oFolder.Select()
                Else
                    oFolder.GroupWith(("Folder" & i - 1))
                End If
            Next i
    And in the Item event use this code....
    Case SAPbouiCOM.BoEventTypes.et_ITEM_PRESSED
                        '// Check if the event was raised by one of the Folder items
                        '// and change the form's pane level
                        If pVal.ItemUID = "Folder1" Then
                            oForm.PaneLevel = 1
                        End If
                        If pVal.ItemUID = "Folder2" Then
                            oForm.PaneLevel = 2
                        End If
    Hope it helps,
    Vasu Natari.
    Edited by: vasu natari on Jul 22, 2009 2:18 PM

  • Create two types of organisation forms

    Hi i have zero dynamics experience first and foremost , can someone give me some pointers on creating two organization forms. I need one with a Sales view with extra fields and a condensed version of the same organization for the support desk. Can we achieve
    this?
    Thanks

    You can.
    A guide on how to can be found on f.ex. https://www.powerobjects.com/blog/2010/12/07/microsoft-dynamics-crm-2011-role-based-forms/
    Rune Daub Senior Consultant - Dynateam CRM http://www.dynateam.dk

  • On a tabbed panel, I am trying to create a form, but...

    On a tabbed panel I am trying to create a form, but I am having a couple of issues.
    The coding on my form is yellow - I can't figure out what is wrong. Also, I can't see the tab on the browser, only in live view. I haven't loaded it to my site as I haven't finished it yet. I don't want to go any further, until I solve the issues I have now. Any ideas?
    thanks,
    deb
            <form id="registrationForm" name="registrationform" method="post" action="">
              <fieldset>
                <legend>Contact Information</legend>
                <span id="sprytextfield1">
                  <label>Name <span class="inforequired">*</span><br />
                    <input type="text" name="name" id="name" />
                    <br />
                  </label>
                  <span class="textfieldRequiredMsg">value is required.</span><span class="textfieldMinCharsMsg">Minimum number of characters not met.</span><span class="textfieldMaxCharsMsg">Exceeded maximum number of characters.</span></span> <span id="sprytextfield2">
                  <label for="businessname">(Business or Organization) Name<br />
                  </label>
                  <input type="text" name="businessname" id="businessname" />
                  <br />
                  <span class="textfieldRequiredMsg">value is required.</span></span> <span id="sprytextfield3">
                  <label for="address">Address <span class="inforequired">*</span><br />
                  </label>
                  <input type="text" name="address" id="address" />
                  <br />
                  <span class="textfieldRequiredMsg">value is required.</span><span class="textfieldMinCharsMsg">Minimum number of characters not met.</span><span class="textfieldMaxCharsMsg">Exceeded maximum number of characters.</span></span> <span id="sprytextfield4">
                  <label for="email">City</label>
                  <span class="inforequired">*</span><br />
                  <input type="text" name="city id="city="city"" />
                  <br />
                  <span class="textfieldRequiredMsg">A value is required.</span><span class="textfieldMinCharsMsg">Minimum number of characters not met.</span><span class="textfieldMaxCharsMsg">Exceeded maximum number of characters.</span></span> <span id="sprytextfield5">
                  <label for="province">Province</label>
                  <span class="inforequired">*</span><br />
                  <input type="text" name="province" id="province" />
                  <br />
                  <span class="textfieldRequiredMsg">A value is required.</span><span class="textfieldMinCharsMsg">Minimum number of characters not met.</span><span class="textfieldMaxCharsMsg">Exceeded maximum number of characters.</span></span> <span id="sprytextfield6">
                  <label for="postalcode">Postal Code</label>
                  <span class="inforequired">*</span><br />
                  <input type="text" name="postalcode" id="postalcode" />
                  <br />
                  <span class="textfieldRequiredMsg">A value is required.</span><span class="textfieldMinCharsMsg">Minimum number of characters not met.</span><span class="textfieldMaxCharsMsg">Exceeded maximum number of characters.</span></span> <span id="sprytextfield7">
                  <label for="phone">Phone Number (including area code) <span class="inforequired">*</span><br />
                  </label>
                  <input type="text" name="phone" id="phone" />
                  <br />
                  <span class="textfieldRequiredMsg">A value is required.</span><span class="textfieldMinCharsMsg">Minimum number of characters not met.</span><span class="textfieldMaxCharsMsg">Exceeded maximum number of characters.</span></span> <span id="sprytextfield8">
                  <label for="fax">Fax Number</label>
    (including area code) <br />
    <input type="text" name="fax" id="fax" />
    <br />
    <span class="textfieldRequiredMsg">A value is required.</span><span class="textfieldMinCharsMsg">Minimum number of characters not met.</span><span class="textfieldMaxCharsMsg">Exceeded maximum number of characters.</span></span> <span id="sprytextfield9">
    <label for="email">Email Address <span class="inforequired">*</span><br />
    </label>
    <input type="text" name="email" id="email" />
    <span class="textfieldRequiredMsg">A value is required.</span><span class="textfieldInvalidFormatMsg">Invalid format.</span><span class="textfieldMinCharsMsg">Minimum number of characters not met.</span><span class="textfieldMaxCharsMsg">Exceeded maximum number of characters.</span></span> <span id="spryconfirm1">
    <label for="emailconfirm"><br />
      Re-enter Email Address <span class="inforequired">*</span><br />
    </label>
    <input type="text" name="emailconfirm" id="emailconfirm" />
    <span class="confirmRequiredMsg">A value is required.</span><span class="confirmInvalidMsg">The values don't match.</span></span>
    <p> My Interest in the Ability Axis Employment Expo is as a </p>
    <p><span id="spryradio1">
      <label>
        <input type="radio" name="RadioGroup1" value="business" id="RadioGroup1_0" />
        Business/Employer</label>
      <br />
      <label>
        <input type="radio" name="RadioGroup1" value="nonprofit" id="RadioGroup1_1" />
        Non-Profit/Service Organizatin</label>
      <br />
      <label>
        <input type="radio" name="RadioGroup1" value="jobseeker" id="RadioGroup1_2" />
        Job Seeker</label>
      <br />
      <label>
        <input type="radio" name="RadioGroup1" value="other)" id="RadioGroup1_3" />
        Other (please specify below)</label>
      <br />
      </span><br />
      <span id="sprytextarea1">
      <label for="contactcomments"> Comments or other information</label>
      <br />
      <textarea name="contactcomments" id="contactcomments" cols="45" rows="5"></textarea>
    </span> </p>
    </fieldset>
              <p></p>
              <fieldset>
                <legend>Booth Options</legend>
                <span id="spryselect1">
                  <label for="premierearlybird">Premiere (10 X 10)  until April 21 $375</label>
                  <span class="earlybirdpricing">Early Bird Pricing</span><br />
                  <select name="premierearlybird" id="premierearlybird">
                    <option value="0" selected="selected">Please Choose</option>
                    <option value="1">1</option>
                    <option value="2">2</option>
                    <option value="3">3</option>
                    <option value="3+">More than 3 - please enter details in the comments box below</option>
                  </select>
                  <br />
                  <br />
                  <span class="selectRequiredMsg">lease select an item.</span></span> <span id="spryselect2">
                  <label for="premierereg">Premiere (10 x 10) after April 21 $425</label>
                  <br />
                  <select name="premierereg" id="premierereg">
                    <option value="0" selected="selected">Please Choose</option>
                    <option value="1">1</option>
                    <option value="2">2</option>
                    <option value="3">3</option>
                    <option value="3+">More than 3 - please enter details in the comments box below</option>
                  </select>
                  <br />
                  <br />
                  <span class="selectRequiredMsg">Please select an item.</span></span> <span id="spryselect3">
                  <label for="premierenpearlybird">Premiere Non-Profit (10 X 10) until April 21 $325 <span class="earlybirdpricing">Early Bird Pricing</span><br />
                  </label>
                  <select name="premierenpearlybird" id="premierenpearlybird">
                    <option value="0" selected="selected">Please Choose</option>
                    <option value="1">1</option>
                    <option value="2">2</option>
                    <option value="3">3</option>
                    <option value="3+">More than 3 - please enter details in the comments box below</option>
                  </select>
                  <br />
                  <br />
                  <span class="selectRequiredMsg">Please select an item.</span></span> <span id="spryselect4">
                  <label for="premierenp">Premiere Non-Profit (10 X 10) after April 21 $375</label>
                  <br />
                  <select name="premierenp" id="premierenp">
                    <option value="0" selected="selected">Please Choose</option>
                    <option value="1">1</option>
                    <option value="2">2</option>
                    <option value="3">3</option>
                    <option value="3+">More than 3 - please enter details in the comments box below</option>
                  </select>
                  <br />
                  <br />
                  <br />
                  <span class="selectRequiredMsg">Please select an item.</span></span> <span id="spryselect5">
                  <label for="standardregearlybird">Standard (8  X 10)  until April 21 $250 <span class="earlybirdpricing">Early Bird Pricing</span><br />
                  </label>
                  <select name="standardregearlybird" id="standardregearlybird">
                    <option value="0" selected="selected">Please Choose</option>
                    <option value="1">1</option>
                    <option value="2">2</option>
                    <option value="3">3</option>
                    <option value="3+">More than 3 - please enter details in the comments box below</option>
                  </select>
                  <br />
                  <br />
                  <span class="selectRequiredMsg">Please select an item.</span></span> <span id="spryselect6">
                  <label for="standardreg">Standard (8 X 10)  after April 21 $300</label>
                  <br />
                  <select name="standardreg" id="standardreg">
                    <option value="0" selected="selected">Please Choose</option>
                    <option value="1">1</option>
                    <option value="2">2</option>
                    <option value="3">3</option>
                    <option value="3+">More than 3 - please enter details in the comments box below</option>
                  </select>
                  <br />
                  <br />
                  <span class="selectRequiredMsg">Please select an item.</span></span> <span id="spryselect7">
                  <label for="standardnpearlybird">Standard Non-Profit (8 X 10)  until April 21 $200</label>
                  <span class="earlybirdpricing">Early Bird Pricing</span><br />
                  <select name="standardnpearlybird" id="standardnpearlybird">
                    <option value="0" selected="selected">Please Choose</option>
                    <option value="1">1</option>
                    <option value="2">2</option>
                    <option value="3">3</option>
                    <option value="3+">More than 3 - please enter details in the comments box below</option>
                  </select>
                  <br />
                  <br />
                  <span class="selectRequiredMsg">Please select an item.</span></span> <span id="spryselect8">
                  <label for="standardnp">Standard Non-Profit (8 X 10) after April 21 $250<br />
                  </label>
                  <select name="standardnp" id="standardnp">
                    <option value="0" selected="selected">Please Choose</option>
                    <option value="1">1</option>
                    <option value="2">2</option>
                    <option value="3">3</option>
                    <option value="3+">More than 3 - please enter details in the comments box below</option>
                  </select>
                  <span class="selectRequiredMsg">Please select an item.</span></span>
    </fieldset>
              <br />
              <fieldset>
                <legend>Breakfast Tickets</legend>
                <span id="spryselect10">
                  <label for="breakfast1-5">Breakfast Tickets $40 each (up to 5 tickets)</label>
                  <br />
                  <select name="breakfast1-5" id="breakfast1-5">
                    <option value="0" selected="selected">Please Choose</option>
                    <option value="1">1</option>
                    <option value="2">2</option>
                    <option value="3">3</option>
                    <option value="4">4</option>
                    <option value="5">5</option>
                  </select>
                  <br />
                  <br />
                  <span class="selectRequiredMsg">Please select an item.</span></span> <span id="spryselect11">
                  <label for="breakfast+5">Breakfast Tickets $35.00 each (more than 5 tickets)</label>
                  <br />
                  <select name="breakfast+5" id="breakfast+5">
                    <option value="0" selected="selected">Please Choose</option>
                    <option value="5">5</option>
                    <option value="6">6</option>
                    <option value="7">7</option>
                    <option value="8">8</option>
                    <option value="9">9</option>
                    <option value="10">10</option>
                    <option value="10+">more than 10 (please comment below)</option>
                  </select>
                  <br />
                  <br />
                  <span class="selectRequiredMsg">Please select an item.</span></span> <span id="spryselect12">
                  <label for="breakfasttable">Breakfast Tickets $400 each (table of 8 plus two event hosts)<br />
                  </label>
                  <select name="breakfasttable" id="breakfasttable">
                    <option value="0" selected="selected">Please Choose</option>
                    <option value="1">1</option>
                    <option value="2">2</option>
                    <option value="3">3</option>
                    <option value="3+">More than 3</option>
                  </select>
                  <br />
                  <br />
                  <span class="selectRequiredMsg">Please select an item.</span></span> <span id="sprytextarea2">
                  <label for="breakfastticketscomment">Additional Information about Breakfast Tickets</label>
                  <span class="textareaRequiredMsg">A value is required.</span></span>
    </fieldset>
              <br />
              <fieldset>
                <legend>Seminar Tickets</legend>
                <p>Shayn Anderson, author of Taking Pride in That Which Sets US Apart, will host a one hour seminar at 11:00 am. </p>
                <p>
                  <label for="shayn11amreg">Shayn Anderson Seminar tickets $40 each</label>
                  <br />
                  <select name="shayn11amreg" id="shayn11amreg">
                    <option value="0" selected="selected">Please Choose</option>
                    <option value="1">1</option>
                    <option value="2">2</option>
                    <option value="3">3</option>
                    <option value="4">4</option>
                    <option value="5">5</option>
                    <option value="6">6</option>
                    <option value="7">7</option>
                    <option value="8">8</option>
                    <option value="9">9</option>
                    <option value="10">10</option>
                    <option value="10+">more than 10</option>
                  </select>
                  <span class="selectRequiredMsg">Please select an item.</span></p>
                <p>
                  <label for="shayn11amnp">Shayn Anderson Seminar tickets (Non-Profit) $30 each</label>
                  <br />
                  <select name="shayn11amnp" id="shayn11amnp">
                    <option value="0" selected="selected">Please Choose</option>
                    <option value="1">1</option>
                    <option value="2">2</option>
                    <option value="3">3</option>
                    <option value="4">4</option>
                    <option value="5">5</option>
                    <option value="6">6</option>
                    <option value="7">7</option>
                    <option value="8">8</option>
                    <option value="9">9</option>
                    <option value="10">10</option>
                    <option value="10+">more than 10</option>
                  </select>
                  <span class="selectRequiredMsg">Please select an item.</span></p>
                <p>Denise Bissonnette will do a seminar presentation at 1:00 pm on the topic Being True to the Dream of Diversity. Denise's presentation will run approximately 1.5 hours. </p>
                <p>
                  <label for="denise1pmreg">Denise Bissonnette Seminar tickets $50</label>
                  each <br />
                  <select name="denise1pmreg" id="denise1pmreg">
                    <option value="0" selected="selected">Please Choose</option>
                    <option value="1">1</option>
                    <option value="2">2</option>
                    <option value="3">3</option>
                    <option value="4">4</option>
                    <option value="5">5</option>
                    <option value="6">6</option>
                    <option value="7">7</option>
                    <option value="8">8</option>
                    <option value="9">9</option>
                    <option value="10">10</option>
                    <option value="10+">more than 10</option>
                  </select>
                  <span class="selectRequiredMsg">Please select an item.</span></p>
                <p>
                  <label for="denise1pmnp">Denise Bissonnette Seminar tickets (Non-Profit) $40 each<br />
                  </label>
                  <select name="denise1pmnp" id="denise1pmnp">
                    <option value="0" selected="selected">Please Choose</option>
                    <option value="1">1</option>
                    <option value="2">2</option>
                    <option value="3">3</option>
                    <option value="4">4</option>
                    <option value="5">5</option>
                    <option value="6">6</option>
                    <option value="7">7</option>
                    <option value="8">8</option>
                    <option value="9">9</option>
                    <option value="10">10</option>
                    <option value="10+">more than 10</option>
                  </select>
                  <span class="selectRequiredMsg">Please select an item.</span></p>
                <p><span id="sprytextarea3">
                  <label for="seminarcomments">Other Information About Seminar Tickets</label>
                  <textarea name="seminarcomments" id="seminarcomments" cols="45" rows="5"></textarea>
                </span></p>
    </fieldset>
              <br />
              <fieldset>
                <legend>Processing Information</legend>
                <span id="spryradio2">
                  <label>
                    <input type="radio" name="RadioGroup2" value="invoice" id="RadioGroup2_0" />
                    Please invoice me</label>
                  <br />
                  <label>
                    <input type="radio" name="RadioGroup2" value="printmail" id="RadioGroup2_1" />
                    I will print and mail my form with my payment</label>
                  <br />
                  <label>
                    <input type="radio" name="RadioGroup2" value="emailcreditcard" id="RadioGroup2_2" />
                    I will submit my information and provide my credit card information</label>
                  in the box below <br />
      <label>
        <input type="radio" name="RadioGroup2" value="other" id="RadioGroup2_3" />
        Other - I will provide full details below<br />
      </label>
                </span><span id="sprytextarea4"><span id="sprytextarea5">
                <label for="processingcomments"><br />
                  Further Information for Processing Registration</label>
                <textarea name="textarea1" id="textarea1" cols="45" rows="5"></textarea>
                <span class="textareaRequiredMsg">A value is required.</span></span></span> <span id="sprytextarea6"> <span class="textareaRequiredMsg">A value is required.</span></span>
    </fieldset>
              <p>
                <input name="submit" type="submit" class="buttons" id="submit" value="Submit Information" />
                <input name="reset" type="reset" class="buttons" id="reset" value="Reset Form" />
              </p>
            </form>

    Gramps, you are always coming to my rescue.
    Okay, I loaded the page under a different name http://abilityaxis.com/test.html. Viewing the source code doesn't show the yellow.
    For demonstration purposes I copied a small amount of the text and changed the colour of what is yellow in Dreamweaver to this pinkish colour (I tried yellow but you couldn't read it)
              <form id="registrationForm" name="registrationForm1" method="post" action="">
                <fieldset>
                  <legend>Contact Information</legend>
                  <span id="sprytextfield1">
                    <label>Name <span class="inforequired">*</span><br />
                      <input type="text" name="name" id="name" />
                      <br />
                   </label>
                    <span class="textfieldRequiredMsg">value is required.</span><span class="textfieldMinCharsMsg">Minimum number of characters not met.</span><span class="textfieldMaxCharsMsg">Exceeded maximum number of characters.</span></span> <span id="sprytextfield2">
                     <label for="businessname">(Business or Organization) Name<br />
                      </label>
                      <input type="text" name="businessname" id="businessname" />
    It basically goes all the way through the form.
    Any advice?
    thanks,
    deb

  • How to create a form or report on a view or on a sql for update

    Let's suppose to have this two tables:
    BOOKS(title, author, id_tongue)
    TONGUE(id_tongue, tongue)
    where TONGUE contains (1, english), (2, french), ...
    I want to create a report and a form (for inserting new books) so as to insert the right values in the two tables.
    I've created a view VIEW_BOOKS(title, author, tongue) and an instead-of-trigger to update the two tables when inserting into the view itself. The problem is that with APEX it seems to me it's only possible to define a form or report on tables or on query and not on a view.
    Any advice to give me? Or other solutions?
    I'm quite new on APEX
    Thanks in advance!

    You are mistaken!! what version of apex are you on?
    Select Form on a Table or View when creating a form using wizard
    See this http://docs.oracle.com/cd/E23903_01/doc/doc.41/e21674/bldapp_frm.htm#HTMDB05029

  • How can I share data between two forms on different lists

    Using a custom content type, I created two lists that I want to share the same data - one is a calendar.  Our employees complete a form from the "Out of Office Request" list that has workflow functionality that sends an email to that person's
    manager.  If the manager approves the request, the item automatically populates the "Out of Office Calendar."  The problem is that the only information from the request list that populates the calendar is the Title field and date/time fields. 
    I need the manager name in order to create a view for each manager.  
    How can I connect the other information in the request list to the calendar list.  It seems to me that if the title and date fields carry over the information, there should be a way to connect the other information.  I'm using Designer.
    I've tried to connect the two lists' webparts with the wizard, but when I get to the page that maps the two lists, there are no column names and the "Next >" button is grayed out.  This seems like the logical place to connect the two lists,
    but it isn't working.

    Hi,
    According to your post, my understanding is that you wanted share data between two forms on different lists.
    To show external  information on the calendar event, there are two methods: Calculated column, workflow. You can refer to:
    A Simple Guide to Show More Information on a Calendar Event
    I recommend to use workflow to achieve what you want. But you need to create a people column to display the manager.
    You can create a workflow associated to the "Out of Office Request" list, add action to Start Approve Process. If the manager approves the request, you can create a item in the calendar, and then update the people column and the title column.
    Then the calendar will display the Title, date/time and the manager.
    To create a view for each manager, you need to modify the Filter. You can use the people column is equal to the manager name or the Title contains the manager name.
    Thank you for your understanding.
    Best Regards,
    Linda Li
    Linda Li
    TechNet Community Support

  • How do I create two iTunes accounts under the same email address?

    I've got my account duplicated -and charged for apps I already own- by using my email address as login instead of apple ID, but I've been told it's my fault so…
    I'm trying to figure out
    *How do I do to create two iTunes accounts under the same email and having different IDs?*
    I mean, two accounts with different purchase history. It doesn't matter if billing address, or credit card are the same (or different) because none of them flag apps as "purchased"
    I tried today from iTunes, but it tells me the email is taken.
    Do you know any way a user can do it from our end? (website, iTunes, iPhone)
    If you've got charged by apps twice, please don't say it here. I don't want my post being deleted again. Thanks.

    Beavis2084:
    Expired .mac accounts HAVE NO EMAIL. You own the id (which iTunes requests to be spelled in form of an email)
    Also, FREE .mac accounts have no email either.
    What you see in the screenshots is what I'm saying:
    There's been a change in the way iTunes wants you to login. The iTunes reps see at their end what you see at the top of the window, which probably is the "migration" of the new login: Old login system, using ID (in form of email for iTunes)
    BELOW you clearly see where says "ID" and both have the email as login.
    (again, that .mac email doesn't exist and NEVER DID)
    That's the NEW login: your EMAIL.
    I'm sorry I didn't explain it better the first time. I wrote about this so many times to iTunes support reps to prevent them to "read" what their system says that I gave it for settled. (not to mention that my first post was removed because "it lacks of interest for others"
    I own an apple ID, given away with the purchase of a new computer (nothing small by the way) and when that happens (and never subscribe for a paid membership), you use ANOTHER email to be related to your account.
    Now that AGAIN apple asks you for using your EMAIL (non-apple in our case) instead of your ID (which you can't use or you will never get a notification again!) the system believes there are two accounts.
    It's like your credit card bank changing the address for sending the payments. You are STILL paying, but getting a higher rate because their CHANGED the address and the check never arrives.
    In this case, signing in with a different string, makes the system believe there are two accounts. And that probably is under the policy which probably states purchases are not charged twice for SAME ID, and SAME iPhone… and you used a different ID, so it must be fair (sarcasm). Who told you to do so? Bad boy!

  • Ora-20001 when creating a form on table with report (bug?)

    Having some trouble creating a "Form on table with report".
    1) I pick my table
    2) take most of the defaults on the page where you pick the report type (interactive) and the page number (I changed it to 950). next->
    3) Do not use tabs. Next->
    4) Select all columns for the report. THEN (here's the problem) set an optional where clause of system_role_name like 'ODPSPOPUP%'. Next->
    5) choose standard edit link. next->
    6) Specify a page of 951 for the form (leave others defaults). next->
    7) Set the form primary key (defined in table). next->
    8) use existing trigger. next->
    9) choose all columns for the form. next->
    10) Leave actions to insert, update, delete. next->
    11) Get to the summary page and click Finish
    Then I get an error page saying:
    ORA-20001: Unable to create query and update page. ORA-20001: Unable to create query and update page. ORA-00933: SQL command not properly ended
    If I go back to step 4 and erase my where clause the wizard completes successfully.
    Also if I change the report type in step 2 from the default of "Interactive" to "Classic" the wizard completes successfully. However upon running the report I get a query parse error. Looks like the where clause in the report sql is: system_role_name like ''ODPSPOPUP%'' (two single quotes on each side).
    It looks as if you cannot specify a where clause with a quoted string. The wizard is expecting a bind variable.
    Workaround(s):
    1) Don't specify a where clause when report type = Interactive in "create form on table with report" wizard.
    or
    2) Specify a bogus where clause using bind variable syntax such as "system_role_name like :BOGUSVARIABLE". Then edit the report query once the wizard finishes and change the where clause to the constant string you wanted to use in the wizard (e.g. "system_role_name like 'MYSYSTEM%'")
    Apex: 3.2.0.00.27
    Database: Oracle Database 11g Enterprise Edition 11.1.0.7.0 64bit Production (Oracle EL5)

    Andy,
    It's a bug, all right. Thanks for the detailed problem description. We'll fix it when we can.
    Scott

  • Creating a Form with Report based on View

    Hi All,
    I wanted to create a form with report based on two tables so:
    1. I created a view (called COMBO) based on two tables
    2. I then created a form with report based on the view
    Everything seemed fine thus far until I tried to edit existing records - I got the error:
    ORA-20505: Error in DML: p_rowid=2002082600001172, p_alt_rowid=REPATRIATION_ID, p_rowid2=, p_alt_rowid2=. ORA-01776: cannot modify more than one base table through a join view
    Unable to process row of table COMBO.NB: REPATRIATION_ID is the primary key of the Repatriation table. The other table is Applicant.
    & when I tried to create a new record - I got the error:
    ORA-01776: cannot modify more than one base table through a join view
    Unable to process row of table COMBO.Someone please enlighten me!
    Kind Regards
    Kamo
    Edited by: Kamo on 2009/03/12 2:33 AM

    Hello Kamo,
    You need to create an 'instead of' (update/insert/delete) trigger on your view to process the inserts etc into the 'real' tables.
    Greetings,
    Roel
    http://roelhartman.blogspot.com/
    You can reward this reply by marking it as either Helpful or Correct ;-)

  • Creating a form in InDesign

    Hi,
    I have several documents set up in InDesign as templates.
    My staff and volunteers will open the document, edit only a couple of items and print it out.
    I would like to be able to have them use Acrobat Reader to edit the documents while (hopefully) maintaining the style (font style, etc).
    See the items with the purple background in the example.
    Most of the volunteers will have a PC.
    Any ideas on how I should set this up and save it?
    Thanks,
    Matt

    Matt,
    What you're asking for is totally doable, but will require that you have a full copy of Acrobat Pro. But once you set up the PDFs, your volunteers will be able to use Reader to edit the two form fields.
    Set up your template in InDesign. Open the Buttons and Forms panel from Window > Interactive. You want to put those purple frame behind the form fields you're going to create below.
    Draw a frame, select it, and choose Text Field.
    Now, you can export this as a PDF, but you can't get that custom Font, point size, etc.
    So, what you will have to do is open the PDF in Acrobat, Open Forms Editing, and edit that form to choose your own font, point size, etc.
    It's a little complicated in Acrobat, and I'm in the middle of a project, but someone here might be able to talk you through it or in the Acrobat forum.
    Sandee
    Sandee Cohen
    Computer Graphics Trainer

  • Multiple Image Upload Wizard Not Creating A Form

    I'm working on a new site and I keep running the multiple image upload wizard.
    It connects to the database fine, gets the primary key and all that. It sees the two columns that should be included in the form field in addition to the image_url field.
    When I hit finish on the wizard all the proper code seems to be created except the form. The upload button is the only user interface element created.
    Anybody got ideas on what is causing this? I've used this wizard on other projects sucessfuly, but I can't figure out what I'm doing differently here.
    thanks,
    - Tanner

    I believe you have to create the form first with some File Upload fields then run the Wizard.
    Cheryl

  • Can I create a form that allows users the ability to add fields?

    I would like to create an asset order form I can host on my company's intranet. I would like to give the users the ability to add additional fields per item they request rather than provide them with a limited amount of fields. For example, the template available from Formscentral has 5 dropdown selection boxes with predetermined supplies to choose from. My office receives requests for multiple, varying assets that I would not be able to list in generic dropdown selection boxes. I want to give users the freedom to enter item titles and provide URLs to online stores they would like me to purchase them from. I want my form to begin with two fields for this information and provide users with an add button that creates two additional fields for each additional item requested.

    Hi,
    In Acrobat Form, you create a hidden Text Field which will only get visible on a Button click for inserting additional text.
    Regards,
    Anoop

Maybe you are looking for

  • How can multiple users share a catalog?

    PSE 5 - We have multiple users sign on to the same PC.  The catalog is created on a network drive that all have access to.  Photos added to the catalog by one user are not accessible by another user.  Is the catalog profile-dependant?  Is there some

  • Regarding pop up menu on the right click of a row of a table in a frame

    hi to all, i am a naive in applet and swing. i have some proplem regarding table in a frame. actually i want to open a pop up menu on the right click of a row of a table in the frame.please send the code regarding this.

  • Consume Non valuated stock

    Dear Gurus,       I need to consume the non valuated stock for a valuated material. When we created the material, we did as non valuated and created 1000 eaches of inventory. After few months, we changed into valuated by adding price to it and then w

  • Acrobat pro 8 pauses printer

    Hello In the last several days i've encountered a problem printing pdf files using adobe pro 8. when i send a print choosing the acrobat 8 printer, a printer icon shows up in my dock saying the printer is paused. when i reactivate the printer (there

  • BAPI_OBJCL_CHANGE_KEY AND OBJECT DEPENDENCY

    We use BAPI_OBJCL_CHANGE_KEY  in a class type 023 with object dependency. When we try to modify the characteristic which produces a new valuation in an other characteristic from the same object (material and batch) problems occurs. The system display