Create a lookup of Form Objects

rikkurikku Member Posts: 22
Hi,

I need to create a lookup of Form Objects in the field of a Table.
ie in the lookup the list of all Form names and IDs should display.
Please help me ...

Thanks in advance ...

Comments

  • mohana_cse06mohana_cse06 Member Posts: 5,504
    rikku wrote:
    Hi,

    I need to create a lookup of Form Objects in the field of a Table.
    ie in the lookup the list of all Form names and IDs should display.
    Please help me ...

    Thanks in advance ...

    check permissions table for help
  • kinekine Member Posts: 12,562
    Create new form with info you want and open this form through OnLookup code. You cannot set the Lookup Form ID property on the object table...
    Kamil Sacek
    MVP - Dynamics NAV
    My BLOG
    NAVERTICA a.s.
  • rikkurikku Member Posts: 22
    kine wrote:
    Create new form with info you want and open this form through OnLookup code. You cannot set the Lookup Form ID property on the object table...

    Which table i need to refer in the lookup form
  • kinekine Member Posts: 12,562
    Hmmm... I do not know... what about table "Object"? :whistle: :mrgreen:
    Kamil Sacek
    MVP - Dynamics NAV
    My BLOG
    NAVERTICA a.s.
  • garakgarak Member Posts: 3,263
    rikku wrote:
    Hi,

    I need to create a lookup of Form Objects in the field of a Table.
    ie in the lookup the list of all Form names and IDs should display.
    Please help me ...

    Thanks in advance ...

    Which table i need to refer in the lookup form

    You need a form with ID/Name/Caption of all forms in your database?
    If yes, take a look to form 358 Objects. you can run this form from OnLookup Trigger of your field or if you really need the Form ID in your Field in your Table you can set the table relation to "AllObj."Object ID" WHERE (Object Type=FIELD(Form))". <- So you doesn't need any source in the OnLookup()

    Regards
    Do you make it right, it works too!
Sign In or Register to comment.