O'Reilly logo

Microsoft Dynamics NAV 2009 Programming Cookbook by Matt Traxinger

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

Hiding values in Zoom

Users with the Zoom ability can see the values of fields that are hidden on forms. This recipe will show you how to hide these fields from the Zoom window.

How to do it...

  1. Create a new table from Object Designer.
  2. Add the following fields to the table:

    Name

    Type

    Length

    Field No.

    Integer

     

    Field

    Text

    250

    Value

    Text

    250

    Table

    Text

    50

    Table No.

    Integer

     
  3. Save and close the table.
  4. Create a new list form using the Form Generation Wizard.
  5. Add the Field and Value fields from the table.
  6. Set the following properties on the form:

    Property Name

    Value

    Caption

    Zoom

    SourceTableTemporary

    Yes

    Editable

    No

    InsertAllowed

    No

    ModifyAllowed

    No

    DeleteAllowed

    No

    SourceTablePlacement

    First

  7. Add a global ...

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required