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
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
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
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
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