Quantcast
Channel: SQL Server Integration Services forum
Viewing all articles
Browse latest Browse all 24688

script task I'm trying to access the value of my variable and I'm getting an error with the expression.

$
0
0

Hi,  I'm getting the following error when I try to save the value of my user variable

error that comes up: The expression for variable "OutputFlatFileName" failed evaluation. There was an error in the expression.

code in script task:

strFlatFileName = Dts.Variables("OutputFlatFileName").value.toString()

Here's what the expression looks like and it also evaluates properly without me trying to access it in the script task:

@[User::OuputFlatFilePath] +  "PR" +  @[User::parCompany] + "EPI"  +  @[User::outputFileCount] + ".csv"

any help is greatly appreciated.


shash


Viewing all articles
Browse latest Browse all 24688

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>