dbTalk Databases Forums  

writing to sequence container scoped variable from script component

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


Discuss writing to sequence container scoped variable from script component in the microsoft.public.sqlserver.dts forum.



Reply
 
Thread Tools Display Modes
  #11  
Old   
Todd C
 
Posts: n/a

Default Re: writing to sequence container scoped variable from script comp - 06-11-2008 , 03:03 PM






Kent

If that didn't work, try referring to it with Dts. in front:

Dts.Variables("myVariable").Value
--
Todd C



"jhofmeyr (AT) googlemail (DOT) com" wrote:

Quote:
Hi Kent,

Try:
Dim var As IDTSVariables90

Me.VariableDispenser.LockOneForWrite("iMonth", var)

var("iMonth").Value = 1

var.Unlock()

Good luck!
J


Reply With Quote
  #12  
Old   
Todd C
 
Posts: n/a

Default Re: writing to sequence container scoped variable from script comp - 06-11-2008 , 03:03 PM






Kent

If that didn't work, try referring to it with Dts. in front:

Dts.Variables("myVariable").Value
--
Todd C



"jhofmeyr (AT) googlemail (DOT) com" wrote:

Quote:
Hi Kent,

Try:
Dim var As IDTSVariables90

Me.VariableDispenser.LockOneForWrite("iMonth", var)

var("iMonth").Value = 1

var.Unlock()

Good luck!
J


Reply With Quote
  #13  
Old   
Todd C
 
Posts: n/a

Default Re: writing to sequence container scoped variable from script comp - 06-11-2008 , 03:03 PM



Kent

If that didn't work, try referring to it with Dts. in front:

Dts.Variables("myVariable").Value
--
Todd C



"jhofmeyr (AT) googlemail (DOT) com" wrote:

Quote:
Hi Kent,

Try:
Dim var As IDTSVariables90

Me.VariableDispenser.LockOneForWrite("iMonth", var)

var("iMonth").Value = 1

var.Unlock()

Good luck!
J


Reply With Quote
  #14  
Old   
Todd C
 
Posts: n/a

Default Re: writing to sequence container scoped variable from script comp - 06-11-2008 , 03:03 PM



Kent

If that didn't work, try referring to it with Dts. in front:

Dts.Variables("myVariable").Value
--
Todd C



"jhofmeyr (AT) googlemail (DOT) com" wrote:

Quote:
Hi Kent,

Try:
Dim var As IDTSVariables90

Me.VariableDispenser.LockOneForWrite("iMonth", var)

var("iMonth").Value = 1

var.Unlock()

Good luck!
J


Reply With Quote
  #15  
Old   
Todd C
 
Posts: n/a

Default Re: writing to sequence container scoped variable from script comp - 06-11-2008 , 03:03 PM



Kent

If that didn't work, try referring to it with Dts. in front:

Dts.Variables("myVariable").Value
--
Todd C



"jhofmeyr (AT) googlemail (DOT) com" wrote:

Quote:
Hi Kent,

Try:
Dim var As IDTSVariables90

Me.VariableDispenser.LockOneForWrite("iMonth", var)

var("iMonth").Value = 1

var.Unlock()

Good luck!
J


Reply With Quote
  #16  
Old   
Todd C
 
Posts: n/a

Default Re: writing to sequence container scoped variable from script comp - 06-11-2008 , 03:03 PM



Kent

If that didn't work, try referring to it with Dts. in front:

Dts.Variables("myVariable").Value
--
Todd C



"jhofmeyr (AT) googlemail (DOT) com" wrote:

Quote:
Hi Kent,

Try:
Dim var As IDTSVariables90

Me.VariableDispenser.LockOneForWrite("iMonth", var)

var("iMonth").Value = 1

var.Unlock()

Good luck!
J


Reply With Quote
  #17  
Old   
Todd C
 
Posts: n/a

Default Re: writing to sequence container scoped variable from script comp - 06-11-2008 , 03:03 PM



Kent

If that didn't work, try referring to it with Dts. in front:

Dts.Variables("myVariable").Value
--
Todd C



"jhofmeyr (AT) googlemail (DOT) com" wrote:

Quote:
Hi Kent,

Try:
Dim var As IDTSVariables90

Me.VariableDispenser.LockOneForWrite("iMonth", var)

var("iMonth").Value = 1

var.Unlock()

Good luck!
J


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.