Skip to Content
author's profile photo Former Member
Former Member

User Data Table - Update Data

hi all

i am using a user table. the insertion is done with out any issue.

How can i edit the data . if any one has code please reply

Thanks

Add a comment
10|10000 characters needed characters exceeded

Related questions

1 Answer

  • Posted on May 21, 2008 at 10:38 AM

    Hi,

    in C# you use:

    oUserTable = oCompany.UserTables.Item("MyTableWithout@");
    if ( oUserTable.GetByKey(My_Code_Value) )
    {
       oUserTable.UserFields.Fields.Item("U_AB").Value = "B";
       oUserTable.UserFields.Fields.Item("U_YN").Value = "N";
       resultMessage = oUserTable.Update();
       if ( resultMessage != 0 ) // Check the result
       {
          oCompany.GetLastError(out resultMessage, out ErrMsg);
       }
    }
    

    i hope it helps you, if yes ... 😊

    regards

    David

    Add a comment
    10|10000 characters needed characters exceeded

Before answering

You should only submit an answer when you are proposing a solution to the poster's problem. If you want the poster to clarify the question or provide more information, please leave a comment instead, requesting additional details. When answering, please include specifics, such as step-by-step instructions, context for the solution, and links to useful resources. Also, please make sure that you answer complies with our Rules of Engagement.
You must be Logged in to submit an answer.

Up to 10 attachments (including images) can be used with a maximum of 1.0 MB each and 10.5 MB total.