It isn't completely clear what you are trying to do. The second syntax is correct. Your first example is incorrect.
Steve Donie
Principal Software Engineer
Datical, Inc. http://www.datical.com/
Steve Donie
Principal Software Engineer
Datical, Inc. http://www.datical.com/