0 Replies Latest reply: Aug 29, 2012 11:53 AM by Darwin Natividad RSS

    Creating a table based on Custom Function

    Darwin Natividad

      I have a custom function i want to place in a certain table.

       

      I am hoping that the table would be something like this:

       

      Users

      v0001

      v3002

      v8003

      .

      .

      .

      v1039

      .

      .

       

       

      The custom function is:

       

       

      Function MainMember(X)

       

       

       

      strComputer = "cmhveyqlikview"
      Set colGroups = GetObject("WinNT://" & strComputer & "")
      colGroups.Filter = Array("group")

       

      For Each objGroup In colGroups
      if objGroup.Name = "QlikView Administrators" then
      For Each objUser in objGroup.Members
      MainMember=objUser.Name
      Next
      end if
      Next

       

      End Function