Originally posted by V Bose:
...Line 1 works but Line 2 does not. (when using one or the other...)...
What makes you say it's not working? There is nothing wrong with either of these lines. Both should work in the proper context -- but
neither will work in the context presented, so maybe the problem is in the missing code?