Create a custom lookup with table headers as its values

I need to Implement the same in my form!. I am using ax 2012 R2.

Can someone please tell me what exactly to be done to get the same!..

Thanks in Advance

First try to search in google, you can find lots of samples.

Saadullah!, Thanks for your reply but 1st try to read my question properly and then reply!.. I know how to add a custom lookup but i need an exact lookup like how i Posted in the picture.!


Check in the List page query.
Add the fields as ranges to the query. you could find there.