ramziabk
asked on
Add a New Filed to GP
I added a DUOS field on GP. The field name is Title. The code was as below. Now I need to add another field category. should I create a new collection and object?
Private Sub OK_Changed()
Dim CMATitleCollection As DUOSObjects
Dim CMATitleObject As DUOSObject
Set CMATitleCollection = DUOSObjectsGet("CMA Title")
If EmployeeID.Empty = False Then
Set CMATitleObject = CMATitleCollection.Item(Em ployeeID)
CMATitleObject.Properties( "Title") = Title
End If
End Sub
Private Sub OK_Changed()
Dim CMATitleCollection As DUOSObjects
Dim CMATitleObject As DUOSObject
Set CMATitleCollection = DUOSObjectsGet("CMA Title")
If EmployeeID.Empty = False Then
Set CMATitleObject = CMATitleCollection.Item(Em
CMATitleObject.Properties(
End If
End Sub
New object, but not new collection.
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.