How to make a search in a form

Hi
I have a form with a lot of items(name date,age,height) that i can use to make a search . I found many problems for the search , infact i had to create many cursors, one for each case. For example i would search for age and height or just from date and so on.
How can i make it more easy?
Can i use a dinamically query for a cursor ?
PLZ HELP

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 a field in adobe form noneditable

    how to make a field in adobe form noneditable. like info keys..
    when this form is sent through worflow the receiver shudnt be able make changes to the field value...(I have a form, which has fields prefilled(like pernr employee name) but these fields are in editable able..(i want only some fields to be uneditable not all)
    Edited by: kumar gaurav on Apr 11, 2008 8:04 AM

    Hi,
    You can make fields non-editable at runtime using this code:
    field.access = "readOnly"
    Hope this helps.
    Amit

  • Adobe pro 8: how to make an existing secure encrptyed form unfillable after editing

    Hello,
    as the discussion topic says.
    adobe pro 8: how to make an existing secure encrptyed form unfillable after editing?  Is it even possible to do in adobe pro 8?
    For work there's a secure and encrptyed form.  I want to write in the form and save it so it will be unfillable / uneditable.
    this form is not created by myself, and already secure and encrypted.
    I am aware that in other recent adobe pro versions on how to do this, since they have a " save as a copy" function in the file menu. (adobe 8 doesnt have)
    I've also tried printing as a PDF, but due to encryption of the form, that doesn't come out great.
    Upgrading to a recent version of adobe pro is not an option.
    I've also tried exporting as a picture files and then recombinding them to a pdf.  I dont like this method and find it time consuming.
    If possible please inform me of a way to solve this problem , step by step with adobe pro 8's features.
    or
    show me the equivalent method to how recent versions "save a copy" of a secure encrypted form on adobe pro 8.
    Thanks in advance for reading this thread and helping.

    Well after you use save a copy, and the security is disabled, you could then re enable security features and disable editing of the form.
    EDIT: I just tested , with a PDF is in secure mode, even using a "save a copy" feature wouldn't work.
    Would finding a program to desecure the pdf be a possible option?
    Or is there a way to copy the form (with all it's editable fields) and paste it as an unsecure pdf?
    You would then be able to make new security features.
    thanks for replying and viewing this problem.

  • 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 advance

    hey 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.

  • How to make a search form with required items?

    Hi
    I am using JDeveloper 11.1.1.2 and JHeadstart 11.1.1.2.29
    I want to make a Search-form for Searching Employees. I want to search for Last Name OR First Name OR Maximum Salary OR ( Combination ManagerID and DepartmentID). One of these is required.
    On the view object for Employees, I defined a view criteria for the search.
    In JHeadstart, I disable Quick Search and set Advanced Search to model-samePage and Advanced Search View Criteria to the view criteria I just defined.
    But now, I can also personalize the Advanced Search. How can I disable this?
    And is this the right way to create such a Search-form or do you have other suggestions?
    Regards,

    The model-based search is standard ADF functionality.
    Jheadstart simply generate the search component on the page. There are a lot of addiitonal properties on af:query that you can set that we do not expose through the Jheadstart application definition editor.
    You can create a custom template to set those additional properties.
    See the af:query tag doc for more info:
    http://download.oracle.com/docs/cd/E12839_01/apirefs.1111/e12419/tagdoc/af_query.html
    Steven Davelaar,
    Jheadstart Team.

  • 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.

  • 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 expandable field in pdf forms?

    Does anyone here know how to make expandable field in a PDF form?
    I want the field, originally appear to be a 1-liner, to expands when you put in more text and everything that is underneath the expandable field shifts or moves down.
    pls help.
    Thanks!

    No, LiveCycle Designer is not included in Creative Cloud and is available only for Windows. It was included with the Windows version of Acrobat Pro before Acrobat 11 but is now a separate program and about $300.

  • 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,
    Thanks

    Thank you Colin, I managed to delete some of the buttons thus the search bar became bigger, thanks for the inspiration

  • How to make picture button in oracle forms?

    can any one tell me how to make a picture button in oracle form builder?
    please help?

    Hi,
    Only a icon can be pasted on the push button. We can not user jpg,,jpeg or gif for the picture only ico file can be used.
    go to properyt pallet,
    make iconic as yes
    give the path in icon filename --- C:\Program Files\Winamp\eMusic\eMusicClient
    where eMusicClient is -- icon file name without extension, dont use " " in path
    bye

  • How to make changes in Existing SAP form

    How I can make changes in existing SAP form . I want to make changes in delivery form <b>matrix row enable or disable</b>

    Hi Sagar,
       If you want to disable a row, you can close that row using DIAPI.
    HTH
    B.Ravi Shankar
    null

  • How to make text field in tabular form as List of value (LOV)

    So the problem is next:
    I should to make field in tabular form as LOV(list of value (combobox)) to load there data form db. Could smb take me an advise how to make it.
    Thanks.

    So thanks, I did it, it works. How now to make next: I selected Id from list and in the next column appears name with ID from DB. so how to make ondemand process i know (thanks to you), but how to get value from LOV that I selected to give it to Dynamic Action.
    Thanks

  • How to make site search module work?

    Hi guys
    I am working on a sample site http://webmar.businesscatalyst.com/index.
    I had insert a site search module but anyhow when i search for any query and click the Go button, it will go the searchresult page but nothing get displayed.
    I do had placed a {module_searchresults} in the page content area of searchresult page.
    How I populate by search result page?
    Thanks
    Andy

    Andy make sure you index (re-index)your site
    Modules > Site Search > Re- Index button
    If site is a sample site ( demo mode ) I am not sure if it will index with new changes to the way demo sites works. Give it a try it may be ok internally, but wont index with S E unless live site
    Good to re-index if made changes or added content

  • How to make "Submit" features disappear when form is distributed?

    Hi, I am very new at this. I'd like to know how to make the purple header that appears when a form has been distributed go away. This section says "Please fill out the following form. When finished, click Submit Form to return the completed form. Our company has been having problems when people submit these automatically, so we'd like to have them save them as PDFs and submit them as an attachment on an email. We don't want there to be any confusion about this, but I know that the forms have to be distributed so they can fill them out, and this purple header appears after I distribute. What do you suggest?

    You need to be a little more specific as to what is going on with the form. What is the exact issue you are having with the form when it is sent back? If your form is  designer form that is fillable then the header will always be there. It says "Please fill out the following form. If you are a form author, choose DistributeForm in the Forms menu to send it to your recipients."
    If you would like I could take a look at the form to see what you are experiencing. I have been designing forms for a major insurance company for four years and have come across many issues. In ordder to troubleshoot these issues you have to explain exactly what is happening to get at the root cause. It may something as simple as not having the submit button on the form or a little script written that saves the form as a save as.
    Not knowing the exact issue people are not going to be able to give you a fix. It is like taking your car to the mechanic and saying it doesn't work.

  • How to make subforms editable in ADOBE forms

    Hello All,
       The 'Pagination' for few of the subforms are editable, and for few of the subforms are not editable.
    Actaully i have to set the 'overflow' for one subform, but the whole pagination is dispaly mode.
    (i can edit pagination for other subforms).
    can someone help how to make it editable.
    Thanks in advance
    Best Regards,
    Amarender Reddy B

    Hello Amar,
    Can please explain the problem you are facing with more clearer words. I am unable to make out any thing from this post.
    You might have some problem with Pages. We have two type of pages body and master. If a perticular subform is there in master page you can not edit it on the body page.
    Regards,
    Vikash

Maybe you are looking for

  • How can I pubish SWF interactive magazine to flash based website? It's not working!

    I hope someone can help me launch my first interactive magazine (SWF) to our website with ID 5. Okay, my hard copy mag came out great so then I started on the interactive edition. Everything was going swell with adding 3 short videos ( FLV  ) and cre

  • AppleTV + iTunes library on a NAS = Can't open file

    A while ago I moved my iTunes library onto a NSA (specifically a TimeCapsule). With an AppleTV (1) streaming video from my Mac Mini, which in turn was reading the files from the NAS.  This worked pretty much perfectly. Recently I bought a new NAS, th

  • Non-English characters problem

    I am using Flash 8. I am trying to create foreign language versions of my flash program, and have been using Embed on the properties area with limited success. For example, I am trying to display Greek characters using Static text and Arial font. The

  • Cant sign into Facetime and iMessage

    Until april, they were working flawlessly, but has stopped signing in... Unlike other people, it doesn't give me any error while trying to sign in, but nothing happens. I put my email and password and click Sign in but a loading circle turns for a se

  • Problem with audio setup of IDT

    Sorry, if this question isn't for this forum, but I need the solve of this problem HP Pavilion dv6-6c53er. Hello, it's me again.  My notebook is dv6-6c53er with two earphones outs and one microphone. So, I want to ask you a question. Can I set my ear