Menu

Enum for titles/headers

2014-02-12
2014-04-16
  • jitsobullet

    jitsobullet - 2014-02-12

    Hi,

    I was wondering if it was possible to have an Enum defined which looks at the headers of another table rather than the data.
    For example, if i have a CustomerContract with an Enum that looks at Server, from the Dropdown i want to select the terms 'Name', 'Organization', 'Location' etc...

    Kind Regards

     

    Last edit: jitsobullet 2014-02-12
  • jitsobullet

    jitsobullet - 2014-02-19

    Can someone please tell the OQL equivalent of:

    SELECT COLUMN_NAME
    FROM INFORMATION_SCHEMA.COLUMNS
    WHERE TABLE_NAME='Contact';

    The above code is for SQL, and allow for a list of columns in the 'Contact' table

     
  • jitsobullet

    jitsobullet - 2014-04-16

    Any help with this please?

    Essentially looking to find a way to provide a list of titles from one class as a dropdown box (Enum or External Key) in another class.

    Thanks

     

Log in to post a comment.

Want the latest updates on software, tech news, and AI?
Get latest updates about software, tech news, and AI from SourceForge directly in your inbox once a month.