G
Guest
Hi,
MSP2k: I'm trying access the custom outline code1 look up
table to populate a drop down list using
CustomFieldValueListGetItem()
This fails with a 1004. Here is the code. Can anyone see
what's wrong. It works for all the other custom fields
used for populating drop down lists and only seems to fail
on this one. I took the For/Next loop out to simplify the
example. Thanks for any help you can offer.
Dim lstCnt As Integer
Dim lstVal As String
Dim objItm As Object
Set objItm = cmb_Release
' Add a blank selection
objItm.AddItem ""
objItm.List(0) = ""
'
objItm.List(1) = CustomFieldValueListGetItem
(pjCustomTaskOutlineCode1, pjValueListValue, lstCnt)
Exit Sub
MSP2k: I'm trying access the custom outline code1 look up
table to populate a drop down list using
CustomFieldValueListGetItem()
This fails with a 1004. Here is the code. Can anyone see
what's wrong. It works for all the other custom fields
used for populating drop down lists and only seems to fail
on this one. I took the For/Next loop out to simplify the
example. Thanks for any help you can offer.
Dim lstCnt As Integer
Dim lstVal As String
Dim objItm As Object
Set objItm = cmb_Release
' Add a blank selection
objItm.AddItem ""
objItm.List(0) = ""
'
objItm.List(1) = CustomFieldValueListGetItem
(pjCustomTaskOutlineCode1, pjValueListValue, lstCnt)
Exit Sub