Forums / Setup & design / anyone has already written such a datatype?

anyone has already written such a datatype?

Author Message

Alessandro Cipriani

Friday 04 June 2004 3:12:29 am

hi all
my user tree is structure as follows:
.i have 3 levels (superadministrator - administrator - user)
.i have also 3 classes (superadmin - admin - usr)
.each level can contain only instances of a class:
- the superadministrator level will contain only superadministrator users
- eccetera

in each administrator and user object i'd like to have a combo that indicates the 'father' user, in order to implement the real company hierarchy

so, as the usr user can be related only to an admin user, i'd like to have, in the 'create new user' section, an attribute like a combo that programmatically retrieves the name (and the id) of each instance of the admin class.

so i need Something similar to the 'selection' datatype, but dynamic

anyone could help?

best regards
alessandro
icq 326-457-502