I am so thank full to you, may be its so small code snippet but I have been googling for this thing past couple of days and believe me or not its no where available as such..but now my problem got solved.
May be I got one very good Ranch reference then..!
Hats off to your post.
Best regards,Vijay Gadde