Hi everyone, I'm new here and I'm new with dynamic data two. I hope you can help me
I have two tables, one of then has 3 columns as it primary key, the other one has a references to the first one. When I generate the filter in the second one in the drop down list it shows a field that is not the foreing key. I want to list foreing key directly,
How can I do that?
lgarciap
Member
28 Points
20 Posts
Problem with Foreing Key filter
Aug 08, 2011 06:57 AM|LINK
Hi everyone, I'm new here and I'm new with dynamic data two. I hope you can help me
I have two tables, one of then has 3 columns as it primary key, the other one has a references to the first one. When I generate the filter in the second one in the drop down list it shows a field that is not the foreing key. I want to list foreing key directly, How can I do that?
sjnaughton
All-Star
27330 Points
5459 Posts
MVP
Re: Problem with Foreing Key filter
Aug 08, 2011 08:31 AM|LINK
You can use the DisplayColumnAttribute in you metadata like
[DisplayColumn("ColumnToShow","ColumnToSortOn")]
Always seeking an elegant solution.