Search for Multiple AFElements in one call?

Discussion created by bacherc on Jun 13, 2012
Latest reply on Jun 22, 2012 by bacherc

I am looking for a way to search for multiple masks when doing an AFElement search. Is this possible within the AFSDK? I was not able to find a way to do this with the AFElement.FindAFElements call or any other calls. For example, I am interested in doing the equivalent of looking up AFElements with multiple nameFilter/query strings using AFElement.FindElements; so if I were to look for AFElements with the names Element1, Element2, and Element3, I could search and find all of those AFElements in one call.


Something like this....


Dim QueriedAFElements As AFNamedCollection(Of AFElement) = AFElement.FindElements(myDB, Nothing, SearchMasks(), AFSearchField.Name, True, AFSortField.Name, AFSortOrder.Ascending, 100000000)


I could not find anything with this kind of functionality available in the AFSDK. Is there a way to do this that I am overlooking?