Advanced Dynamic Search

I use ASP VBscript.. SQL2000
And I'm trying to allow customers to search our database for
products:
Dynamic Query... It's easy for me to create a basic search
where the
exact phrase is returned or something relatively similar is
returned.
For example, if I use the wildcard, I can extend my ability
to give the
customer what they want but it would be nice to offer more.
I need the customers to be able to search for something more
complex...:' Since I don't know how many words the customer
will use,
I'm not sure how to do it.
(one, two, three)
or (one two three)
or ("one two three")
Basically, something like what you would find on google's
search or Tom
Muck offers an extension and I'm trying to contact him about
functionality with stored procedures. He's basically created
an
extension that does almost exactly what I want but since I
use stored
procedures, I would need to rig it to work. Link to his
extension below.
http://www.tom-muck.com/extensions/help/dynamicsearchasp/
Anyone have an idea if I something like this is possible
without too
much bone-crunching effort?

Art wrote:
> I use ASP VBscript.. SQL2000
>
> And I'm trying to allow customers to search our database
for products:
> Dynamic Query... It's easy for me to create a basic
search where the
> exact phrase is returned or something relatively similar
is returned.
> For example, if I use the wildcard, I can extend my
ability to give the
> customer what they want but it would be nice to offer
more.
>
> I need the customers to be able to search for something
more
> complex...:' Since I don't know how many words the
customer will use,
> I'm not sure how to do it.
>
> (one, two, three)
> or (one two three)
> or ("one two three")
This is something I have been planning on doing too, with
Stored
Procedures, and I am hoping its not a major headache. If I
find anything
I will post it here.
Steve

Similar Messages

  • Dynamic Search Object for Payment Terms

    Hi,
    May i know the Dynamic Search Object for Payment Terms. I have to create a Advanced Search Page with Payment terms. I could not find the dynamic search object for Payment terms. Any help is appreciated
    Thank you.
    -Siddharth

    Hi,
      The search help for the payment terms is not coming from the DDIC search help..
      It is coded in the process on value-request event...
      The function module FI_F4_ZTERM is called for this..you have to change this function module in case if you want the values from a different table..
      OR do implicit enhancement in the subroutine FORM HELP_ZTERM in the include MF02DFH0 to call your search help instead of the function module FI_F4_ZTERM ..And do the same for the sales order also..
    Thanks
    Naren

  • DW/CF Extension for advanced database search

    Hi:
    Do you know any Dreamweaver Extension that makes Advanced
    Coldfusion search pages that searched through different Database
    (MS ACCESS or MS SQL 2000) tables and recordsets? Free or
    Commercial doesn't matter just I want it to works good with
    different related database tables.
    Thanks
    Benign

    http://www.tom-muck.com/extensions/help/dynamicsearchasp/
    Have a look at Tom's Dynamic Search extension.
    Cheers jojo
    Adobe Community Expert for Dreamweaver 8
    http://www.webade.co.uk
    http://www.ukcsstraining.co.uk/
    Extending Knowledge, Daily.
    http://www.communityMX.com/
    Free 10 day trial
    http://www.communitymx.com/joincmx.cfm

  • How Can I get multi column values from dynamic search help?

    Hi Gurus;
    I'm using dynamic search help in my program.
    I want to get multi column values from search help. But I dont know solution for this issue.
    I'm using F4IF_INT_TABLE_VALUE_REQUEST FM.
    How Can I get multi column values from dynamic search help?
    Thanks.

    Believe it or not, the same FM worked for me in a dynpro. I will try to explain here how it works in custom screen and then you can do your work for other screens or program types. I am not going to write my actual work but will explain in general.
    I have 4 fields (FLD1, FLD2, FLD3, FLD4) and i made the search based on FLD2 and when user click on a line (could be any field), then this would bring the line on to the screens.
    There are like 3 steps.
    You have your value_tab for my fields FLD1, FLD2, FLD3 and FLD4. This is just the data that we pass into the FM. (data: IT_VALTAB type table of ZVAL_TABLE)
    Next map the screen fields into an internal table (data: It_dynpfld type table of dselc ). I also have other internal tables defined  (just to keep it straight, i will be putting here) data:  It_return type standard table of ddshretval.
    Next step is to call the function module. Make sure you have values in IT_VALTAB.
    call function 'F4IF_INT_TABLE_VALUE_REQUEST'
    exporting
            retfield        = 'FLD2'
            value_org       = 'S'
          tables
            value_tab       = It_VALTAB
            return_tab      = It_return
            dynpfld_mapping = It_dynpfld
          exceptions
            parameter_error = 1
            no_values_found = 2
            others          = 3.
        if sy-subrc <> 0.
          message id sy-msgid type sy-msgty number sy-msgno
          with sy-msgv1 sy-msgv2 sy-msgv3 sy-msgv4.
        else.
          perform get_selected_fields tables It_return.
        endif.
    The code within the perform GET_SELECTED_FIELDS  - We need to map the result fields after user selects it. The code goes like this. This is step is to update the dynpro fields.
    I need a internal table as well as a work area here. like,
    data: lt_fields type table of dynpread,
            la_fields type dynpread.
      field-symbols: <fs_return> type ddshretval.
    so fill out LT_FIELDS from the IT_RETURN table
    loop at lt_return assigning <fs_return>.
        la_fields-fieldname = <fs_return>-retfield.
        la_fields-fieldvalue = <fs_return>-fieldval.
        append la_fields to lt_fields.
        clear: la_fields.
      endloop.
    Call the FM to update the dynpro
    call function 'DYNP_VALUES_UPDATE'
        exporting
          dyname               = sy-repid
          dynumb               = '1002' "This is my screen number. You could use 1000 for selection screen (hope so)
        tables
          dynpfields           = lt_fields
        exceptions
          invalid_abapworkarea = 1
          invalid_dynprofield  = 2
          invalid_dynproname   = 3
          invalid_dynpronummer = 4
          invalid_request      = 5
          no_fielddescription  = 6
          undefind_error       = 7
          others               = 8.
      if sy-subrc <> 0.
        message id sy-msgid type sy-msgty number sy-msgno
                with sy-msgv1 sy-msgv2 sy-msgv3 sy-msgv4.
      endif.
    good luck

  • Dynamic Search-help in Selection Screen Parameter

    Hi,
    Please can you provide some solution for the below requirements.
    I have 2 fields ( Organization channel and Team ) in my selection screen. Under one organization channel there can be many teams.
    And I am trying a  dynamic search help on both the fields using event AT selection-screen on Value request and
    FM 'F4IF_INT_TABLE_VALUE_REQUEST'.
    But I am facing the below issue .
    First I am giving some values in field 'Organization channel' . Then I am clicking on F4 button on my  2nd field 'Team' .
    and in debugging mode under the event  'At selection-screen on value request', Select option SO_Team is blank.
    The value provided in the Organiozation channel is not being captured in SO_TEAM-Low
    Please have a look on the below codes.
    AT SELECTION-SCREEN ON VALUE-REQUEST FOR so_team-low .
    if not  so_orgchannel-low  is  initial.      "Here so_orgchannel-low  value is coming as Zeros.
    select  * from HRP1001 into table GT_HRP1001
              where objid = so_orgchannel-low.
    CALL FUNCTION 'F4IF_INT_TABLE_VALUE_REQUEST'
             EXPORTING
                  retfield        = 'ORGID'
                  value_org       = 'S'
                  dynpprog        = 'ZTEST'
                  dynpnr          = '1000'
             TABLES
                  value_tab       = gt_hrp1001
             EXCEPTIONS
                  parameter_error = 1
                  no_values_found = 2
                  OTHERS          = 3.

    Hi,
    AT SELECTION-SCREEN ON VALUE-REQUEST FOR so_team-low .
    "Add This  Begin
      CLEAR t_dynpfields.
      REFRESH t_dynpfields.
      t_dynpfields-fieldname  = 'SO_ORGCHANNEL-LOW'.
      APPEND t_dynpfields.
      w_repid = sy-repid.
    * reading Screen variables and Values
      CALL FUNCTION 'DYNP_VALUES_READ'
           EXPORTING
                dyname     = w_repid
                dynumb     = sy-dynnr
           TABLES
                dynpfields = t_dynpfields
           EXCEPTIONS
                OTHERS.
      READ TABLE t_dynpfields INDEX 1.
      so_orgchannel-low = t_dynpfields-fieldvalue.
    "Add this End
    if not  so_orgchannel-low  is  initial.      "Your code is here
    select  * from HRP1001 into table GT_HRP1001
               where objid = so_orgchannel-low.
    CALL FUNCTION 'F4IF_INT_TABLE_VALUE_REQUEST'
              EXPORTING
                   retfield        = 'ORGID'
                   value_org       = 'S'
                   dynpprog        = 'ZTEST'
                   dynpnr          = '1000'
              TABLES
                   value_tab       = gt_hrp1001
              EXCEPTIONS
                   parameter_error = 1
                   no_values_found = 2
                   OTHERS          = 3.
    Regards,
    Prabhudas

  • CANNOT USE "Advanced Custom Search Form For ADF"

    Hi,
    I have tried the application on this old post but it doesnt work on jdev 11g even after migrating.
    Can some body tell me whats wrong and / or post a working application here.
    Need to use this functionality urgently.
    the original post is here.
    http://my.opera.com/dominionspy/blog/2007/02/26/an-advanced-custom-search-form-for-adf
    Any help is really appreciated.

    Thanks for your reply.
    Could you tell me where can i find example implementations of the query model classes.
    they have mentioned it to be found in "For an example implementations of the different model classes for a query, see the classes located in the oracle.adfdemo.view.query.rich package of the ADF Faces sample application."
    Also where can i get the source code for this http://jdevadf.oracle.com/adf-richclient-demo/faces/components/query.jspx
    thanks in advance

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

  • Enhancing BtQact Dynamic Search

    Hi All,
    I want to know the class name for BTQAct which is triggered while getting the query result.
    Also it will be needful if the database table name I can get from where all the Business Object and corresponding Implementation class names are maintained.
    Thanks in Adv.

    Hello there.
    Let me explain how to trace the same.
    1. Lets take an example of dynamic search object in the model used in your component. BTQAct.
      Select the name of Model used in your component say ABC( Can be found in Runtime repository browser of Component in Models)
    2. Go To SPRO-> SAP Reference IMG-> CRM-> Cross Applicatiaon components-> Generic Interaction Layer->Basic Settings
    3. Select the option of Component Set definition and search for ABC here found in Step1.
    4. In this check the name of Components assigned responsible for Activities.
    5. Check in the same customizing the Component name thus picked in Step4 and then you will find three entries corresponding one component.
    Object Table   : Defines all objects in a component with their type ( eg search, root,child etc)
    Model Table: Defines relationship table --All relationships available amongst the objects of the component with the possible cardinality.
    IL class: This class will have all basic methods which gets called whenever any operation is performed on WEB UI of even on GENIL_BOL_BROWSER.
    I think this class name is the class you are looking for.
    Please reply if this helps.
    Best Regards,
    Vinamra.

  • Advanced Keyword Searches (for data on ftp)

    Does anyone happen to know if running an Advanced Google Search will turn up data in the Public folder on my website that is not otherwise linked to my website? I have a couple of websites and I am trying to make sure I understand what is publicly available, what can be "scoured" and downloaded and how careful I really have to be with this.
    I also have a Wordpress Blog that allows for a PASSWORD PROTECTED post but I was not able to find out from their help forum if the Images that were uploaded as part of this post, or the pdf's that were linked to in this post - are in fact available via an Advanced Google Search. Since I upload the pdf's and the images to a Public folder on the site I assume this is the case.
    If so, I'd love to make sure I know how easy it would be for someone to download /all/ of this information.
    THANKS for any tips on this topic.

    888442 wrote:
    Hi,
    We have an existing setup of physical standby database on 11.1.0.7 on Linux (primary 2 node rac)
    Now, the customer has bought licence for Advance compression and we want leverage this in our standby setup.
    The existing parameter what we have is
    log_archive_dest_2 =SERVICE=STDBY_SWPRDENT ARCH ASYNC VALID_FOR=(ONLINE_LOGFILES,PRIMARY_ROLE) DB_UNIQUE_NAME=STDBY01 NET_TIMEOUT=60
    what changes do i need to change this for advance compression option.Some more reference, Check this manual
    http://docs.oracle.com/cd/B28359_01/server.111/b28294/log_arch_dest_param.htm#BABBFBDI
    http://docs.oracle.com/cd/B28359_01/server.111/b28294/log_transport.htm

  • Is it possible to enhance the dynamic search with Option field with custom

    Hi All,
    is it possible to enhance dynamic search with OPTION parameter like Equals to , Between etc, instead of these are we able to add our own? If yes, then which are steps need to perform.
    Thanking you.
    Regards,
    VjMHyd

    Just to test is this possible i wrote a sample program
    data: lr_dquery type REF TO cl_crm_bol_dquery_service.
    data: lv_status TYPE CRMT_PROCESS_DESCRIPTION.
    data: mv_bol_core type REF TO cl_crm_bol_core,
            lr_result_obj type ref to if_bol_bo_col,
            lv_opp_id type string,
            lr_entity type ref to cl_crm_bol_entity.
    MV_BOL_CORE = CL_CRM_BOL_CORE=>GET_INSTANCE( ).
    MV_BOL_CORE->START_UP( 'BT' ).
    *data: lv_opp_id type string.
    lr_dquery = cl_crm_bol_dquery_service=>GET_INSTANCE( 'BTQOpp'  ).
    if lr_dquery is bound.
    *   prepare the selection paramters
      lr_dquery->add_selection_param(
        exporting
          iv_attr_name =  'OBJECT_ID'   " Component name
          iv_sign      =   'I'  " Inclusion/exclusion criterion SIGN for range tables
          iv_option    =   'PI'  " Selection operator OPTION for range tables
          iv_low       =   lv_opp_id
    *   Get the dynamic result object and read the opportunity status from there
      lr_result_obj ?= lr_dquery->get_query_result( ).
      lr_entity ?= lr_result_obj->get_first( ).
      if lr_entity is bound.
        lr_entity->get_property_as_value( exporting iv_attr_name = 'STATUS'
                                    importing ev_result = lv_status ).
      endif.
    endif.
    BREAK-POINT.
    No syntax error but junk values returned as I had not written the logic for retrieval based on this operator. This means that if you add the selection_param to the dynamic query and then handle that same thing in the GENIL class for the component then you would be able to retrieve the values based on this.
    On the UI , you would be retrieving all the operators for the parameters. There for that particular field you have to add the new operator for your case. And this would be send to the Dquery class and added as a selection param. When the query is executed, if the genil class has been updated to handle this parameter, you should be able to retrieve the results.
    Regards
    Kavindra
    Edited by: joshi_kavindra on Jan 19, 2012 2:45 PM
    Edited by: joshi_kavindra on Jan 19, 2012 2:53 PM

  • Help! Advanced Product Search

    Hi guys,
    I need some help setting up an advanced product search for a client.
    We are over half way through the job and they have now decided they want a product search to be able to so they search the size of a generator by power rating and brand. So basically a dropdown with 0 - 4 kva / 4 - 8 kva / 8 - 12 kva and another with brand: Brand 1 / Brand 2 / Brand 3 etc. In theory it shouldn't be too hard, but with the limitations of BC I cannot see anyway to do this. I found a link to an old article on the old BC forums (http://www.businesscatalyst.com.au/ForumRetrieve.aspx?ForumID=52&TopicID=16139) where someone was trying to do a similar thing, but since its all redirected I cannot see a solution!
    They essentially were using the custom fields to enter say the rating 3 kva and brand and trying to search that way.
    In the support documentation it says you can add a '&amp;SE=True' to the end of your Search action and it will search 'Tags' which is possible but it seems a little bit of a messy way to do it. Ideally I wanted to use a series of dropdown menus to make it easier.
    If anyone has any advice or suggestions that would be fantastic. I am almost leaning towards getting a custom jquery search made up but it just seems like going to extremes when BC should be able to handle this.
    Cheers!
    Guy.    

    Hi Guy,
    If you disable JavaScript and go to http://www.businesscatalyst.com.au/ForumRetrieve.aspx?ForumID=52&TopicID=16139 you will be able to view that forum post. But I had a look at it and there is nothing useful in it.
    Basically, there is nothing out of the box that will accommodate for that requirement. The only thing you can do is to create power and brand catalogues and provide the catalogue dropdown where the customers can choose the power or the brand it in the search form.
    Cheers,
    -m

  • Whence people.aspx and advanced people search from 2010 to 2013?

    In SP 2010 my enterprise search center contained the page people.aspx, which allowed users a specific landing page if they were interested in doing only people searches.  So far, my current 2013 installations have the peopleresults.aspx pages, but not
    the people.aspx page.
    Particularly interesting to my customers from the 2010 people.aspx is/was the way the advanced search options had been handled.  In 2010 this was a javascript invoked drop-down of text boxes that allowed users to target particular crawled properties
    (and build the queries for the users) without the users having to learn the (seemingly to them) arcane incantations of the one-box search used to do that.
    Was that "Last Name" or "LastName" or "SurName"?  Is it ":" or "="? do I use single or double quotes?  You gret the idea.
    Anyway, as we consider the migration path of our search page, what's the strategy for support of the 2010 'advanced' people search functions from the people.aspx page in 2013?
    Am i supposed to create a new people.aspx patterned off the results.aspx page so they have a "people search starting point"?, and then also create a peopleadvanced.aspx page to support the targetted properties with proper text boxes (not ones
    that say "contains all words", etc).  Does the javascript ToggleTeaser() box still exist in the 2013 one-box search web parts, or is it just gone?
    Help in how i plan this migration, and explain this to my customers appreciated.

    Hi Norm,
    SharePoint 2013 search center also contain people search, you can choose to search ‘Everything’, ‘People’, ’Conversations’ or ‘Videos’.
    And for Advanced Search, you can enable it by editing the page in search center, click to ‘Edit the web part’ on the web part menu, then Settings->enable advanced search page, choose to enable it.
    You will see the advanced search link in search page.
    Thanks,
    Qiao Wei
    TechNet Community Support

  • Dynamic Search - Upper/lower case of Search Criteria

    Hi,
    If I enter a search criterion in lower case in the text box field of my dynamic search, the string gets automatically converted to upper case when I press 'Search'. Is there any way to retain the case of the search parameter value?

    Hi,
    the data types for the input fields of the search mask are of type STRING. There is no conversion done there.
    If the case changes it has to be done in the applicatgion logic of the view controller, most probably the EH_ONSEARCH().
    Another hot option is the data element that is used for the parameter. Does it allow lower case values?
    cheers Carsten

  • What incorrect syntax found in this query for dynamic search

    I make this stored procedure for dynamic search by date from date to employee no employee name
    but it give me error why
    Create proc CollectsearchData15
    @StartDate datetime,
    @EndDate datetime,
    @EmployeeID NVARCHAR(50),
    @EmployeeName nvarchar(50)
    as
    Begin
    DECLARE @SQLQuery as nvarchar(max)
    SET @SQLQuery = N'SELECT * from ViewEmployeeTest Where (1=1)'
    If @StartDate Is Not Null
    SET @SQLQuery = @SQLQuery + N' And (joindate >= @StartDate)'
    If @EndDate Is Not Null
    SET @SQLQuery = @SQLQuery + N' And (joindate <= @EndDate)'
    If @EmployeeID Is Not Null And @EmployeeID != ''
    SET @SQLQuery = @SQLQuery + N' And (EmployeeID = @EmployeeID)'
    If @EmployeeName Is Not Null And @EmployeeName != ''
    SET @SQLQuery = @SQLQuery + N' And (DriverName Like ''%'' + @EmployeeName + ''%'')'
    Print @SQLQuery;
    Exec sp_executesql @SQLQuery,
    N'@StartDate datetime, @EndDate datetime, @EmployeeID nvarchar(50), @EmployeeName nvarchar(50)',
    @StartDate, @EndDate, @EmployeeID, @EmployeeName;
    but it give me this error why
    Msg 102, Level 15, State 1, Procedure CollectsearchData15, Line 28
    Incorrect syntax near ';'.

    I think you are missing an END. Perhaps with no dynamic sql :
    SELECT * from ViewEmployeeTest
    WHERE
    (joindate >= @StartDate OR @StartDate IS NULL)
    AND
    (joindate <= @EndDate OR @EndDate IS NULL)
    AND
    (EmployeeID = @EmployeeID OR @EmployeeID IS NULL)
    AND
    (DriverName Like '%' + @EmployeeName + '%' OR @EmployeeName IS NULL)
    Thanks and regards, Rishabh K
    Please keep in mind that this might cause proc to generate bad plans
    http://sqlinthewild.co.za/index.php/2009/03/19/catch-all-queries/
    Please Mark This As Answer if it helps to solve the issue Visakh ---------------------------- http://visakhm.blogspot.com/ https://www.facebook.com/VmBlogs

  • More advanced mail search

    How can I preform a more advanced email search by two or three criteria's. For example search for an email from [email protected] containing X within the email, with the subject containing Y?

    Just ignore all the options and type the text you're searching for.

Maybe you are looking for

  • New to Apple - Bootcamp Help

    Hello everyone - I'm new to Apple and these forums. I just bought an iMac 21.5" the cheapest version. I have a couple of programs that I use that will only run on Windows. What is the best way to go about that? Bootcamp? Paralells? or something else?

  • Creating multiple  Spry menu bars in one site

    I've been creating a website and I am required to use multiple templates to manage all the different sections of the site.  To make it much less of a hassle, once I created one template, I simply saved that template as another template so I would not

  • 'thin' fonts on an external monitor

    Hi, I am using an x200 with an external LG monitor 1680 x 1050, 32bit with 120DPI font. The text seems very 'thin / weak' and is a challenge to read. Is there away of 'blackening' the text to make it nore legible ?

  • Editing a multi-page .pdf document

    Running PSE9 under Mac OS X Mavericks. I have a 49-page document as a single .pdf file.  I'm looking for the easiest way to: - Select all the pages so that I can edit any one or more pages in the file. - After editing, I want to save the entire file

  • Wait Event to be triggered with configurable no. of days

    Hello, I have a requirement in which a workflow gets triggered. After that it waits for an event to get triggered which it listens to. Also there is certain no. of days which is configurable. I want that when the event is received with the configurab