Skip to main content

Hi , can anyone tell me  how to update the record in mobile  .when we create a new screen we are giving the primary table and selecting the fields  for the screen but when we enter the data the data is not stored , it just disappears what is the step that i am missing .

You will need to create either a SAVE or NEXT button. Then you need to add a script to this button to actually save the data. The script you’ll need is something along these lines:

if (initialValuesHaveChanged())
{
    if (saveChanges())
    {
        // save worked - so add in here what screen to go to next
    }
    else
    {
        // save failed - so an alert message perhaps
    }
}
else
{
    // Nothing was changed - so no need to save, put here what to happen next
}

 


Reply