dbTalk Databases Forums  

Dynamically change For Each Loop

microsoft.public.sqlserver.dts microsoft.public.sqlserver.dts


Discuss Dynamically change For Each Loop in the microsoft.public.sqlserver.dts forum.



Reply
 
Thread Tools Display Modes
  #1  
Old   
Michael
 
Posts: n/a

Default Dynamically change For Each Loop - 07-10-2006 , 05:48 PM






Hello,

I would like to modify "Files" attribute of the Foreach Loop of type File
Enumerator. This attribute is used to set the mask (for example *.txt) to
specify which files to include in the selection. I need to be able to change
this mask dynamically depending on package global variable. Is this possible?

Thank you!

Michael

Reply With Quote
  #2  
Old   
Allan Mitchell
 
Posts: n/a

Default Re: Dynamically change For Each Loop - 07-15-2006 , 05:21 AM






Hello Michael,

Look for Property Expressions and you will find this property in the Container
itself.

Open the Loop Container | Collection Tree item on left | Look to the right
to see the Expressions.

The expression you want is FileSpec.


Allan


Quote:
Hello,

I would like to modify "Files" attribute of the Foreach Loop of type
File Enumerator. This attribute is used to set the mask (for example
*.txt) to specify which files to include in the selection. I need to
be able to change this mask dynamically depending on package global
variable. Is this possible?

Thank you!

Michael




Reply With Quote
Reply




Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off



Powered by vBulletin Version 3.5.3
Copyright ©2000 - 2012, Jelsoft Enterprises Ltd.