Home » Developer & Programmer » Forms » datafield access in Oracle forms (Oracle FORMS 11G)
datafield access in Oracle forms [message #578314] Tue, 26 February 2013 18:32 Go to next message
metal_navin
Messages: 21
Registered: February 2013
Junior Member
Good day,
Is there a way to apply changes to a datafield on oracle forms for specific users?

For example, I have an oracle form that applies the below masking code for a certain field called CUSTOMER_ID

IF :SYSTEM.BLOCK_STATUS = 'QUERY' THEN
   SET_ITEM_PROPERTY('CUSTOMER_ID',CONCEAL_DATA,PROPERTY_TRUE); 
ELSE
   SET_ITEM_PROPERTY('CUSTOMER_ID',CONCEAL_DATA,PROPERTY_FALSE);    
END IF;


But I only want this masking to be applicable to CERTAIN users.
For example, the psuedo code would be like

IF :SYSTEM.BLOCK_STATUS = 'QUERY' and USERS_LIST = 'SUPERVISORS' THEN
SET_ITEM_PROPERTY('CUSTOMER_ID',CONCEAL_DATA,PROPERTY_TRUE);


Note that this users_list is a group of oracle database users, so I am a member of this group.
Also note that this form is applied via the web via the application server.

Is the above possible? Any ideas would be greatly appreciated.

Re: datafield access in Oracle forms [message #578315 is a reply to message #578314] Tue, 26 February 2013 18:35 Go to previous message
cookiemonster
Messages: 13920
Registered: September 2008
Location: Rainy Manchester
Senior Member
If the list of users is stored in a table then easily. Or if the users have some common attribute that can be queried from the data dictionary.
Previous Topic: make my application executable
Next Topic: FRM-40039: Cannot attach library while opening the form
Goto Forum:
  


Current Time: Fri Apr 26 17:58:09 CDT 2024