Skip to Content
avatar image
Former Member

Get Value from updating udo

Hello Experts ,

I would like to get the value from the update of a udo .I tried something like this(lretcode = oGeneralService.Update(oGeneralData)) but i received error .Any idea ?

Kind Regards ,

Ifigeneia Koumbarda

Add comment
10|10000 characters needed characters exceeded

  • Get RSS Feed

1 Answer

  • Jun 06, 2017 at 08:31 AM

    Hi Ifigeneia,

    GeneralService.Update() does not returns you a value.
    If the update failed, it will throws an error, you can get the error message in the exception caught in your try catch block.

    If the update succeed, it would just go on. There is nothing to return to you since the fact that you are doing an update, means you already know which record you are updating.

    Regards
    Edy

    Add comment
    10|10000 characters needed characters exceeded