Tip #10 – Drop Down List

This Blog Article was brought forward from my old blog

Following the blog of Claus about drop down lists I would like to add some follow which is new for most developers.

Claus’ blog give a very accurate description about how to work with this new cool feature of NAV2009 but when I was explaining it for a developers class I found a little mistery.

The blog describes that, when you do not specify it, NAV will show the primairy key. But how does that explain the drop down of the Currency…

Please note that it shows Code and Description…

And nothing is defined in the Field Groups.

But the PK is just Code.

The explanation is simple. NAV will automaticaly add the Description field to the dropdownlist. Cool huh!

Same seems to work for the Name field.

Good luck

1 Comment

  1. Handoko says:

    If I’m add a new field with name “Blocked” with Boolean data type in Location Table, this function to Blocked Location. How to display Non Blocked in dropdown. Thank yo

    Like

Leave a Comment

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out /  Change )

Twitter picture

You are commenting using your Twitter account. Log Out /  Change )

Facebook photo

You are commenting using your Facebook account. Log Out /  Change )

Connecting to %s

This site uses Akismet to reduce spam. Learn how your comment data is processed.