I know this is an old post, but THANK YOU!! I've been fighting trying to figure that out all day :-\ Really appreciate you taking the time to write out the complete example!