Monday, March 26, 2012

Foreach File Enumerator -

I am trying to use the Foreach File Enumerator and map it to a user variable.

I select a folder in the colletion.

I use *.* for file name.

I left the default value for retrive file name.

I assigned it to my user variable ( data type string)

I am get the following error "The element cannot be found in a collection"

I am sure that I have at lest 10 file in the folder.

Can anyone tell me why I get the error?

I found out what my problem was

I had to assign a value to the variable.

The Foreach File Enumerator did not set the value when i mapped it to the variable.

I had to type in a value for the variable after I created it.

No comments:

Post a Comment