My search item is  not working for blocks created manually

I got a form where in i got aroun 8 rows where in 7 have been created using a Datablock wizard and the one row manaully i.e i have written a query under POST-QUERY2 fetch records into this 8th row that has been created manually...
All these 7 rows are creates using the wizard and the 8th rows is created manually
IN the main form i have included a list item which has the name of all 8 rows and beside it i have got a text item so that the corresponding list item value can be search
under PRE_QUERY i have written this
if
control.search_list_item ='Name'
then
:blockname.width := :control.search_text
end if;
if control.search_list_item='client'
then
:blockname.CL := :control.search_text
end if;
i can view the info for the 7 rows but not when control.search_list_item='client' as this has been creates manually....
in order to over come this problem i modified this a bit like this
if control.search_list_item='client'
then
select client into :blockname.CL from PIPE where client='control.search_text'
end if;
because using the abv query i am able to view arounf 40 records in the SQL but when i run form i get error like PRE-QERY raised unhandled exception ....
Edited by: user12183668 on Nov 8, 2009 10:07 AM

Please try to change to:
if
  control.search_list_item='client'
then
  select client into :blockname.CL from PIPE where client = :control.search_text;
end if;and please add an exception handler to the trigger
exception when no_data_found then null;Edited by: Magoo on 08.11.2009 18:47

Similar Messages

  • Search Bar is not working for me in windows 7 32 bit OS

    Search Bar is not working for me in windows 7 32 bit OS'''bold text'''

    Hi Sameer,
    There's no version of Windows Vista that is supported, regardless of service packs.  You can always upgrade to Windows 7, though.
    Your other option is to use Brackets, the open source editor that Edge Code is based on.  It still supports Vista for now.  The downside is that Brackets lacks some features of Edge Code: Kuler integration, Edge Inspect integration, and Edge Web Fonts code hints -- although all of those except Kuler are offered as optional Brackets extensions too (you just have to install them).
    Hope that helps,
    - Peter

  • BUG in iOS7: Post iOS7 upgrade, search option does not work for "Messages". If you want to search a contact name in Messages who is way below the list, the search will not yield any result.

    BUG in iOS7: Post iOS7 upgrade, search option does not work for "Messages". If you want to search a contact name in Messages who is way below the list, the search will not yield any result.

    These are user forums. You are not speaking to Apple here. Report your problem at Apple Feedback.

  • Lion Server DNS service not working for locally created zones. Caching working fine.

    OS Lion Server DNS service not working for local zones. Was fine under Snow leopard server but Lion server upgrade has severely broken my DNS and web sites. Zones look fine under Server Admin but keep getting "query failed (SERVFAIL) for xxxx at /SourceCache/bind9/bind9-42/bind9/bin/named/query.c:3921" in the logs. BTW - Server Admin cant seem to see the log file either.
    Surely someone actually tested that DNS still worked on Lion?

    I upgraded from Snow Leopard Server to Lion Server on day 01.  I hit the same issue where, after the upgrade, my Lion Server stopped serving names for my private local domain.
    I finally took a few minutes to figure out what was wrong.  After turning on debug logging and looking through the logs, I found my particular issue, now resolved.
    The issue I had was, when the domain initially was setup when I installed Snow Leopard Server, for some reason it created a zone just for the server (in my case, something like zone "s-01.mydomain.priv"), and a separate zone for all the other machines (zone "mydomain.priv", containing all the private IPs for my local domain).  I never messed with it because it worked, but generally I would have put all of them in the same zone.
    My zone "mydomain.priv" had a nameserver and mail exchanger entry for my server, s-01.mydomain.priv.  I could see this in the Server Admin app on the DNS bubble, Zones tab, mydomain.priv selected, and the General Info panel.  This was fine in Snow Leopard.  This was failing the zone load in the updated bind for Lion Server, though.  The issue was that the "mydomain.priv" zone was referencing the s-01.mydomain.priv server, which was not defined in the "mydomain.priv" zone but rather in the "s-01.mydomain.priv" zone.
    My fix:
    1. In Server Admin, add the server to the zone "mydomain.priv".  I put an A record (Add Machine) in the "mydomain.priv" zone for my server named s-01.mydomain.priv.
    2. shut down DNS on the OS X Lion Server (hit the Stop DNS button on Server Admin).
    3. edit /etc/named.conf by hand, removing the specialized zones that contianed just the server.  In this case, it would be the section titled 'zone "s-01.mydomain.priv"' and the section titled 'zone "3.10.1.10.in-addr.arpa"'.  Your in-addr.arpa zone name will change based on whatever your server IP address was.  My internal one happened to have s-01.mydomain.priv mapped to 10.1.10.3.
    4. Once the specialized zones for just the server were removed, I started the DNS up again.  Instead of serving four zones as it had in OS X Snow Leopard Server, it now servers two zones.  And, now, it is resolving my local machines for the mydomain.priv zone.
    YMMV.  I did note that it wasn't totally necessary to do step 3, but I never really understood the need for the specialized domain, and keeping it around would have a copy of data that would just confuse things.
    Hope that helps.  That's been the only hiccup I've noticed updating to OS X Lion Server thus far.

  • Content Search Web Part not work for Office Web Apps

    Hi ,
    In Content Search Web Part word documents are not able to open in browser,but in document library  its working.
    Office Web Apps not work in Content search web part
    Please help me
    Regards
    Sachin

    Below is the display template to open the document in OWA.
    <html xmlns:mso="urn:schemas-microsoft-com:office:office" xmlns:msdt="uuid:C2F41010-65B3-11d1-A29F-00AA00C14882"> 
    <head>
    <title>AdSpace Picture on top, 3 lines on bottom</title>
    <!--[if gte mso 9]><xml>
    <mso:CustomDocumentProperties>
    <mso:TemplateHidden msdt:dt="string">0</mso:TemplateHidden>
    <mso:ManagedPropertyMapping msdt:dt="string">&#39;Picture URL&#39;{Picture URL}:&#39;PublishingImage;PictureURL;PictureThumbnailURL&#39;,&#39;Link URL&#39;{Link URL}:&#39;Path&#39;,&#39;Line 1&#39;{Line
    1}:&#39;Title&#39;,&#39;Line 2&#39;{Line 2}:&#39;Description&#39;,&#39;Line 3&#39;{Line 3}:&#39;&#39;,&#39;FileExtension&#39;,&#39;SecondaryFileExtension&#39;,&#39;ContentTypeId&#39;,&#39;ServerRedirectedURL&#39;</mso:ManagedPropertyMapping>
    <mso:MasterPageDescription msdt:dt="string">This Item Display Template will show a 304x100 picture of the item on top. The title and the default item description will display to the bottom of the picture with an additional line that is available
    for a custom managed property.</mso:MasterPageDescription>
    <mso:ContentTypeId msdt:dt="string">0x0101002039C03B61C64EC4A04F5361F385106603</mso:ContentTypeId>
    <mso:TargetControlType msdt:dt="string">;#Content Web Parts;#</mso:TargetControlType>
    <mso:HtmlDesignAssociated msdt:dt="string">1</mso:HtmlDesignAssociated>
    <mso:_dlc_DocId msdt:dt="string">ZRMVMDDDEAE7-1-215</mso:_dlc_DocId>
    <mso:_dlc_DocIdItemGuid msdt:dt="string">583b0835-32ff-4d1c-983f-b6ff4a0ef956</mso:_dlc_DocIdItemGuid>
    <mso:_dlc_DocIdUrl msdt:dt="string">http://sp2013-dev-6:7000/sites/adspace/_layouts/15/DocIdRedir.aspx?ID=ZRMVMDDDEAE7-1-215, ZRMVMDDDEAE7-1-215</mso:_dlc_DocIdUrl>
    <mso:HtmlDesignConversionSucceeded msdt:dt="string">True</mso:HtmlDesignConversionSucceeded>
    <mso:HtmlDesignStatusAndPreview msdt:dt="string">http://sp2013-dev-6:7000/sites/adspace/_catalogs/masterpage/Display Templates/Content Web Parts/Item_PictureOnTop.html, Conversion successful.</mso:HtmlDesignStatusAndPreview>
    </mso:CustomDocumentProperties>
    </xml><![endif]-->
    </head>
    <body>
        <!--
                Warning: Do not try to add HTML to this section. Only the contents of the first <div>
                inside the <body> tag will be used while executing Display Template code. Any HTML that
                you add to this section will NOT become part of your Display Template.
        -->
        <script>
            $includeLanguageScript(this.url, "~sitecollection/_catalogs/masterpage/Display Templates/Language Files/{Locale}/CustomStrings.js");
        </script>
        <!--
            Use the div below to author your Display Template. Here are some things to keep in mind:
            * Surround any JavaScript logic as shown below using a "pound underscore" (#_ ... _#) token
            inside a comment.
            * Use the values assigned to your variables using an "underscore pound equals"
            (_#= ... =#_) token.
        -->
        <div id="Item_PictureOnTop">
    <!--#_
    var useWACUrl = !$isEmptyString(ctx.CurrentItem.ServerRedirectedURL);
            if(ctx.ScriptApplicationManager && ctx.ScriptApplicationManager.states){
                useWACUrl = (useWACUrl && !ctx.ScriptApplicationManager.states.openDocumentsInClient);
            var appAttribs = "";
            if(!useWACUrl)
                if (!$isEmptyString(ctx.CurrentItem.csr_OpenApp)) { appAttribs += "openApp=\"" + $htmlEncode(ctx.CurrentItem.csr_OpenApp) + "\"" }; 
                if (!$isEmptyString(ctx.CurrentItem.csr_OpenControl)) { appAttribs += " openControl=\"" + $htmlEncode(ctx.CurrentItem.csr_OpenControl) + "\"" };
            var url = ctx.CurrentItem.csr_Path;
         if($isEmptyString(url)){
                if(useWACUrl)
                    url = ctx.CurrentItem.ServerRedirectedURL;
                } else {
                    url = ctx.CurrentItem.Path;
    var encodedId = $htmlEncode(ctx.ClientControl.get_nextUniqueId() + "_pictureOnTop_");
    var linkURL = $getItemValue(ctx, "Link URL");
    linkURL.overrideValueRenderer($urlHtmlEncode);
     var iconURL = Srch.ContentBySearch.getIconSourceFromItem(ctx.CurrentItem);
    var line1 = $getItemValue(ctx, "Line 1");
    var setLineHeightRenderer = function(valueInfoObj)
        if(!$isNull(valueInfoObj) && !valueInfoObj.isEmpty)
            if(!$isNull(valueInfoObj.defaultValueRenderer))
                return valueInfoObj.defaultValueRenderer(valueInfoObj);
            else
                return valueInfoObj.toString();
        else
            return "&nbsp;";
    var line2 = $getItemValue(ctx, "Line 2");
    line2.overrideValueRenderer(setLineHeightRenderer);
    var line3 = $getItemValue(ctx, "Line 3");
    line3.overrideValueRenderer(setLineHeightRenderer);
    var pictureURL = $getItemValue(ctx, "Picture URL");
    var pictureId = encodedId + "picture";
    var pictureMarkup = Srch.ContentBySearch.getPictureMarkup(pictureURL, 304, 100, ctx.CurrentItem, "cbs-pictureOnTopImg", line1, pictureId);
    var containerId = encodedId + "container";
    var pictureLinkId = encodedId + "pictureLink";
    var pictureContainerId = encodedId + "pictureContainer";
    var dataContainerId = encodedId + "dataContainer";
    var line1LinkId = encodedId + "line1Link";
    var line1Id = encodedId + "line1";
    var line2Id = encodedId + "line2";
    var line3Id = encodedId + "line3";
     _#-->
            <div class="top-content-box" id="_#= containerId =#_" data-displaytemplate="ItemPictureOnTop">
                <div class="top-content-img" id="_#= pictureContainerId =#_">
                    <a class="cbs-pictureImgLink" href="_#= $urlHtmlEncode(url) =#_" title="_#= $htmlEncode(line1) =#_" target="_blank" id="_#= pictureLinkId =#_">
                        _#= pictureMarkup =#_
                    </a>
                </div>
                    <h3 id="_#= line1Id =#_"><a class="cbs-pictureOnTopLine1Link" target="_blank" href="_#= $urlHtmlEncode(url) =#_" title="_#= $htmlEncode(line1) =#_"
    id="_#= line1LinkId =#_"> _#= line1 =#_ </a></h3>      
                    <span class="content-date" title="_#= $htmlEncode(line2) =#_" id="_#= line2Id =#_"><img class="cbs-Thumbnail" src="_#= $urlHtmlEncode(iconURL) =#_"
    alt="_#= $htmlEncode(line1.defaultValueRenderer(line1)) =#_" id="_#= pictureId =#_" />_#=line2=#_</span>                
            </div>
        </div>
    </body>
    </html>
    Basically,ctx.CurrentItem.ServerRedirectedURL is calculated by a managed property ServerRedirectedURL which needs to be included in the display template.
    Problem solved.
    Nehal Bhandari,ATL, Nagarro Softwares

  • Account search functinality is not working for one user in portal

    Hi friends,
    We have configured E.P 7.0 with CRM 5.0 and configured CRM PCUI business package.
    We have a role called <b>accounts and products</b> in portal. So accounts can be searched in this role.
    Now our severity issue is for one of the super user,for ex su1, accounts search is not working in portal but the same is working in CRM GUI.
    for example if we search for an account 233445(or any other account) in portal its showing no data found but if we search with the same criteria data is displaying CRM GUI.
    We have checked with other 2 super ids. Both ends portal and gui search is working fine.
    Am unable to figure out whats the cause of the issue as search is not working only for one user su1 .
    we have checked by restarting the server also to clear the memory cache.But still search is not working in portal.
    Could anyone of u please advice ASAP as this is severity issue.
    Thanks & Regards
    Sireesha.

    Hi srinivas,
      I have checked both the users credentials,permissions,groups in the GUI and also in the portal.
      Both of the users profiles are assigned as same.
       Could you please advice is there any other way to check it out?
      Regards
      Sireesha.

  • Search in library not working for some libraries (and for others it does work)

    Dear SharePoint/Search adepts
    As you all know, in SharePoint 2013 you have the
    possibility to search from a library.
    Today I encountered some strange behavior…
    We've deployed a SharePoint 2013 environment, 4 SharePoint servers (2wfe +2app),
    and an additional server dedicated to Search and all of its components. This with
    a SQL cluster as a backend
    everything works just perfect...
    Except certain search boxes (above a library) do not
    return results when trying to search within the library.
    If we take the same query and execute it on the site
    itself, it returns the desired result set.
    The odd thing is, that it doesn’t affect all the libraries, in some it works,
    in some it doesn’t.
    no error messages or something like it, search just playing dumb
    I’ve checked several times, all the desired documents
    are crawled. (And can be found in the site search)
    I’m quite confident and experienced with search, but
    this blows my mind and I do not know where to look anymore ...
    Does anyone have an idea?
    Thx for helping out!
    Daan

    check for the scope for the search configured
    Whenever you see a reply and if you think is helpful, click "Vote As Helpful"! And whenever
    you see a reply being an answer to the question of the thread, click "Mark As Answer

  • List search box does not work for some users Sharepoint 2013

    Hello,
    I have a list for which I've enabled a search box (from web part settings, miscellaneous).
    The problem is that for me and the others admins the search works perfectly, but for the other users who have only Read
    privilege the search doesn't work and shows the loading icon forever.
    Why does this happen?
    How can I enable search box
    for the list for all users?
    Please help
    me

    Hi,
    For troubleshooting your issue, please go to Central Administration -> Application Management ->Manage Service applications->  select search service application -> click Permissions -> add "Everyone" with Full Control.
    Best Regards,
    Eric           
    TechNet Community Support
    Please remember to mark the replies as answers if they help, and unmark the answers if they provide no help. If you have feedback for TechNet Support, contact
    [email protected]

  • Search is not working for MS Word documents

    Hi,
    serious help required for search operation.
    Search operation is not working for MS Word Documents.
    i noticed that, after chekin word documents its status comes as
    GENWWW.
    i already enable file format & extension for word file.
    can somebody help me in this regard.
    Thankx in advance

    Hi
    Please enable the tracing option for :
    requestaudit,indexer
    Enable Full Verbose Tracing .
    Checkin the Ms-Word document and once it fails then check the view server o/p under System Audit Information page and post the error message happening for indexing operation .
    Thanks
    Srinath

  • Filtering not working for newly added child objects in master-detail table

    Hi,
    I am using Jdeveloper 11.1.1.4 version.
    Problem scenario:
    Filtering of records is not working for newly created child objects in a master-detail scenario.
    Steps to reproduce this issue using HR Schema (using LOCATIONS and DEPARTMENTS table ) :
    1. Create Business components (EO's & VO's ) for LOCATIONS & DEPARTMENTS table)
    1. Create a .jspx page and insert a readonly master table of Locations
    2. Insert a child table (inline-edit table) of Departments and enable filtering
    4. For the child table, drag and drop CreateInsert operation as a toolbar button .
    5. Create a new child record using the toolbar button and enter data .
    6. Filtering on the newly created child record's attributes does not work.
    Please note that the same filter works for existing child records.
    Any suggestions for resolving this issue?
    Thanks,
    Vikas

    Found from Fusion Developer's Guide the following snippet about QBE functionality :
    "+When you create data controls, all data collections will automatically include a Named Criteria node with an All Queriable Attributes criteria. This is the default view criteria that includes all the searchable attributes or columns of the data collection. You cannot edit or modify this view criteria+. "
    So, the question is if the implicit view criteria cannot be edited, how else to set the query execution mode to "Both" ?
    Shouldn't ADF BC support this by default? Is this a bug?
    Note:- If you create a maste-detail table using POJO datacontrols, filter works correctly for newly created child records also .
    This seems to be an issue with ADF-BC datacontrols only.
    Thanks,
    Vikas

  • My search engines do not work. I can access all my bookmarked items, but I cannot search for anything new. I followed all the troubleshooting steps I found but it did not work.

    My search engines do not work. I can access all my bookmarked items but I cannot perform any new searches. This problem has been happening since this morning. I followed all the troubleshooting steps that I could find and nothing has worked.

    Just to make sure, did you check the ring/silent button on the side of the phone? If it is set to "mute" you can still hear your selected ringtone in settings/sound, for example.

  • Search is not working for subsites

    hello,
    SharePoint search is not working for any of the subsites and it is just working for top level site. I can see that all the subsites is visible in search. Any idea?
    interesting thing is, it is not working just for one site collection subsites. If i do search in subsites of another site collection of the same web application than it is working fine and it is working fine for all ohter web apps too.
    Please help.
    Thanks,

    Hi,
    I agree with Chris, please check following in your sub site: http://site_name/subsite_name
    1. Click on Site Actions -> Site Settings ->Modify All Site Settings
    2. Click on Search visibility.
    3. Check All this web to appear in search results.
    4. Browse to the document library or list  in your sub site.
    5. Click on Settings->Document Library Settings or list settings.
    6. Click on Advance settings.
    7. Check the last item - All items from this document library to appear in search results.
    Hope this helps.
    Rock Wang
    Rock Wang– MSFT

  • LSMW For Converting Open Sales Orders (not working for more than 1 item)

    Hi,
    I am using following standard object for Open sales orders .
    Object               0090   Sales documents                   
    Method               0000                                     
    Program Name         RVINVB10                                 
    Program Type         D   Direct Input                         
    Its not working for more than 1 line item.
    For more than 1 line item its giving Error saying that
    '102122                         V1                   845
    Print parameter SAPML2 1 is not defined
    Can anybody help me out in this regard.
    Thanks in advance.
    Nitin.

    hello, friend.
    i will still research the subject.  but the first thing that comes into my mind is t-code VA05.  with this, you have the option to change the Plant en masse.  so a possible workaround is for you to list a number of sales orders using VA05.  you then sort the line items by Plant.  choose all items with the same plant, change the plant via mass change... then change back to the original plant.  hopefully, the new settings should apply.
    do test a few sales orders by doing this for a larger scope.
    regards.

  • BPM Worklist: Searching in custom views does not work for protected flexfields !

    Hello,
    Have mapped few protected attributes in my .task file. Also created the corresponding labels on target SOA server. I am able to create custom views using these protected flex fields.
    But what I have observed is keyword based search is not working for custom views using protected fiexfields.. however it works fine with public fiexfields.
    Any pointers on this? Am I missing something in the configuration?
    Thanks..

    Can anyone help me?

  • Search suggestion not working for anonymous user in sharepoint 2013

    Hi ,
    Please help on this search suggestion not working for anonymous user in sharepoint 2013
    shaik

    You can create a search center site, and set the search center site to
    allow anonymous access.
    Also see this link - http://blog.mastykarz.nl/search-query-suggestions-anonymous-users-sharepoint-2013-mavention-query-suggestions/ 
     (As this is regarding a 3rd party tool, I suggest that you direct it to the  provider support.)
    Please 'propose as answer' if it helped you, also 'vote helpful' if you like this reply.

Maybe you are looking for