Home » Developer & Programmer » Forms » How to prevent change in a word document called by oracle form (oracle 10g R2)
How to prevent change in a word document called by oracle form [message #633645] Mon, 23 February 2015 23:37 Go to next message
7anona
Messages: 72
Registered: February 2012
Member
dear all,,
I'm tring to open a word document from
a form . I've managed to do that but I want prevent changes to that document
any ideas ?

please assist
Re: How to prevent change in a word document called by oracle form [message #633646 is a reply to message #633645] Mon, 23 February 2015 23:48 Go to previous messageGo to next message
BlackSwan
Messages: 26730
Registered: January 2009
Location: SoCal
Senior Member
7anona wrote on Mon, 23 February 2015 21:37
dear all,,
I'm tring to open a word document from
a form . I've managed to do that but I want prevent changes to that document
any ideas ?

please assist


open it READ-ONLY
Re: How to prevent change in a word document called by oracle form [message #633672 is a reply to message #633646] Tue, 24 February 2015 03:41 Go to previous messageGo to next message
7anona
Messages: 72
Registered: February 2012
Member
Thanks for reply

I want the document to be open for the users directly in read-only
so they are not able to change the data.

Re: How to prevent change in a word document called by oracle form [message #633679 is a reply to message #633672] Tue, 24 February 2015 03:54 Go to previous messageGo to next message
Michel Cadot
Messages: 67306
Registered: March 2007
Location: Nanterre, France, http://...
Senior Member
Account Moderator

So open it in read-only as BlackSwan said.

Re: How to prevent change in a word document called by oracle form [message #633796 is a reply to message #633679] Tue, 24 February 2015 23:08 Go to previous messageGo to next message
7anona
Messages: 72
Registered: February 2012
Member
Thanks for your reply
I'm not sure I've explained the case well

I addaed this script in a botton to call the report:
RUN_REPORT_OBJECT_PROC('spr021e2','rtf',otherparam);

the user will click the button the report will open as aword document but no in read-only mode
can I add any script so the report opens in read-only without my involvement



Re: How to prevent change in a word document called by oracle form [message #633805 is a reply to message #633796] Wed, 25 February 2015 02:05 Go to previous message
Michel Cadot
Messages: 67306
Registered: March 2007
Location: Nanterre, France, http://...
Senior Member
Account Moderator

I don't know the procedure but what can be "otherparam"? Are sure you cannot set a property with SET_REPORT_OBJECT_PROPERTY to tell to open in read-only mode?

There are many documents on the web.
Among them these Oracle white papers:
Using Run_Report_Object() to call Reports with a parameter form
Integrating Oracle Reports with Oracle Forms
Integrating Oracle Reports in Oracle Forms Services applications

Previous Topic: How To Calculate "Arrival Date" on "Pricing And Availability" Form in Oracle Order Management
Next Topic: android application oracle
Goto Forum:
  


Current Time: Sat Aug 15 10:02:43 CDT 2020