How to operate Ok and Update Button Simultaneously in SAP B1

Hi All,
I have placed a button in screen painter. I have given unique ID as 1. ie. It takes Caption as OK and on click of that Button Caption is changed to Update. I want to update the database on click of Update. How do I do this?
Regards

HI,
this are different form modes, as u know ... se boFormMode constanst
see more information at your locally installed sdk package at
C:\Program Files\SAP\SAP Business One SDK\Samples\COM UI\VB.NET\04.WorkingWithXML
This is a good example
regards,
Janos.

Similar Messages

  • My screen continually freezes up.  I've tried closing all apps that are openfreezby double clicking on the home button and closing them. I have held down on the home button and start button simultaneously and it still freezes. Can someone out the help me?

    MY screen continually freezes up. I've tried closing all apps that are open and have held down the home button and start button simultaneously but neither helped. Can someone out there help me?

    Well the next couple of things to try would be to reset all settings, and if that doesn't help, it's probably time to restore the iOS software.
    Settings>General>Reset>Reset all settings. That will take all settings on the iPad back to factory defaults. It will not delete anything and you will not lose any data, but you will have to enter all settings again ...WiFi passwords, enable Siri, select your wallpaper, adjust brightness, turn on location services and set privacy settings, etc, etc.
    You can read about restoring the software here.
    iTunes: Restoring iOS software - Support - Apple
    Should you decide to restore the iOS, it is extremely important that you back up first so that you can restore from the backup and then sync with iTunes afterward in order to restore all content back to the iPad. It is all covered in the kb article.
    If you do not sync with iTunes, then I assume that you backup with iCloud. In that case you can erase the device in Settings>General>Reset>Erase all content and settings. Once again, backing up with I loud is I,operative before you do this so that you can restore from the iCloud backup after you erase the iPad and start over again with activation.
    You should read this first before you restore from either backup.
    How to backup and restore from a backup
    http://support.apple.com/kb/HT1766
    This is a must read before you erase the iPad should you decide to go that route.
    iOS: Understanding 'Erase All Content and Settings' - Support - Apple

  • Hi, I need help. My iPad 2 won't start even if I already went through pressing the home and start buttons simultaneously. I also tried charging the battery for more than 30 minutes. Still won't power on. what should I do?

    My iPad 2 won't start even if I already went through pressing the home and start buttons simultaneously. I also tried charging the batteries for more than 30 minutes (done this procedure twice) but it won't still power on. What should I do next? Could it be a hardware issue then?

    Frozen or unresponsive iPad
    Resolve these most common issues:
        •    Display remains black or blank
        •    Touch screen not responding
        •    Application unexpectedly closes or freezes
    http://www.apple.com/support/ipad/assistant/ipad/
    iPad Frozen, not responding, how to fix
    http://appletoolbox.com/2012/07/ipad-frozen-not-responding-how-to-fix/
    iPad Frozen? How to Force Quit an App, Reset or Restart Your iPad
    http://ipadacademy.com/2010/11/ipad-frozen-how-to-force-quit-an-app-reset-or-res tart-your-ipad
    Black or Blank Screen on iPad or iPhone
    http://appletoolbox.com/2012/10/black-or-blank-screen-on-ipad-or-iphone/
    What to Do When Your iPad Won't Turn On
    http://ipad.about.com/od/iPad_Troubleshooting/ss/What-To-Do-When-Your-Ipad-Wo-No t-Turn-On.htm
    iOS: Not responding or does not turn on
    http://support.apple.com/kb/TS3281
    Home button not working or unresponsive, fix
    http://appletoolbox.com/2013/04/home-button-not-working-or-unresponsive-fix/
    Fixing an iPad Home Button
    http://tinyurl.com/om6rd6u
    iPad: Basic troubleshooting
    http://support.apple.com/kb/TS3274
     Cheers, Tom

  • HT1320 My Ipod nano says its locked and screens on and it's staying frozen.  I have tried pressing the menu and select button simultaneously and still not reset.  What should I do?.

    My Ipod nano says its locked and screens on and it's staying frozen.  I have tried pressing the menu and select button simultaneously and still not reset.  What should I do?

    Right click on the iPod Nano icon.  "Eject" should pop up.  At least that is the way it works on Macs. 
    Just found this: 
    iPod: How to Safely Disconnect if iPod doesn't eject

  • Iphone won't turn on After blue screen of death, even after press sleep and home buttons simultaneously.

    I was watching YouTube on my iPhone 5 and all the sudden the screen turned blue and phone stop responding to any buttons. I some how pressed the volume buttons and power button and the phone went off but since then it can't turn back on. I tried to press the power and home button simultaneously but still nothing. After that I removed the case from my phone and noticed there was moisture on the back of the phone, I didn't drop the phone in water. Any suggestion how to turn on this piece of crap. Thanks!

    hopefully they'll have your iphone in stock!!! if they do, they should just replace the phone.

  • I connected my iphone 4s that i unlocked for t-mobile. I plugged it into itunes, and it asked me to update to ios6. I accepted the download and update button. it told me it needed 8 hours. i closed my laptop. not shut down. i opened and it wants restorin?

    I connected my iphone 4s that I unlocked for t-mobile. I plugged it into itunes, and it asked me to update to ios6. I accepted the download and update button. It told me it needed 8 hours. I closed my laptop, not shut down. I re-opened the laptop a few hours later, and it wants restoring?? Whats going on?! i want my iphone back! PLEASE HELP. I'M LOST!!! (I synced my iphone to my computer if that helps at all).

    Yes, and, I try to restore. I have the T-Mobile sim card in it just to clarify. It will not let me get passed that, it does not accept the t-mobile sim card. i tried restoring it using wifi, cellular, and i cant get i tunes. I am scared that if i take the tmobile sim card out and put the at&t one in just to complete the restoration process that the iphone will lock again and not read the tmobile sim card, then all my hard work has gone for nothing. ( this whole process was caused by me trying wanting to empty my pictures onto my computer because i did not have any storage space left). <--- that may not be as important, but i included it just because.

  • How to use Checkbox  and radio buttons in BI Reporting

    Hi BW Experts,
       My Client has given a report in ABAP format and the report has to be develop in BI.It contains Check boxes and the radio buttons. I don’t know how to use Checkboxes and radio buttons in Bex.For using this option, do we need to write a code in ABAP.Please help on this issue.
    Thanks,
    Ram

    Hi..
    Catalog item characteristic
    - Data element
    - Characteristic type
    Entry type
    List of catalog characteristics
    Designer
    Format (character)
    Standard characteristic
    Alternative: Master characteristic
    (used for automatic product
    assignment)
    Simple entry field
    Alternatives:
    Dropdown listbox or radio button
    list

  • HT1414 How do i restore and update my iphone 4S without losing all of my photos and videos and contacts?

    how do i restore and update my iphone 4S without losing my contacts photos and videos??

    Use the device as designed.
    Pictures and videos taken with the device are designed to be regularly copied off the device to a computer.
    Contacts are designed to be synced to a supported application on the computer or a cloud service.
    Media should exist in iTunes on the computer.
    If the device has been used as designed then at most, only a miniscule amount of data is at risk.  That data being pics/vids taken since the last time they were copied off the device.  Also at risk is app data created since the last backup to iTunes or iCloud.
    If the device is in recovery mode and it has not been used as designed, it is too late to salvage the data.
    How to update iDevices

  • How to make next and previous button function

    Hello
    Can anybody help me with how to achieve next and previous button function such as the one at www.bestbuy.com?
    I would appreciate any help or suggestion.
    Thank you!

    if you're not familiar with flash it might be easiest to place your initial "page" in frame 1, the 2nd (or next) page in frame 2, the 3rd/next page in frame 3 etc.
    place your previous and next buttons in their own layer that spans the main timeline (which will have as many frames as you have "pages").  give them instance names (say prevBtn and nextBtn).
    you can then use the following code placed in frame 1:
    var tl:MovieClip=this
    prevBtn.onRelease=function(){
    tl.prevFrame();
    nextBtn.onRelease=function(){
    tl.nextFrame();

  • How to handle "ok" and "cancel" button of dialog popup?

    Hello everyone,
    I'm using a dialog with type="okCancel". My question is how to handle ok and cancel button of this popup window. Here is my code below:
    <af:popup id="kriterPopup">
    <af:dialog title="Kriter Seçiniz" type="okCancel" inlineStyle="width:500px;height:400;" id="d2"
    dialogListener="#{BasvuruDegerlendirmeBean.kriterDialog}">
    <af:selectManyCheckbox label="Kriterler :" id="smc2"
    binding="#{BasvuruDegerlendirmeBean.kritersCheckbox}">
    <af:forEach items="#{BasvuruDegerlendirmeBean.kriterList}" var="item">
    <f:selectItem itemLabel="#{item.ybKriter.tur}" itemValue="#{item.ybKriter.tur}" id="si3"/>
    </af:forEach>
    </af:selectManyCheckbox>
    </af:dialog>
    </af:popup>
    I want to handle ok and cancel button of this window, and redirect to the pages which I want.
    Can anyone help me how I can do?
    Thanks, with my regards.
    Ali

    You need dialogListener..
        public void dialog1_dialogListener(DialogEvent dialogEvent) {
            if (dialogEvent.getOutcome().equals(DialogEvent.Outcome.yes)){ //for Yes
            }else{ //for Cancel
        }

  • Anyone.know.how.to.get.spacebar.and.delete.button.to.work??

    anyone.know.how.to.get.spacebar.and.delete.button.to.work??

    I think you are asking this in the wrong forum.  This is for TBD issues.

  • How to enable save and archieve button in smartform output?

    How to enable save and archieve button in smartform output?

    Hi,
    While populating your output parameters, use parameter TDARMOD (Print Archieve Mode: 1,2 3).
    Hope this will hint you how to resolve the issue.
    BR,
    Vinit

  • How to Place Approve and Reject Button in every row to approve and reject the particular order in sapui5

    Hi Experts,
       How to Place Approve and Reject Button in every row  to approve and reject the particular order in sapui5.
      Please Kindly help me.
    Thanks & Regards
    Chitti Babu

    Hi Chitti,
    You can achieve this using sap.m.CustomListItem.
    View :
    <core:View xmlns:core="sap.ui.core" xmlns:mvc="sap.ui.core.mvc"
      xmlns:l="sap.ui.layout" xmlns="sap.m" controllerName="demoallinonegrid.tablewithscroll"
      xmlns:html="http://www.w3.org/1999/xhtml">
      <Page title="Title">
      <content>
      <ScrollContainer horizontal="true" width="100%">
      <Table id="empTable">
      <headerToolbar>
      <Toolbar>
      <Label text="Employees"></Label>
      </Toolbar>
      </headerToolbar>
      <columns>
      <Column width="12em">
      <Label text="Employee Id"></Label>
      </Column>
      <Column width="12em">
      <Label text="Last Name"></Label>
      </Column>
      <Column width="12em">
      <Label text="First Name"></Label>
      </Column>
      <Column width="12em">
      <Label text="Title"></Label>
      </Column>
      <Column width="12em">
      <Label text="Approve"></Label>
      </Column>
      <Column width="12em">
      <Label text="Reject"></Label>
      </Column>
      </columns>
      </Table>
      </ScrollContainer>
      </content>
      </Page>
    </core:View>
    Controller:
    var model = new sap.ui.model.json.JSONModel();
      model.loadData("http://services.odata.org/Northwind/Northwind.svc/Employees?$format=json",null,false,'GET',false,null);
      this.getView().byId("productTable").setModel(model);
      var template = new sap.m.ColumnListItem({
      cells:[
            new sap.m.Text({text:"{EmployeeID}"}),
            new sap.m.Text({text:"{LastName}"}),
            new sap.m.Text({text:"{FirstName}"}),
            new sap.m.Text({text:"{Title}"}),
            new sap.m.Button({text:"Approve"}),
            new sap.m.Button({text:"Reject"})
      this.getView().byId("empTable").bindAggregation("items","/value",template);
    Output:
    Regards,
    KK

  • Connecting and Updating External Database from SAP

    Connecting and Updating External Database from SAP
    How can i connect SAP Database to External database?
    How can i update external databas from SAP withouting using BI/BW, Workflow or Net Weaver?
    If anyone know please let me inform.
    Thanks in Advance.
    Jahnavee Trivedi

    Steps
    1. Create an entry in tnsnames.ora for the remote oracle DB
    2. Test sqlplus user/pass@remote 
    3. create a synonym which points to a table at remote DB check docs.oracle.com
    4. user ABAP code execute SQL to insert data into local synonym which inturn updates the remote DB.
    I have done this in the past, it works great.
    It requries, DBA skills + ABAP programming
    -AJ

  • HT5654 my iphone 5 fell did not break but went completely black and non responsive. When I plug it to the computer I get a white screen with black apple. When I push both the Top and Homne buttons simultaneously I get the charger picture plug end plus arr

    my i phone 5 was dropped, didn't break but went completerly black screen and nonresponsive. I pushed both the home button and top button no response. I plugged it to the computer it gave me white screen with black apple. I pushed the home and the top went black then gave the itune and the charging plug picture. I tried to download and update, the message came as couldn't restore due to unknow error. Any help??

    Try:
    - iOS: Not responding or does not turn on
    - Also try DFU mode after try recovery mode
    How to put iPod touch / iPhone into DFU mode « Karthik's scribblings
    - If not successful and you can't fully turn the iOS device fully off, let the battery fully drain. After charging for an least an hour try the above again.
    - Try on another computer
    - If still not successful that usually indicates a hardware problem and an appointment at the Genius Bar of an Apple store is in order.
    Apple Retail Store - Genius Bar       

Maybe you are looking for