Click here to Skip to main content
15,889,853 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
Here's my Expression:--It Occurs a problm while checking NULL value comes in the field.

=IIF(IsNumeric(Fields!TechHours.Value.ToString),
IIF(Right(Fields!TechHours.Value,Instr(Fields!TechHours.Value,"."))>0,
Fields!TechHours.Value,
Left(Fields!TechHours.Value,Instr(Fields!TechHours.Value,".")-1)
),
"NU"
)
Posted
Comments
Sandeep Mewara 18-Feb-11 5:26am    
You are back with the same thing! :doh:
Sandeep Mewara 18-Feb-11 5:27am    
Did you tried what I asked you to? Instead created a new post asking the same.
Rajni from delhi 18-Feb-11 5:35am    
i tried .. but still stuck into the same thing..even,m also n't finding the solution.

1 solution

I think you need to check NUll first and then do rest of the processing.
 
Share this answer
 
Comments
Rajni from delhi 18-Feb-11 4:32am    
i already tried that.plz help me, might be associativity creating the problem

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900