Book a Demo

Author Topic: Assigning DataTypes  (Read 3057 times)

sbaldrick

  • EA User
  • **
  • Posts: 29
  • Karma: +0/-0
    • View Profile
Assigning DataTypes
« on: December 23, 2010, 11:52:37 am »
When assigning types to attributes, if you type the name in the attributes Type box it is not the same as selecting the type from the list of datatypes.

Yet EA thinks it is when it comes to editing the attribute.

I.e. create an attribute and browse to select its type from the project browser - create another attribute and this time type the attribute type into the Type field.

Save, change the selected type name and reopen the attributes. The one whose type was selected has changed its name, the one whose type was typed in, has not.
[This demonstrates that EA distinguishes between types that are selected and those entered manually.]

Display the attribute whose type was selected and overwrite the Type field with exactly the name of the type by typing into the Type field.

Because the Type field contains exactly the same value, EA does not allow you to save it (because it doesn't recognise a change.) However the Type field of the attribute has changed, because it is no longer linked to a Project Browser item.

Solution: If the Type field changes always allow save. Do not check to see if the chnage is the same as the original.

Leslie.