Create Lookup on Object table

kirkostas
kirkostas Member Posts: 127
I want to create a lookup to the "Object" table.
I have a new form with a text control and I want to make it lookup to the "Object" table to get an object name. I entered to TableRelation property the "Object" name and it looks like a lookup control but it doesn't work.
I press it and it never show me the Object list.

Can anyone help me?

And something extra...
I want to create in a specific place a new menu item through C/AL code.
Is it possible to do that?
kirkostas

Comments

  • bRahms
    bRahms Member Posts: 44
    Have you filled in the LookUpFormId on your (source)table. Did you create a form that shows the information of your Object table?

    your extra: you can't specify in menu items, only menu buttons (afaik)
  • DenSter
    DenSter Member Posts: 8,307
    The object table doesn't have a lookup form, and you can't get to the table design. You're going to hve to create your own object lookup form and program the lookup in the OnLookup trigger.