According to the object module, the 2nd argument to populateNow needs to be a STCollection. I tried to pass an array of strings and it doesn't like that. Set pNames = s.typeForName("ChangeRequest").Properties Dim pppp As Integer jj = 0 For pppp = 1 To pNames.Count - 1 If pNames(pppp).Name = "CRNumber" Or pNames(pppp).Name = "Synopsis" Or pNames(pppp).Name = "Usr_ProjectSpecific1" Then pNameStrs(jj) = pNames(pppp).Name jj = jj + 1 End If Next fl2.populateNow "ChangeRequest", pNameStrs, 0
↧