Showing an option field in a wizard

midegomidego Member Posts: 51
edited 2019-08-05 in NAV Three Tier
I am trying to build my NAV development skills and want to build a wizard where I can fill in a timesheet.

What I want to do is to choose the project where I want to write hours on, I was hoping I could do this by selecting the project no or name from the project table, unfortunately, this does not give me a dropdown field with all the available options.

WPhVyZ7.png

Is it possible to do this in a wizard?

Answers

  • AluanAluan Member Posts: 164
    Hello midego,

    one way is to set the TableRelation Property.
    Example:
    Select the Field Project Description -> open Properties (Shift+F4) -> Add "Job" to the TableRelation
  • midegomidego Member Posts: 51
    It is not working as planned. If I click on the name it does show me several options but I am not able to select any other than the first one.

    nch1C5q.png

  • AluanAluan Member Posts: 164
    edited 2019-08-06
    So you want to fill the other fields in the above picture, after you have selected the Project?
  • midegomidego Member Posts: 51
    No, what I want to achieve is that in a Wizard I can select a project from my custom project table, on the next page I want to select the project task, on the 3rd page I want to fill in the working hours for that task.
  • AluanAluan Member Posts: 164
    Is the field a variable and is it editable?
    It looks like your field is not editable or you defined a constant value.
  • midegomidego Member Posts: 51
    This is what I have.
    P693nRe.pngp
  • midegomidego Member Posts: 51
    I fixed it. Simply referred to the wrong table. #mybad
Sign In or Register to comment.