December 17, 2008 at 3:50 am
hi all
i am using a condition in Dervie Column ,, my Derive Column is "Int/Numeric"
if my condition Ture then i am performing some calculation otherwise NULL value shoule be assigned to Column value.
i have tried to passs the null value through a uservariable also.
uservariable1 (type-Int/Numeric) value- System.DBNull.Value
uservariable2 (type-Int/Numeric) value- System.int32.Null
Please provide the solution ASAP.
its very urgent..
Thanks in advance.
December 17, 2008 at 8:04 am
Your derived column should do something like this:
x==True ? x + y : Null(DT_I8)
You need to choose the correct data type in the Null, but that is the basic idea.
Jack Corbett
Consultant - Straight Path Solutions
Check out these links on how to get faster and more accurate answers:
Forum Etiquette: How to post data/code on a forum to get the best help
Need an Answer? Actually, No ... You Need a Question
Viewing 2 posts - 1 through 2 (of 2 total)
You must be logged in to reply to this topic. Login to reply
This website stores cookies on your computer.
These cookies are used to improve your website experience and provide more personalized services to you, both on this website and through other media.
To find out more about the cookies we use, see our Privacy Policy