August 26, 2010 at 1:05 am
Matt
I tried changing the Scope of the User::Filename variable to For Each loop container but then when executing the package it sends an error telling that The Variable cannot be found.
August 26, 2010 at 3:53 pm
When you change the variable you need to rebind it every where it's been used.
Actually cleaner is to create another variable in the correct scope and go around and associate it to the item in the loop.
----------------------------------------------------------------------------------
Your lack of planning does not constitute an emergency on my part...unless you're my manager...or a director and above...or a really loud-spoken end-user..All right - what was my emergency again?
August 26, 2010 at 3:57 pm
Matt Miller (#4) (8/26/2010)
When you change the variable you need to rebind it every where it's been used.Actually cleaner is to create another variable in the correct scope and go around and associate it to the item in the loop.
Would people please STOP giving answers that have NOTHING to do with the issue!!!
For best practices on asking questions, please read the following article: Forum Etiquette: How to post data/code on a forum to get the best help[/url]
August 26, 2010 at 4:01 pm
Alvin Ramard (8/26/2010)
Matt Miller (#4) (8/26/2010)
When you change the variable you need to rebind it every where it's been used.Actually cleaner is to create another variable in the correct scope and go around and associate it to the item in the loop.
Would people please STOP giving answers that have NOTHING to do with the issue!!!
Thanks for the answer. just giving my opservations (i.e. setting package level variables each time inside of a for each loop tend to be really buggy). But still I do appreciate the tone. If you feel I'm wrong I'm ok with that, but in my observation, it's anything but irrelevant.
Now moving on.
Sigh...
----------------------------------------------------------------------------------
Your lack of planning does not constitute an emergency on my part...unless you're my manager...or a director and above...or a really loud-spoken end-user..All right - what was my emergency again?
Viewing 4 posts - 31 through 33 (of 33 total)
You must be logged in to reply to this topic. Login to reply