![]() | |
![]() |
| | Thread Tools | Display Modes |
#1
| |||
| |||
|
|
Great thanks. "Allan Mitchell" <allan (AT) no-spam (DOT) sqldts.com> wrote in message news:uBNi3CZFEHA.2944 (AT) TK2MSFTNGP12 (DOT) phx.gbl... It is possible Here is an example Function Main() dim origVal, newVal origVal = DTSGlobalVariables("MyVariable").Value msgbox origVal 'Change DTSGlobalVariables("MyVariable").Value = "Now I have changed" newVal = DTSGlobalVariables("MyVariable").Value msgbox newVal Main = DTSTaskExecResult_Success End Function -- ---------------------------- Allan Mitchell MCSE,MCDBA, (Microsoft SQL Server MVP) www.SQLDTS.com - The site for all your DTS needs. I support PASS - the definitive, global community for SQL Server professionals - http://www.sqlpass.org g> wrote Is it possible to chage global variable values using VBScript, if so how? |
![]() |
| Thread Tools | |
| Display Modes | |
| |