When combo selected, user form sholud be open

Hi
In system form, when value is selected in the combo box, at same time  user form should be opened. what is the coding for this process? can anyone help me..
Regards
Bhuvana

Hi Bhuvana
in the combo select event use this code to get your User form to load
LoadFromXML("solution.srf")(Name of the srf file)
oform = oapp.Forms.Item("solut")(FormUID)
  service_solution() (databinding)
this is an easy way to load a form the for this use should have LoadFromXml() function like this
Public Sub LoadFromXML(ByVal FileName As String)
        Dim oXmlDoc As New Xml.XmlDocument
        Dim sPath As String
        Try
sPath = IO.Directory.GetParent(Application.StartupPath).ToString
            oXmlDoc.Load(sPath & "\" & FileName)
            oapp.LoadBatchActions(oXmlDoc.InnerXml)
        Catch ex As Exception
            oapp.MessageBox(ex.Message)
        End Try
    End Sub
if this helps do reward points
Edited by: Cool Ice on Jul 28, 2008 12:44 PM

Similar Messages

  • Time Machine on my iMac won't open iPhoto. It goes to desktop screen automatically. When I select User/Picture/Iphoto library it only brings up the preview page with the size of the folder. I can't get into the library to look for lost photos.

    Time Machine on my iMac won't open iPhoto. It goes to desktop screen automatically. When I select User/Picture/Iphoto library it only brings up the preview page with the size of the folder. I can't get into the library to look for lost photos.

    Thank You. This helps me alot to get into the masters and to see events and photos in a utilitarian way, but it is not as easy as viewing the normal iphoto format to find photos.  Can I do something else or did I not do something right to not see normal iphoto in Time Machine ?

  • I have set up iPhoto 11 so that pictures will be edited in Photoshop elements 11.  I selected the option to edit in another application.  But when I select edit in iPhoto, elements opens but the photo does not open in elements.    What is the problem?

    I have set up iPhoto 11 so that pictures will be edited in Photoshop elements 11.  I selected the option to edit in another application.  But when I select edit in iPhoto, elements opens but the photo does not open in elements.  I'm using a Macbook pro 15 inch with retina display with OS 10.8.4  What is the problem?

    http://barbarabrundage.com/2011/10/05/adobe-hide-and-seek-setting-pse-10-as-exte rnal-editor/
    It relates to Elements 10, but it's the same for 11.

  • Help! When I select "Phone" it tries to open and gives me a white screen and closes. I cannot view my missed calls or voicemails.

    If anyone knows anything about this...
    When I select "Phone" on my home screen the iPhone attempts to open it, brings up a white screen and then will shut back down. I have 8 missed calls or voicemails yesterday and I couldn't check any of them. Does this happen to anyone else?
    Also, when I receive a call and I answer it does not give me the ability to end call or any of my options (sources, keypad,etc.) during the call.
    Basically, I can't do anything with my contacts, favorites, missed calls or voicemails.
    Can someone please help?

    I have tried that multiple times. I have also made sure that I have the latest updates. Would haveing 27,000+ contacts have anything to do with it?
    Sometimes it works and sometimes it doesn't

  • When I select the firefox icon to open the brower, the round cursor is flashing and jumping instead of twirling steadily like it used to. What is wrong?

    I'm not sure how to tell which Firefox version I have, but it was running smoothly before. Now when I click the Firefox icon in the task bar, to open the browser, the round cursor jumps and flicks on and off. Firefox does come on, but it seems like something is wrong. What is wrong that it is doing this?

    That is is always a problem when you are using multiple profiles and Firefox isn't running.
    It might work if no profile is selected (i.e. marked as Default=1 in profiles.ini).<br />
    You can use desktop shortcut that open with a specific profile (-P "profile").<br />
    There is also a setting in the Profile Manager (Don't ask at startup).

  • When I select a bookmark, the page opens on the left instead of in the main window?

    Most bookmarked pages replace the page being displayed. But one of them keeps popping up on the left in a window which can only be expanded to about a third of the width. I need it to open in the main window rather than in the left hand column. Perhaps I should delete the bookmark for this page and try setting it up again so it will behave "normally"?
    Thanks for your help!
    Bill

    Opening in the Sidebar is the default action for bookmarks that are created via a "Bookmark this Page" link or button on a website. Make sure you use the many "Bookmark this Page" methods that are in Firefox instead.
    Right-click that bookmark and select '''Properties''', then un-check the preference for '''Load this bookmark in the sidebar''', and then click Save.

  • Want to backup my iphoto library to ext. drive, but it does not appear in the picture folder. When I select the picture folder iphoto opens, nothing to drag. Help please? 2013 iMac

    I want to back up my iphoto library to my external drive, but can't find it it in my computer's tree. When I click pictures in the tree, it launches iphoto and there is no file name or icon to drag. What am I missing? I'm sure it is simple what ever it is. Help please?

    now that you have found your iPhoto library you can drag it to the external drive to backup it up
    If you launch iPhoto does it work properly?
    However, when I tried to relocate it to the pictures folder, I get a message that I can't add the library because the folder is defective or damaged.
    Exactly what are you doing? what is the exact error message?
    And as to
    Should I trash the pref file for pictures folder and try again?
    I have no idea what you are speaking of - files and folers do not have Pref files - only applications have Pref files
    LN

  • HT1657 I rented a movie, it downloaded, I watched it and now I want to play it again.  It is in my iTunes Movies under rented but when I select it it doesn't open.  Why?

    read above

    Is this on your computer or on iPad/iPhone ? If you are on an iPad or iPhone then it should have downloaded into the Videos app - iTunes on those devices is just the iTunes store, and if you just see the Ts & Cs link on the Downloads tab then that means that there are no outstanding downloads waiting.

  • Why are my files not opening in PS, when I select "edit in ps" ?

    The external editor is Photoshop CC 2014 (PSD, Profoto, 16bit, 300ppi).   When I select edit in ps, ps opens but the file does not.  I suspect that I changed a preference somehow in the process of setting up the radial menu for my wacom tablet, or when I deleted Photoshop CC, when I realized that I had both PS CC, and PS CC 2014 on my system.  Would appreciate guidance to make necessary corrections, so files open in PS.

    See Rikk's response above.
    Solution 2: Run a repair mode installation of Photoshop CC 2014 from the Creative Cloud desktop application.

  • Tabset in page fragment , the url does not changes when we select tabs...

    Hi
    Thank you for reading my post.
    i noticed that when we use a tabSet in a page fragment , selecting tabs does not change the current URL ,
    is it a correct manner ? I think when we select a tab and it opens another page the url should change.

    HI,
    There is a relevant topic on EA discussion.
    Topic :TabSet in page fragment , selecting a tab open a page but does not change the current browset url
    https://feedbackprograms.sun.com/project/forum/thread.html?cap={3F4DA363-16D3-4D4C-920C-992ECB054B6D}&forid={CC6B8562-F896-4A44-ACB6-4684BDD05E19}&topid={361DBDF0-FFDE-4618-9FC6-86E4903A9565}
    Hope this helps.
    Please post messages related to Creator 2 EA at the feedbacks programs portal. The URL is:
    https://feedbackprograms.sun.com/login.html
    Thanks,
    RK.

  • Rich text fields, field locking, and form saving/re-opening

    I have a LiveCycle form that has 2 text fields (email and info) and a button. When the button is pressed, the 2 text fields are set readonly and the button is set hidden. A rich text field is populated to provide a mailto link using the email and info text fields:
    form1.firstpage.HyperlinkSF.rtField.value.exData.loadXML(sRichText, false, true);
    This appears to work fine, but when I save the form and re-open it, the readonly fields are now editable and the button has re-appeared. If I remove the functionality associated with the rich text hyperlink, the form correctly re-opens with the readonly fields set readonly and the button is not visible.
    Any idea why populating a rich text field is affecting the form state on saving/re-opening?

    Thank you Bruce for your very helpful links.
    I see that I had incorrectly formed the rich text body tag. I had omitted:
    xmlns="http://www.w3.org/1999/xhtml" xmlns:xfa="http://www.xfa.org/schema/xfa-data/1.0/"
    I had also been unable to get the &body= of the mailto working, and see that I should have had &amp; as in:
    var sURL = "mailto:" + sTo + "?subject=" + sSubject + "\&amp;body=" + sBody;
    All appears to work as expected. Great links. Thanks!
    Robin

  • OIM 11gR2 Add combo box UDF on Create User Form

    Hi.
    We have created a new UDF on user form. It is a lookup field and has the following lookup associated: "Lookup.Users.Continente"
    "Lookup.Users.Continente" has two values, both of them checked as Enabled.
    From the form designer all the values are displayed when selecting one default value so it is reading correctly from the lookup.
    We published the sandbox after this.
    Then we created a new sandbox and tried to add that field to the Create User Page. We went to "Create User Page", customize it and add content from "Data Component - Catalog" -> "userVO" -> Select the UDF, clicked on "Add" and selected "ADF Select One Choice".
    A new combobox is added but no values are shown. We have plublished the sandbox, restarted OIM, purged cache, etc... but it still shows an empty combo box. We have also tried adding it as "ADF Input List of values" but it does not add the field to the create user page.
    Any ideas of what are we doing wrong?
    The idea is very simple, just create a field with the same behaviour as, for example,  "User Type" field. A combobox that displays the enabled values from a lookup...
    We have also tried creating the UDF cheking the searchable option, searchable picklist and all the possible combinations.
    Thanks in advance!!

    oim version is oim 11gR2 with BP4

  • When menu item is clicked i'm unable to call user form to my b1

    hi every one,
    i'm new to b1 sdk. i have written some code to handle menuevents. when an item on menu is clicked a form should open ...such that i have written some code which is shown below....but when i'm debugging ..after entering the control into createmysimpleform() it is not moving further....
    plz provide me some help in this regard...
    ======================================================================================================
    CODE
    ===================================================================================================
      Private Sub SBO_Application_MenuEvent(ByRef pVal As SAPbouiCOM.MenuEvent, ByRef BubbleEvent As Boolean) Handles SBO_Application.MenuEvent
    =============================================================================================
            If (pVal.MenuUID = "SM_VID_F1") And (pVal.BeforeAction = true) Then
                SBO_Application.MessageBox("Rajender")
                If (pVal.MenuUID = "SM_VID_F1") And (pVal.BeforeAction = true) Then
                    SBO_Application.MessageBox("My first Menu was clicked")
                    CreateMySimpleForm() ' to call the user form for which the code is written in another sub program
                End If
            Else
                If (pVal.MenuUID = "SM_VID13") And (pVal.BeforeAction = False) Then
                    SBO_Application.MessageBox("My Second Menu was clicked")
                End If
            End If
    Private Sub CreateMySimpleForm()
            Dim oItem As SAPbouiCOM.Item
            '// we will use the following objects to set
            '// the specific values of every item
            '// we add.
            '// this is the best way to do so
            Dim oButton As SAPbouiCOM.Button
            Dim oStaticText As SAPbouiCOM.StaticText
            Dim oEditText As SAPbouiCOM.EditText
            Dim oComboBox As SAPbouiCOM.ComboBox
            '// add a new form
            Dim oCreationParams As SAPbouiCOM.FormCreationParams
            oCreationParams = SBO_Application.CreateObject(SAPbouiCOM.BoCreatableObjectType.cot_FormCreationParams)
            oCreationParams.BorderStyle = SAPbouiCOM.BoFormBorderStyle.fbs_Fixed
            oCreationParams.UniqueID = "MySimpleForm"
            oForm = SBO_Application.Forms.AddEx(oCreationParams)
            oForm.Visible = True
            '// add a User Data Source to the form
            oForm.DataSources.UserDataSources.Add("EditSource", SAPbouiCOM.BoDataType.dt_SHORT_TEXT, 20)
            oForm.DataSources.UserDataSources.Add("CombSource", SAPbouiCOM.BoDataType.dt_SHORT_TEXT, 20)
            '// set the form properties
            oForm.Title = "Simple Form"
            oForm.Left = 400
            oForm.Top = 100
            oForm.ClientHeight = 80
            oForm.ClientWidth = 350
            '// Adding Items to the form
            '// and setting their properties
            '// Adding an Ok button
            '// We get automatic event handling for
            '// the Ok and Cancel Buttons by setting
            '// their UIDs to 1 and 2 respectively
            oItem = oForm.Items.Add("1", SAPbouiCOM.BoFormItemTypes.it_BUTTON)
            oItem.Left = 6
            oItem.Width = 65
            oItem.Top = 51
            oItem.Height = 19
            oButton = oItem.Specific
            oButton.Caption = "Ok"
            '// Adding a Cancel button
            oItem = oForm.Items.Add("2", SAPbouiCOM.BoFormItemTypes.it_BUTTON)
            oItem.Left = 75
            oItem.Width = 65
            oItem.Top = 51
            oItem.Height = 19
            oButton = oItem.Specific
            oButton.Caption = "Cancel"
            '// Adding a Rectangle
            oItem = oForm.Items.Add("Rect1", SAPbouiCOM.BoFormItemTypes.it_RECTANGLE)
            oItem.Left = 0
            oItem.Width = 344
            oItem.Top = 1
            oItem.Height = 49
            '// Adding a Static Text item
            oItem = oForm.Items.Add("StaticTxt1", SAPbouiCOM.BoFormItemTypes.it_STATIC)
            oItem.Left = 7
            oItem.Width = 148
            oItem.Top = 8
            oItem.Height = 14
            oItem.LinkTo = "EditText1"
            oStaticText = oItem.Specific
            oStaticText.Caption = "Static Text 1"
            '// Adding another Static Text item
            oItem = oForm.Items.Add("StaticTxt2", SAPbouiCOM.BoFormItemTypes.it_STATIC)
            oItem.Left = 7
            oItem.Width = 148
            oItem.Top = 24
            oItem.Height = 14
            oItem.LinkTo = "ComboBox1"
            oStaticText = oItem.Specific
            oStaticText.Caption = "Static Text 2"
            '// Adding a Text Edit item
            oItem = oForm.Items.Add("EditText1", SAPbouiCOM.BoFormItemTypes.it_EDIT)
            oItem.Left = 157
            oItem.Width = 163
            oItem.Top = 8
            oItem.Height = 14
            oEditText = oItem.Specific
            '// bind the text edit item to the defined used data source
            oEditText.DataBind.SetBound(True, "", "EditSource")
            oEditText.String = "Edit Text 1"
            '// Adding a Combo Box item
            oItem = oForm.Items.Add("ComboBox1", SAPbouiCOM.BoFormItemTypes.it_COMBO_BOX)
            oItem.Left = 157
            oItem.Width = 163
            oItem.Top = 24
            oItem.Height = 14
            oItem.DisplayDesc = False
            oComboBox = oItem.Specific
            '// bind the Combo Box item to the defined used data source
            oComboBox.DataBind.SetBound(True, "", "CombSource")
            oComboBox.ValidValues.Add("1", "Combo Value 1")
            oComboBox.ValidValues.Add("2", "Combo Value 2")
            oComboBox.ValidValues.Add("3", "Combo Value 3")
            '// set the form as visible
        End Sub

    hi satish, thanks for ur reply...
    i have 1 more doubt...plz try to solve this prob as soon as possible....
    i have created a user form with some lables and textboxes... and buttons...
    if i click on "adddata" button all the data i have entered in the form is inserted to DB...
    i have placed 1 more button ...so as to make already entered data in textboxes values empty.... but it is not working when i wrote the code below.....
    If (FormUID = "TestForm") And ((pVal.ItemUID = "13") And _
       (pVal.EventType = SAPbouiCOM.BoEventTypes.et_ITEM_PRESSED) And (pVal.BeforeAction = True)) Then
                Clear() ' this is update records with respect to code value entered in form to DB
            End If
    Public Sub Clear()
      oform.Items.Item("6").Refresh()
            oform.Items.Item("7").Refresh()
            oform.Items.Item("8").Refresh()
        End Sub
    is there any other method that is should call to clear the data...???

  • Unable to select user when reconnecting mailbox

    Hi there,
    I am wondering if this is a bug or if anyone can help... 
    A user was accidentally deleted in AD.  We recovered the user successfully and attempted to reconnect the user's mailbox.
    When you reconnect, a dialog opens in which we are supposed to select the AD user to whom the mailbox will be connected.
    Here is the problem:
    (Windows 2003 Domain Controller, Exchange Server 2003 on same box)
    When we type in the user's login (Dialog: Select a new user for this mailbox) and click check name it returns an error message saying it can't find it
    (An object (User or Other object) with the following name cannot be found:"PatrickK" Check the selected object types and locations for accuracy and ensure that you have typed the object name correctly, or remove this object from the selection)
    Now, this is a standard AD "can't find the user" message.  This is despite the fact that we are selecting our domain.  When we click advanced and search for all users and objects, the only objects that are returned are the users and groups of the local machine; not the domain.  This occurs even when we select our domain as the object to search.  It seems to ignore it and only search the local machine directory.  The same occurs when we try to connect the mailbox to any account on our domain.
    Is this due to Exchange and the Domain Controller being on the same box?
    Any hints or comments appreciated.
    Thanks!

    Worked for me too.  Also keeps all the permissions of users to the mailbox, but you have to add any extra email addresses back after removing exchange attributes, so make note of them when you delete attributes.  
    Thanks!

  • I am trying to use photomerge compose.  I open one standard jpeg image and one image that is my business logo in a png format.  When I select the png image, to extract the logo from it, it appears as all white and will not allow me to select the logo from

    I am trying to use photomerge compose.  I open one standard jpeg image and one image that is my business logo in a png format.  When I select the png image, to extract the logo from it, it appears as all white and will not allow me to select the logo from it.  It has worked in the past but I downloaded the update today and photomerge will not work correctly.  Any ideas?

    hedger,
    How do you expect anyone to help when we don't know a darned thing about the file, abut your setup, exact version of Photoshop and your OS, machine specs, etc.?
    BOILERPLATE TEXT:
    Note that this is boilerplate text.
    If you give complete and detailed information about your setup and the issue at hand,
    such as your platform (Mac or Win),
    exact versions of your OS, of Photoshop (not just "CS6", but something like CS6v.13.0.6) and of Bridge,
    your settings in Photoshop > Preference > Performance
    the type of file you were working on,
    machine specs, such as total installed RAM, scratch file HDs, total available HD space, video card specs, including total VRAM installed,
    what troubleshooting steps you have taken so far,
    what error message(s) you receive,
    if having issues opening raw files also the exact camera make and model that generated them,
    if you're having printing issues, indicate the exact make and model of your printer, paper size, image dimensions in pixels (so many pixels wide by so many pixels high). if going through a RIP, specify that too.
    etc.,
    someone may be able to help you (not necessarily this poster, who is not a Windows user).
    a screen shot of your settings or of the image could be very helpful too.
    Please read this FAQ for advice on how to ask your questions correctly for quicker and better answers:
    http://forums.adobe.com/thread/419981?tstart=0
    Thanks!

Maybe you are looking for

  • Error in billing document while posting to accounting

    Hi all, We are geetting an error while the billing document is moving to accounting the error is Please assign a Valid Material code in the Assignment Field please give your suggestions on this and give the what are all the configurations need to do

  • Servlets & JDBC

    Hi Could someone tell me how to delete or ammend a specific field in a database through a servlet. I have written a servlet that writes to a database but I need it to ammend or delete a already existing field. Any help would be appreciated. By the wa

  • N80 Low battery warning

    Hello people, Just a quick question. Is there any way you can set the N80 to play a sound when the battery is low? I ask as I always charge the phone when it gives me the "battery low" message, but I very rarely see this message flash on the screen a

  • How to set default variant for selection screen

    Hi, I want to make one variant as default for selection screen for one user. For eg., take COOIS. For the selection screen, i have 3 variants. But i want one variant to be default. Thsi is not for all users. Thsi is for particular user. I am not seei

  • Error message ALL THE TIME

    not really but it says something like... This accessory is not compatible with the iphone... blah blah blah would you like to switch to airplane mode to avoid audio interference. And after i restore it it lets me unlock it with sound then it pops bac