Enable Filter option of all given records in a linked txtbox

Joseph_NoufailyJoseph_Noufaily Member Posts: 7
edited 2014-01-02 in NAV Three Tier
Hi,

I'm using Navision 2009 R2.
First I created a new page "X" and linked it to the table comment line (ID 97).
Then i added a field to table comment line called "source" and gave it a table relation with "Work Type".Description.
Table work type has the following fields (Code, Description and Unit of Measure Code)
Then on page X i added a text box called "Source" with SourceExpr Source.

The thing is that when i access page X and try to fill in data in the Source text box i can only filter on the field Code while Description and Unit of Measure Code are not activated for filtering.

Thank you in advance for any help.
Regards,

Comments

  • geordiegeordie Member Posts: 655
    I don't know your requirements, but are you sure your field must be linked to "Work Type".Description? It has more sense to link it to "Work Type".Code, which is the primary key...
  • Joseph_NoufailyJoseph_Noufaily Member Posts: 7
    I'm sure of the link since when i access the form and try to input data in the text box "Source" i can search the table work type from the text box based on the field WorkType."Code" only. I want to be able to filter the data based on the other fields also (WorkType."Description" and WorkType."Unit of Measure Code" )
  • geordiegeordie Member Posts: 655
    On Work Type table is the DropDown field group still standard (so, all the fields are included)?
  • MBergerMBerger Member Posts: 413
    You can only filter on fields in a dropdown if there is a key for that field, as far as i know. so make a new key ( or more than one ) and try again.
  • Joseph_NoufailyJoseph_Noufaily Member Posts: 7
    @MBerger thank you for the help the issue was solved
Sign In or Register to comment.