insert data to ms word [message #355697] |
Mon, 27 October 2008 02:11 |
xpact83
Messages: 225 Registered: October 2008 Location: philippines
|
Senior Member |
|
|
do you know how to communicate or put data to ms word...
how about to get data from a word document...
|
|
|
|
Re: insert data to ms word [message #356255 is a reply to message #355697] |
Thu, 30 October 2008 01:43 |
xpact83
Messages: 225 Registered: October 2008 Location: philippines
|
Senior Member |
|
|
declare
AppID PLS_INTEGER;
begin
--i got it ...
--i just pass these paramaters
--so i created a rich text format instead of a usual report.. --then save it to drive c:\ filename quote.rtf....
Add_Parameter(pl_id,'DESFORMAT',TEXT_PARAMETER,'RTF');
Add_Parameter(pl_id,'DESTYPE',TEXT_PARAMETER,'FILE');
Add_Parameter(pl_id,'DESNAME',TEXT_PARAMETER,'c:\QUOTE.RTF');
--then lastly i will open it using ms word so the path will
--depend on the location of ms word installed in your system..
RUN_PRODUCT(REPORTS,'QUOTE',SYNCHRONOUS,RUNTIME,FILESYSTEM,pl_id);
AppID := DDE.App_Begin('C:\Program Files\Microsoft Office 2K\Office\winword.exe c:\QUOTE.RTF' ,DDE.App_Mode_maximized);
end;
[Updated on: Thu, 30 October 2008 01:44] Report message to a moderator
|
|
|
|