ChooseFrom List do not change the form mode

Dear Sir,
I have crated a form (using xml) based on a UDO.
In  this form I have a chooseformlist box for the client code. WHen I am in OK mode and I modify the client code the form does not goes to UPDATE mode. To resolse this issue I ahve added the following ling and the choosefromlist event occur:
If pVal.FormMode = "1" Then
   oForm.Mode = SAPbouiCOM.BoFormMode.fm_UPDATE_MODE
End If
Now I am facing another problem is that When I modify the cleint code and the form goes to UPDATE mode and I go to a new record the system does not notify me that the data entered will be deleted if i continue the action without saving. You know the standard behavior of SAP BO
Kindly help me with this isssue.
Best Regards

Hi!
I use the MenuEvent-Handler to solve this.
Code in MenuHandler:
            ' Switching to add, find and the yellow arrows
            If _
                pVal.MenuUID = "1281" Or _
                pVal.MenuUID = "1282" Or _
                pVal.MenuUID = "1288" Or _
                pVal.MenuUID = "1289" Or _
                pVal.MenuUID = "1290" Or _
                pVal.MenuUID = "1291" _
            Then
                If pVal.BeforeAction Then
                    If Not OkLooseChangedData() Then BubbleEvent = False
                End If
            End If
And the called function is:
Private Shared Function OkLooseChangedData() As Boolean
        Dim retVal As Int16
        OkLooseChangedData = False
        If oForm.Mode = SAPbouiCOM.BoFormMode.fm_UPDATE_MODE Then
            retVal = _
                SboCon.SboUI.MessageBox( _
                    "Changed data will be lost!" & vbCrLf & _
                    "Continue?", _
                    2, _
                    AddOnMain.GetResourceManager(AddOnMain.AddOnResources.Common).GetString("MSG_YES"), _
                    AddOnMain.GetResourceManager(AddOnMain.AddOnResources.Common).GetString("MSG_NO") _
            If retVal = 2 Then Return False
        End If
        OkLooseChangedData = True
    End Function
No guarantee that it works for ALL cases
Cheers,
Roland

Similar Messages

  • 2 Select lists do not change the value

    Hi all,
    I am having a situation. I have 2 select lists . The second one is dependent of the first one. Data are retrieved perfectly.
    These select lists are done in page 0 and they are used in the referenced page. Apexlib is used in the page 0
    When I change the item of the second list, the returned value used in a report, is ok. It takes the correct one.
    If I change the item of the fist select list, the returned value of the second select list does not change(the displayed value are correct). the report is run (after changing the first select list) but the wrong returned value of the second list is taken.
    The correct value of the second one is taken only if page is submited or we change the option.
    it seems that it keeps the last value of the second list according to the previous selection.
    Both select list is without submit.
    How can I make a "refresh" of the returned values of the second select list (the records are ok) after changing the first one?
    Thanks in advance
    Raf

    Hi Rafael,
    is ApexLib integrated correct? Did you check against http://apexlib.oracleapex.info/howto_integrate_manual_steps.html ?
    Or did you try and install the ApexLib Feature Demonstration Application and see if it works there?
    brgds,
    Peter
    Blog: http://www.oracle-and-apex.com
    ApexLib: http://apexlib.oracleapex.info
    Work: http://www.click-click.at

  • Hitting F11 in the form does not change the colour to blue

    Hi All,
    Hitting F11 in the form does not change the colour of the queryable fields to blue. Those fields remain white in color. The query functionality is working properly. The problem is only with the color not changing to blue. Is there any form property that needs to be checked? Other forms in this instance are working as expected.
    Thanks in Advance

    F11 is not generally thought of as the key to make fields blue, is it? Are you using E-Business Suite? If so you should probably ask this question in the apps Forum: General EBS Discussion

  • Compiling fmb module in Form builder does not change the fmx file

    Hi,
    I am using Oracle Forms Builder version 10.1.2.0.2 To edit 10g2 forms.
    In the last month, it happened twice that an fmb file I edited in the forms builder did not change the fmx aftrer compilation.
    namely, when I opened the fmx file in the application, I didn't see the changes, but they were present in the fmb form opened in the Form Builder.
    Usually when we have the fmx file open in the application, the form builder won't let me compile it - showing the following error:
    FRM-30087: Unable to create form file
    When this error happens and the changes are not reflected, this error message doesn't appear even though the fmx file is open in the application.
    I tried deleting the fmx file, and then opening it in the application to see if there is another copy of it.
    The application gave an error 40010 - can't read form.
    When I recompiled the file, the fmb didn't show any changes either, even though the file was created again in the file system.
    I could not find a way to consistently reproduce this problem.
    Did you ever encounter such a problem?
    I noticed the edit -> preferences -> general menu has the option to "save befor building".
    Does it mean the Form Builder keeps a cached copy of the fmb in memory, and when this error happens it compiles the original file system fmb file rather than the cached memory copy with the changes?
    Thanks,
    Eyal Azran
    Configuration Management Engineer - Isracard

    Hey Craig,
    Thank you for your response.
    I verified the version of the forms on the Application Server and they are the same.
    This problem is quite tricky to reproduce, it happens once every few months!
    (we have about 10 developers, who are developing and testing on multiple servers - so far two of the servers showed this issue)
    I've determined that the reason this happens is that:
    1. The compiled fmx is vied in the application.
    ** for some reason, the frmweb.exe process on the server does not terminate properly **
    2. The developer compiles the form again in Form Builder
    3. The Form Builder does not detect that the form is open in the mal-terminated process
    There usually is an error message here saying the fmx module is locked - this error happens because this message is not displayed.
    I will attach an image of the process monitoring tool we use ( ProceXP ) showing the ghost process that locks the fmx module.
    <edit>oops, I guess I can't attach the image- I can e-mail it if you'd like</edit>
    If anyone has an idea for a solution, this will help immensely.
    Eyal
    Edited by: Hey_Al on 06:04 06/05/2010

  • In my iPhone the images and videos are not changing into landscape mode

    In my iPhone the images and the videos are not changing into landscape mode. And it is switching off  automatically

    Hi vijenderreddy,
    Thanks for using Apple Support Communities.  This article has some steps to try if your iPhone is unexpectedly powering off:
    iPhone: Hardware troubleshooting
    http://support.apple.com/kb/ts2802
    Will not turn on, will not turn on unless connected to power, or unexpected power off
    Verify that the Sleep/Wake button functions. If it does not function, inspect it for signs of damage. If the button is damaged or is not functioning when pressed, seek service.
    Check if a Liquid Contact Indicator (LCI) is activated or there are signs of corrosion. Learn about LCIsand corrosion.
    Connect the iPhone to the iPhone's USB power adapter and let it charge for at least ten minutes.
    After at least 30 minutes, if:
    The home screen appears: The iPhone should be working. Update to the latest version of iOS if necessary. Continue charging it until it is completely charged and you see this battery icon in the upper-right corner of the screen . Then unplug the phone from power. If it immediately turns off, seek service.
    The low-battery image appears, even after the phone has charged for at least 20 minutes: See "iPhone displays the low-battery image and is unresponsive" symptom in this article.
    Something other than the Home screen or Low Battery image appears, continue with this article for further troubleshooting steps.
    If the iPhone did not turn on, reset it while connected to the iPhone USB power adapter.
    If the display turns on, go to step 4.
    If the display remains black, go to next step.
    Connect the iPhone to a computer and open iTunes. If iTunes recognizes the iPhone and indicates that it is in recovery mode, attempt to restore the iPhone. If the iPhone doesn't appear in iTunes or if you have difficulties in restoring the iPhone, see this article for further assistance.
    If restoring the iPhone resolved the issue, go to step 4. If restoring the iPhone did not solve the issue, seek service.
    For the issue of images not changing orientation, see this article:
    iOS: Screen does not rotate
    http://support.apple.com/kb/ts3805
    Cheers,
    - Ari

  • Placed an image in a new Illustrator document.  Tried to change the Output Mode in the Output Dialog but could not select "Separations Mode".

    Placed a DCS2 document image in a new Illustrator document. 
    Tried to change the Output Mode in the Output Dialog but could not select "Separations Mode".

    I would check with the makers of ULTRASEPS.
    I never heard of it, just checked their website, I don't think they support Illustrator:
    What do I need to use UltraSeps?
    UltraSeps requires Adobe Photoshop version CS2 or higher on Windows and Macintosh.
    Its also 100% compatible with Photoshop Creative Cloud and Creative Cloud 2014.

  • How can we track the entire event in which the form mode gets changed?

    If the form is in OK Mode and if the user edits any field(Including UDF Window Fields). form mode changes to Update...So at that time, how can we track the entire event in which the form mode gets changed?
    Thanks
    Hari

    Dear hari angamaly,
    You could get the form mode by FormMode Property in ItemEvent Object in UI API.
    Best Regards
    Jane Jing
    SAP Business One Forums team

  • Master List "Master List" is not a valid e-mail address because it is not of the form user@host.

    Have used Master Lists for years without issue. After today's update all I get is the above error message.

    Further update:
    In the bug:
    * https://bugzilla.mozilla.org/show_bug.cgi?id=985245
    comment 5 says
    This has been reported as:
    * https://bugzilla.mozilla.org/show_bug.cgi?id=1060901
    If you have an account on Bugzilla, please consider voting for that issue.
    Several other people have sent in the same support request as you, noting this happened after they upgraded to version 31.1.
    The exact error message is: XXXX is not a valid e-mail address because it is not of the form user@host. You must correct it before sending the e-mail.
    This happens when your mailing list description includes several words separated by spaces.
    If you choose to update to the recent version, although not ideal, these workarounds should let you use your mailing lists until a proper fix is implemented:
    * While composing an email open the address book and select the list you are trying to send to, highlight all the names in the list and drag them to the To: box. This uses your existing data without modifying it.
    * Replacing the blanks " " between the words in such lists' descriptions with an underscore "_". This requires modifying your mailing list(s) description(s).

  • My original apple id which i use for itunes is not in the form of an email address and because of that i cannot access the cloud, if i change my id how will it affect my itunes account

    My original apple id which i use for itunes is not in the form of an email address so i cannot access the cloud.  if i change my apple id will it affect my itunes account?

    Welcome to the Apple community.
    You can use your primary ID or your alternate ID to log into iCloud. If you aren't sure what these are, you can find out at...
    My Apple ID

  • Toshiba 23WL56G: cant not change the PC RGB mode settings anymore

    Hello,
    I have a problem with my (pretty old) 23WL56G: I changed some settings in the PC RGB mode and due to that I cant not change the settings any more (the image is flickering and the menu is closing itself any seconds)
    Q: Is der any method to factory reset the tv ?
    There is no menu entry for this so there is probably some code I can enter in the menu ? (or some button combination I have to press ?)
    Thanks in advance

    The TV is really pretty old since there are no info in the internet about this model.
    I assume such old TV did not support an reset functionality. Sorry but any other method isnt known to me. I dont even known what you have changed exactly
    So this looks like searching for the famous needle in the haystack. :(

  • My iPad 3 will not change the orientation to landscape mode. I have checked the orientation switch and turned it off for a reset neither of which fixes the problem.

    My iPad 3 will not change the orientation to landscape mode. I have checked the orientation switch and turned off for a reset. Neither fixes the problem. What can I do?

    Is it lock in the Control Center? (tap to enlarge)

  • How can I get my installed plugins to show up in Logic after ive installed the plugin discs? ive tried changing the bit mode. it STILL doesn't work.???

    I tried installing a program but when i open logic and scan the audio units, it doesnt come up. Even if i change the bit mode, it still doesnt show up. I even tried restarting my machine..Can anyone help me or give me some ideas.
    i just wanna get this plugin to work.

    Have you confirmed that the plug-in installed to one of the locations where Logic might find it? Most plug-ins go to /Library/Audio/Plug-ins/Components. Some (rarely) install to ~/Library/Audio/Plug-ins/Components (where "~" is your user folder). Look in both locations and see if the plug-in is actually there.
    When installing plug-ins, if you are offered options as to what format to install, be sure to include Audio Units. Logic will not see other formats like VST, RTAS, AAX, TDM, etc. If you use other software that recognizes those formats, it's fine to install them too, just be sure you don't deselect Audio Units.
    Finally, if you're sure the plug-in is installed to the right place, open the Audio Units Manager in Logic and check to see if the plug-in passed validation. Go to the main menu and choose Logic Pro > Preferences > Audio Units Manager. Check to see if your plug-in is listed there. If there's not a check mark next to it in the "Logic" column, that means it failed validation. If so, the "Compatibilty" column will tell you why. Keep in mind that if the AU is 32-bit, you have to launch Logic in 32-bit mode to see it here. Likewise, 64-bit plug-ins show up in the manager in 64-bit mode.

  • Changing the Document Mode to IE9

    I exported my Captivate project for HTML5, and the project works on my MAC and PC, but when testing it on another co-workers computer using IE9, she was unable to play the project, index.html. When she opened index.html, this is the response she received in her browser,
    "The content you are trying to view is not supported in the current Document Mode of Internet Explorer. Change the Document Mode to Internet Explorer 9 Standards and try to view the content again.
    To change the Document Mode, press F12, click Document Mode: , and then select Internet Explorer 9 Standards."
    Is this something I can change in the CSS document within the project folder?
    Any advise would be helpful.

    IE9 is not all that HTML5 ready.  I would recommend you output for both HTML5 and HTM/SWF when you publish.  If you do, you should see a file called Multiscreen.html.  Ask your coworker to try that file instead.

  • Adobe Reader XI did not save the form data (unlike previous versions). Any way to recover file?

    Adobe Reader XI did not save the form data (unlike previous versions). Any way to recover filled form with data from temp locations?
    I was not aware that ctrl+s no longer works in reader and closed the PDF after savign it(with ctrl+s). However ,the data is lost and there seems to be no way to recover it.
    I cannot find any temp files created by Reader on my system.
    Also to my surprize(and shock), the reader did not even show a warning before closing the PDF. Does anybody know if/where can I recover the file from?
    Guys, Please reply ASAP if you have got any sort of solution!

    Hi Pat,
    Are you using Adobe Reader XI? And not Acrobat. It does not ask me to save the form if there are unsaved changes.
    I have used previous versions of reader for saving this form data and it did allow me to save it with ctrl+s. And those versions did prompt me to save the changes before closing.
    I guess I should not have updated the reader.

  • HT5312 I can not change the answer to my secret questions

    Greetings
    I can not change the answer to my secret questions
    Thank you

    You need to contact Apple to get the questions reset. Click here, phone them, and ask for the Account Security team, or fill out and submit this form.
    (94138)

Maybe you are looking for