title: How to make lookup of all fields in a table in ax 2012?
body: <p><a href="https://i.stack.imgur.com/hiXj0.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/hiXj0.png" alt="enter image description here"></a></p>
  
  <p>I have a form where the user can select any available table in the AOT in a dropdown/combobox  (no. 1 where it says salestable)</p>
  
  <p>Now i want to make a lookup in no.2 of all fields in the table selected in no. 1. I need to get this just based on the table name...
  I wish for the lookup to contain both the system name of the field and the label of the field.
  Is this possible? I have tried a good deal of solutions but i haven't been able to get it yet.</p>
  
  <p>Any suggestions would be greatly appreciated.</p>