Skip to Content
0
Former Member
May 25, 2016 at 09:19 AM

Add value for user defined table

23 Views

how do i add value incremented by 1 for Code and Name in user defined table?

below is my script

oUserTable = init.company.UserTables.Item("Table_Log"); oUserTable.Code = "Value"; //incremented by 1 oUserTable.Name = "Value"; //incremented by 1 oUserTable.UserFields.Fields.Item("U_Message").Value = _ServicesStarted; oUserTable.UserFields.Fields.Item("isError").Value = "Y"; oUserTable.UserFields.Fields.Item("Date").Value = DateTime.Now; oUserTable.Add();