Export (0) Print
Expand All
Expand Minimize

ID Property

Microsoft Dynamics Nav 2009

Sets a unique numeric ID for this codeunit, table, page, form, report, dataport, XMLport, or control.

  • Check boxes

  • Codeunits

  • Command buttons

  • Dataports

  • Forms

  • Frames

  • Images

  • Indicators

  • Labels

  • Matrix boxes

  • Menu buttons

  • Menu items

  • Option buttons

  • Pages

  • Picture boxes

  • Reports

  • Shapes

  • Subforms

  • Tab controls

  • Table boxes

  • Tables

  • Text boxes

  • XMLports

The ID must be unique within the scope of the object. For example, two code units, tables, or forms cannot have the same ID, and no control can have the same ID as another control on that form.

The ID is used for reference purposes. As a result, you can use the value of the Name Property to reference objects in your code. The Name is automatically converted to the ID when the code is compiled.

If you do not set the ID property, you will be prompted for one when you save the object. For controls, a numeric ID is assigned based on the next available number for the form or the report. You can change this ID.

Community Additions

© 2014 Microsoft