Home » Developer & Programmer » Forms » Need Help (Oracle Forms 6i)
Need Help [message #537371] Wed, 28 December 2011 00:47 Go to next message
faraz87_baloch
Messages: 2
Registered: December 2011
Location: Pakistan
Junior Member
HI Everyone,

I m working on Forms 6i.
I want to do the the "Find and Replace" functionality on word document with OLE2.Is their any way to achieve this functionality through OLE2.

Looking for your cooperation.

Thanks.
Need Help [message #539231 is a reply to message #537371] Thu, 12 January 2012 06:01 Go to previous message
faraz87_baloch
Messages: 2
Registered: December 2011
Location: Pakistan
Junior Member
Hi Everyone,

I m trying this piece of code for the above functionality.

args := ole2.create_arglist;
ole2.add_arg ( args,'Abc' );---Finding a text in the Document.
ole2.add_arg ( args,'Xyz' );--- Replacing the Above text with 'Xyz'
ole2.add_arg ( args,0 );
ole2.add_arg ( args,1 ); ole2.invoke ( application,'EditReplace',args );
ole2.destroy_arglist ( args );



But still it is not working.
Any Solution for the above Problem.


Regards

Faraz.
Previous Topic: Commit_Form issue in Oracle Forms
Next Topic: to change the cursor style in forms
Goto Forum:
  


Current Time: Mon Jul 15 15:55:13 CDT 2024