Setting Default values Meaning MandatoryBoolean FALSE If TRUE the field cannot

Setting default values meaning mandatoryboolean false

This preview shows page 21 - 23 out of 34 pages.

Setting Default values Meaning Mandatory(Boolean) FALSE If TRUE, the field cannot be left empty and is non- nullable in database (unless differently specified by DbHasNull). Class(String) empty string If nonempty, specifies that the ID values are foreign IDs from a single class, whose name is this setting. ClassField(String) empty string If nonempty, specifies the name of another field with which this field forms a (table, ID) pair. The referenced field can be either a string field containing table names, or an integer field containing ID values from the BT_CLASS table. This setting cannot be used with a non-empty Class setting. DatabaseField(String) empty string If nonempty, specifies the name of a field with which this field forms a (database, table, ID) triplet, with the second member of the triplet specified by ClassField(). The referenced field must be a string field containing database names. Role( RoleProperty ) GENERIC Assigns a special meaning to the field. SEQUENCE(fieldname, seqname) Auto-numbering integer to be used for purposes other than primary key: Two or more tables can have integer fields that all use the same sequence. This is useful if a view if formed as a combination of tables (using UNION); then every row returned by the view has its own unique identifier.
Image of page 21
Anygraaf Neo System Configuration Guide Data model statements It may be desirable to have values that uniquely identify table entries while keeping the ID values internal to the system. At present this is implemented using NEXTIDTABLE. The second parameter to SEQUENCE is the NEXTIDTABLE entry name used for the sequence. No type-specific functions. STRINGWITHCHOICES(fieldname, length) String field that has a predefined set of strings to select from, but also allows the user to type any other string. Empty values are written as empty strings in database, which is the same as NULL for Oracle. Note that this type is not for a dynamic list of choices; for that purpose use STRING with setting Fl(CHOICES). Setting Default values Meaning Item(UIString) no items Adds a single choice. Note that each choice should satisfy the length limits. Maxlen(Integer) none (given as direct parameter) Maximum character count of strings both in user interface and database. Usually given as direct parameter to STRINGWITHCHOICES, needed as a function only if an existing field is modified. Minlen(Integer) 0 Minimum allowed length. Datafl( StringFlag ) NoDatafl( StringFlag ) no flags Additional parameters for how the string is treated. Only value TRUNCATABLE has meaning at present. Case( StringCase ) NORMAL Automatic case conversion for the value. AutoSort(Boolean) FALSE If TRUE, the list of choices is automatically sorted. FILEPATH(fieldname) Field for a file path, provides a button for file selection dialog box. The paths stored in database are in Windows form, but Mac versions show them in Mac format. For a path to be correctly displayed on both Windows and Mac, it must refer to a network directory under a base directory that has a path mapping in the module settings (COMMON/WINDOWS_TO_UNIX_PATH/LIST).
Image of page 22
Image of page 23

You've reached the end of your free preview.

Want to read all 34 pages?

  • Summer '18

What students are saying

  • Left Quote Icon

    As a current student on this bumpy collegiate pathway, I stumbled upon Course Hero, where I can find study resources for nearly all my courses, get online help from tutors 24/7, and even share my old projects, papers, and lecture notes with other students.

    Student Picture

    Kiran Temple University Fox School of Business ‘17, Course Hero Intern

  • Left Quote Icon

    I cannot even describe how much Course Hero helped me this summer. It’s truly become something I can always rely on and help me. In the end, I was not only able to survive summer classes, but I was able to thrive thanks to Course Hero.

    Student Picture

    Dana University of Pennsylvania ‘17, Course Hero Intern

  • Left Quote Icon

    The ability to access any university’s resources through Course Hero proved invaluable in my case. I was behind on Tulane coursework and actually used UCLA’s materials to help me move forward and get everything together on time.

    Student Picture

    Jill Tulane University ‘16, Course Hero Intern

Ask Expert Tutors You can ask You can ask ( soon) You can ask (will expire )
Answers in as fast as 15 minutes