Help... How to make a search in ms word documents...
Hello, im new to portal and I would like to know how to create a text search in some ms word documents. The documentation of oracle context is great, but the integration to portal is very poor.
I have created a content area an it displays the items, but where to start to make the search in those documents?.
thanks.
Mario Bellido.
if you don't use oracle default search buttons, then you may code your own search buttons, inside, you may ,
e.g., user might want to enter height and age fields(Assume the table columns are HEIGHT and AGE),
then use,
IF :heightitem is not null then
w_str := ' AND HEIGHT ='||:heightitem;
END IF;
IF :AGEITEM IS NOT NULL THEN
w_str := w_str||' AND AGE='||:ageitem;
END IF;
then you set_block_property('..',default_where,w_str); then execute_query. In order to avoid giving user blank form fields when no records found, which oracle did this badly, then you may use SELECT COUNT(*) into cnt FROM ... WHERE ...w_str to detect the cnt, if cnt > 0 then execute_query, if not, then shoot no record data found message out.
Similar Messages
-
How to make dynamic search items in a report?
Hi all,
I have two questions.
1. How to make dynamic search (i.e without GO button) field above report to provide dynamic search by words in one field of report query?
2. How to make similar multiply dynamic search fields on report to provide individual search by selected fields of report with refine capability (i.e any search conditions in different fields must work together as complex WHERE clause)
Thanks in advancehey yuri--
if i'm understanding your questions correctly, the easiest way to achieve the functionality you're after is to have your query criteria fields submit the page when values are entered/selected. the page should then branch back to itself using the submitted criteria in the query. because you're asking about dynamically adding in your where clause predicates, you should consider using a report region of type "SQL Query (Pl/sql Function Body Returning SQL Query)". that way you can use pl/sql to piece together your query based on the provided criteria.
so the part of your question i'm not sure of is when your page should submit itself ("without a GO button" as you said). for your first question, it seems to be a simple matter of javascript. you want users to be able to enter search criteria into a field and have that criteria be using in the report. to facilitate that we have a few self-submitting item types such as "SelectList with Submit" and "Text Field (always submits page when Enter pressed)". for your second question, it seems that you should have a Go button for the user to indicate he's done entering in his query criteria. anyhow, that's up to you, i suppose. hopefully this response will give you the concepts you need to implement this as you'd like.
regards,
raj
ps-after re-reading your post, i now realize there's a chance that you wanted users to not have to submit the page at all when filtering their result sets. if that's the case, you'd have to use javascript for that cumbersome feat. google would be a good place to go for that code. -
Even your help is confusing how do i find instructions on how to change a pdf to a word document i d
even your help is confusing
how do i find instructions on how to change a pdf to a word document
I purchased this software and now I can't find itThanx!!!
that is, if there are entries in document "hello 1234", then the search all words will identify it as two words "hello" and "1234". and then I check with regular expressions where the numbers.. ?
ps. and I have not found yet any command, that replace the founded text from javascript))
yes.. in acrobat X pro.. tools-protection-search&remove is also avaible....! (but, no regular in search string.. to bad...)
thank you! -
How to duplex print from a MS Word document in HP 1020 Plus printer
Two days before I have acquired a HP 1020 Plus Laserjet printer . How to duplex print from a MS Word document and Corel Draw document in HP 1020 Plus printer? I tried manual duplex printing by printing the odd pages first and then even pages ....it came out correct ,...but whenit comes to Page numbers continuity it is not properly printed ....why?? Can anyone highlight on this and give me a step by step instructuion to print Duplex and thereby help me to create 20-----------page or 30 page booklets.....from MS word typed document or corel draw document......Expecting a speedy solution
thanks & regards,
K Narayanan
This question was solved.
View Solution.@immo22269
The laserjet 1020 only has manual duplexing capabilities. Please refer to this document for a complete set of instructions.
Print on both sides of the paper (manual duplexing)
I am an HP employee.
Say Thanks by clicking the Kudos Star in the post that helped you.
Please mark the post that solves your problem as Accepted Solution -
How to get total pages from a Word Document?
I want have created a program with ABAP, It'll print the cover page with form, the detail infomation is in a word document on a file server. I want to display the total pages in the cover page, how can I do? In another word, how to calculate the pages for a word document in sap ?
I don't know how to use it. My test codes:
REPORT print_via_ole_example .
INCLUDE ole2incl .
DATA: gs_word TYPE ole2_object ,
gs_documents TYPE ole2_object ,
gs_newdoc TYPE ole2_object ,
gs_actdoc TYPE ole2_object ,
gs_application type ole2_object,
gs_document type ole2_object ,
gs_docproperty type ole2_object,
p_pages type p .
START-OF-SELECTION .
CREATE OBJECT gs_word 'WORD.APPLICATION'.
SET PROPERTY OF gs_word 'Visible' = '0' .
CALL METHOD OF gs_word 'Documents' = gs_documents.
CALL METHOD OF gs_documents 'Open'
EXPORTING #1 = 'd:\test.doc' .
CALL METHOD OF gs_word 'ActiveDocument' = gs_actdoc .
get property of gs_actdoc 'Application' = gs_application .
get property of gs_actdoc 'BuiltinDocumentProperties' = gs_docproperty .
get property of gs_docproperty 'wdPropertyPages' = p_pages.
CALL METHOD OF gs_actdoc 'PrintOut' .
CALL METHOD OF gs_documents 'CLOSE' .
CALL METHOD OF gs_word 'Quit' .
new-line.
END-OF-SELECTION.
FREE: gs_word, gs_actdoc, gs_documents, gs_newdoc .
When run it, I can not get the total pages, and winword.exe hung up, can only be terminated in Task Manager.
Could you help me to modify this test code?
Thank you . -
How can i convert New Microsoft Office Word Document to adobe
how can i convert New Microsoft Office Word Document to adobe
Hi itchigo,
You can use Microsoft Word's inbuilt feature of converting the doc to pdf by simply selecting Save As> 'pdf doc format' from the drop down.
Please refer: http://office.microsoft.com/en-001/word-help/save-as-pdf-HA010354239.aspx#BM11
Adobe Reader does not have the capability of converting docs to pdf or vice versa. It can only be used to read pdf files.
Regards,
Rave -
How to export a PDF to a word document? at the moment it came up with "The encoding (CMap) specified by a font is missing ????? what can I do? thanks
Hi frenchiem,
This is due to the PDF file cannot display the original fonts. To fix it, creator should create the PDF file with the embed font option enabled. Thus, user can open the file on any platform with the same layout. Or the Acrobat product can display them after you install the appropriate font support package on the client side.
Regards,
Rave -
How do I edit and save a word document that has been e-mailed to my ipad
How do I edit and save a word document that has been e-mailed to my ipad and then re-send
Use the paid version (install and activate) of Microsoft Word.
https://itunes.apple.com/sg/app/microsoft-word-for-ipad/id586447913?mt=8 -
hello! how can i put and read my words documents in the notes pad of my ipod nano 3trd generation?thanks to all.
The Notes features of the 3G iPod Nano only supports TXT files and not Word Documents. If you want to be able to read these word documents, you'll need to copy the text from each over to a text file. See here for more information.
iPod: Storing and reading notes
Keep in mind that each txt file has a limit of 4096 characters. See this article for more information as well.
Long notes are truncated on your iPod
B-rock -
I just switch to 10.8 from 10.6, and found that I can't use WORD. How do I recover and use my word documents?
ds store wrote:
LibreOffice is the new (and better) port of OpenOffice as Oracle isn't sure of OpenOffice's fate.
https://www.libreoffice.org/
Of course they aren't sure, Open Office is nothing to do with Oracle, it's an Apache product ..... update your notes.
Open Office is available here: www.openoffice.org/ -
How do I convert an email or word document to send as PDF?
How do I convert an email or word document to send as PDF?
You probably have to subscribe to the ExportPDF service. You can ask in the ExportPDF forum on how this would be done.
-
How to make a search button in a view?
Hi experts,
Can anyone tell me how to make a button for a search dialog to search a poste (just like which in ppome) in a view?
Thanks!Hi,
Create a transaction iview in portal, call the iview in webdynpro.
use this code to open the iview in webdynpro java.
WDPortalNavigation.navigateAbsolute
("ROLES://portal_content/<Complete Path of Iview>",
WDPortalNavigationMode.SHOW_INPLACE,
(String) null,
(String) null,
WDPortalNavigationHistoryMode.NO_HISTORY,
(String) null,
(String) null,
(String) null,
true);
see this http://help.sap.com/saphelp_nw04s/helpdata/en/c3/235a428a1e9041e10000000a1550b0/frameset.htm
Regards,
Naga
Edited by: Naga Raju Meesala on Sep 8, 2008 7:51 PM -
How to make the search faster in a table ?
hi ,
i have got a table wich has one field as a primary key , and this table got 500000 records in it
wich i try to pop up the (LOV) it takes about one minute to be retreived
i dodnt know how to make it faster ?
could anyone help me how to make faster ?
and what index should i put on this table ?thanks for your help
and here is the the
CREATE TABLE MOBWORKSHOP.MOBWSH_GUARANTY
GRNTY_NO VARCHAR2(10 BYTE),
I_CODE VARCHAR2(30 BYTE),
SERIAL_NO VARCHAR2(30 BYTE) NOT NULL,
GRNTY_START_DATE DATE,
GRNTY_EXPIR_DATE DATE,
GRNTY_VALIDTY NUMBER(1),
CAUSE_ID VARCHAR2(10 BYTE),
NOTE VARCHAR2(60 BYTE),
AD_U_ID NUMBER(5) NOT NULL,
AD_DATE DATE NOT NULL,
UP_U_ID NUMBER(5),
UP_DATE DATE,
BRN_NO NUMBER(6) NOT NULL,
BRN_YEAR NUMBER(4)
TABLESPACE MOBWRKSHPTRANS
PCTUSED 0
PCTFREE 10
INITRANS 1
MAXTRANS 255
STORAGE (
INITIAL 64K
MINEXTENTS 1
MAXEXTENTS UNLIMITED
PCTINCREASE 0
BUFFER_POOL DEFAULT
LOGGING
NOCOMPRESS
NOCACHE
NOPARALLEL
MONITORING;
CREATE UNIQUE INDEX MOBWORKSHOP.MOBWSH_GUARANTY_PK ON MOBWORKSHOP.MOBWSH_GUARANTY
(GRNTY_NO)
LOGGING
TABLESPACE INDX_TRANS_MOBWRKSHP
PCTFREE 10
INITRANS 2
MAXTRANS 255
STORAGE (
INITIAL 64K
MINEXTENTS 1
MAXEXTENTS UNLIMITED
PCTINCREASE 0
BUFFER_POOL DEFAULT
NOPARALLEL;
ALTER TABLE MOBWORKSHOP.MOBWSH_GUARANTY ADD (
CONSTRAINT MOBWSH_GUARANTY_PK
PRIMARY KEY
(GRNTY_NO)
USING INDEX
TABLESPACE INDX_TRANS_MOBWRKSHP
PCTFREE 10
INITRANS 2
MAXTRANS 255
STORAGE (
INITIAL 64K
MINEXTENTS 1
MAXEXTENTS UNLIMITED
PCTINCREASE 0
ALTER TABLE MOBWORKSHOP.MOBWSH_GUARANTY ADD (
CONSTRAINT MOBWSH_QRNTY_I_CODE_FK
FOREIGN KEY (I_CODE)
REFERENCES MOBWORKSHOP.ITEM_DETAILS (I_CODE),
CONSTRAINT MOBWSH_CANCEL_CAUS_FK
FOREIGN KEY (CAUSE_ID)
REFERENCES MOBWORKSHOP.GUARANTY_CANCEL_CAUSES (CAUSE_ID));
i made a button to show (LOV) and when i press the putton it take about one minute to view the LOV -
How to make the search box in 'mail' bigger
HI all
I use the mail programme in Lion and use a Mcabook pro, There is a search box in the upper right hand corner so you can search through your mails, I have accidently made it smaller and am looking to make the box bigger so I can see the full names of the results.
I have looked in toolbars and in 'view' and cant fin anything, I have tried to clip and drag, but that does not work either, anyone have any ideas how to make it bigger again,
ThanksThank you Colin, I managed to delete some of the buttons thus the search bar became bigger, thanks for the inspiration
-
Please help : How to make the anomalistic table just like below?
Hi all,
How to make the anomalistic table just like below? Anyone can give the way detail or thoughtway ?
http://61.132.17.188/webber/table.gifThis is just a suggestion.
If you put your "JTable" in a "JScrollPane", then you can add any "java.awt.Component" to the corner of the "JScrollPane" -- using the "setCorner()" method (of "JScrollPane").
I would suggest making a custon "JPanel" and overriding its "paintComponent()" method to draw a diagonal line (and the required text) on it.
You can find out more about how to do this from the links I provided in my first reply.
Hope this helps.
Good Luck,
Avi.
Maybe you are looking for
-
Request/Reply in FTP Adapter
Hi, I have to implement the Req/Reply paradigm with an FTP Adapter and DB Adapter. A file is created which is read by FTP adapter and a synchronous reply is required in the same file e.g the file will contain XML for customer number; in response in r
-
Problem with InitialContext Creation in Weblogic 5.1
Hi all, We are using Weblogic 5.1 on Windows and Solaris. We are trying to get InitialContext by the following code snippet. This piece of code is in a Thread which is kicked off by a startup class. The purpose of getting the initialContext here is t
-
How to connect TP-Link TL-WA850RE(EU) Range extender to airport Time Capsule
please let me know if i can use TP-link range extender to extend my wifi network of my new airport time capule
-
I'm trying to add events to my calendar after they got deleted and it won't let me because the + is grey when it should be orange. Does anyone know what to do?
-
01_2008_Welcome_01.png error
When using iWeb on my MacBook Pro, I get a... PUBLISH ERROR Can't create the file "01_2008_Welcome_01.png." The disk may be damaged or full, or you may not have sufficient access privileges. Any suggestions? I've tried redoing all pages w/ no luck y