on 06-08-2011 1:00 PM
Experts,
I am using following code for Enter Entries in User Define Object / User Define Table .
Dim ret As Long
Dim Str As String
Dim oUserTable As SAPbobsCOM.UserTable
oUserTable = oCompany.UserTables.Item("MCHAR")
oUserTable.Code = "A"
oUserTable.Name = "Albert"
oUserTable.Add()
If ret 0 Then
oCompany.GetLastError(ret, Str)
MsgBox(Str)
Else
MsgBox("Value to field: '" & oUserTable.UserFields.Fields.Item("U_AlbUDF").Name & "' was updated successfuly to " & oUserTable.TableName & " Table")
End If
But I am Facing following Error :
oUserTable = oCompany.UserTables.Item("MCHAR")
Invalid field name
Please guide me on this
Thanks & Regards:
Pravin Ba
Hi,
You have posted 2 identical threads. Please close this.
Thanks,
GOrdon
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
111 | |
12 | |
11 | |
6 | |
5 | |
4 | |
4 | |
3 | |
3 | |
3 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.