Home » Developer & Programmer » Forms » How to administor the forms with role to user
How to administor the forms with role to user [message #130567] Mon, 01 August 2005 03:09 Go to next message
Messages: 226
Registered: July 2005
Location: Hong Kong
Senior Member

We have different users. I have the forms ready to give him but how should i control the access of the forms to unauthorise users. I dont want to give every form to every user. How to assign the roles to each users with the forms.

If possible send the sample form and the database starting from the log in screen

My e-mail address is samit_gandhi@yahoo.com

Samit Gandhi
Re: How to administor the forms with role to user [message #290096 is a reply to message #130567] Thu, 27 December 2007 06:51 Go to previous message
Messages: 104
Registered: November 2006
Location: India
Senior Member

you can create a table containing two columns user & form
and add the users and the form which the user has access to this table.

then you can create a function like user_has_access(user,form) return boolean.

now you can add the following code in the when-new-form-instance of all forms

if user_has_acess(:GLOBAL.application_user,:SYSTEM.CURRENT_FORM) then
-- do something
end if;

Hope this is clear.

Previous Topic: need help
Next Topic: Hot key in developer 6i
Goto Forum:

Current Time: Sun Oct 23 20:47:52 CDT 2016

Total time taken to generate the page: 0.07099 seconds