Book a Demo

Author Topic: what is column t_datatype for "Set As Default"?  (Read 4195 times)

rashwini

  • EA Novice
  • *
  • Posts: 9
  • Karma: +0/-0
    • View Profile
what is column t_datatype for "Set As Default"?
« on: April 16, 2009, 10:34:53 pm »
Hi,

I am creating addin similar to Database Datatypes screen,[ select the Settings | Database Datatypes menu option]
To create the new database datatypes.

I need following information

1.      How to make datatype default , as it happen the EA Datatypes Screen, by checking CheckBox “Set As Default”, what is the corresponding database column in t_datatypes

2.      What is the use of HasLength column?

3.      Can we use PDATA3 column for special use in case of user created datatypes.

Eve

  • EA Administrator
  • EA Guru
  • *****
  • Posts: 8110
  • Karma: +119/-20
    • View Profile
Re: what is column t_datatype for "Set As Default"
« Reply #1 on: April 20, 2009, 12:00:28 pm »
1. Set as default isn't the default datatype, it's actually the default language for the model.  (Either code or database).  It doesn't appear in t_datatypes.

2&3. Don't know if or when these are used.  Any columns that are unused may be used by EA at some point in the future, and we can't guarantee what will happen if you have custom data in the column when that happens.

«Midnight»

  • EA Guru
  • *****
  • Posts: 5651
  • Karma: +0/-0
  • That nice Mister Grey
    • View Profile
Re: what is column t_datatype for "Set As Default"
« Reply #2 on: April 20, 2009, 10:09:40 pm »
Remember that the PDATA fields are read-only from the API.
No, you can't have it!