Announcements
I've created a new table named 'Jurisdiction', and on my existing Job card I've added a field that is a lookup of Jurisidictions. How can I set this field to display the 'name' value of the selected record instead of the 'ID' value which is currently the primary key of the Jurisdiction table?
Here is the source of my lookup field:
field(50101; Jurisdiction; Code[100]) { DataClassification = ToBeClassified; Caption = 'Jurisdiction'; TableRelation = Jurisdictions.ID; }
And here's the source of my new Jurisdictions table:
table 50101 Jurisdictions { DataClassification = ToBeClassified; fields { field(1; ID; Integer) { DataClassification = ToBeClassified; AutoIncrement = true; } field(2; Name; Text[250]) { DataClassification = ToBeClassified; Caption = 'Name'; } } keys { key(PK; ID) { Clustered = true; } }
This might help: community.dynamics.com/.../modify-field-displayed-value
André Arnaud de Cal... 291,359 Super User 2024 Season 2
Martin Dráb 230,370 Most Valuable Professional
nmaenpaa 101,156