Sets a unique numeric ID for this codeunit, table, page, form, report, dataport, XMLport, or control.
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 theto 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.