create or replace view FRM50_ENABLED_ROLES
as select urp.granted_role role,sum(distinct decode(rrp.granted_role,
'ORAFORMS$OSC',2,'ORAFORMS$BGM',4,'ORAFORMS$DBG',1,0)) flag
from sys.user_role_privs urp, role_role_privs rrp
where urp.granted_role = rrp.role (+)
and urp.granted_role not like 'ORAFORMS$%'
group by urp.granted_role
-------------------------------------------
2-to enable user to run menu grant select on the FRM50_ENABLED_ROLES like this
grant select on FRM50_ENABLED_ROLES to scott;
now scott can run the menu please try this and tell me...
Regards
mohammed
If There Is somthing to do it just do it with oracle ....
Hi mohammed
I am running my form in Forms 6.0 so I created view
FRM60_ENABLED_ROLES and FRM50_ENABLED_ROLES too, and granted SELECT on this view to user1.
I get the same message again.
Bookmarks