Results 1 to 2 of 2
  1. #1
    2 Star Lounger
    Join Date
    Mar 2001
    Location
    Colorado, USA
    Posts
    144
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Iterating Through the Elements of a Data Type (VBA/Access 2000)

    Is it possible to itterate through the elements of a user defined data type in a fashion similar to collections i.e. using For Each?

    Thanks.

  2. #2
    Plutonium Lounger
    Join Date
    Dec 2000
    Location
    Sacramento, California, USA
    Posts
    16,775
    Thanks
    0
    Thanked 1 Time in 1 Post

    Re: Iterating Through the Elements of a Data Type (VBA/Access 2000)

    You can only use For Each to iterate over a collection or an array. The elements of a udt are properties of that udt, not members of a collection.
    Charlotte

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •