help with search feature

Ask a Question related to Dreamweaver AppDev, Design and Development.

  1. #1

    Default help with search feature

    hi
    i am using dreamweaver mx and asp and trying to create a multiple search
    feature
    i have a database about movies created in access
    the tables are movies, actors, directors, movie actors and movie directors
    (please suggest another idea i you feel this is wrong)

    on the search page i want to search by users entering text in the provided
    textboxes
    they can enter a movie title, an actor name, a dirctors name or by year

    this is how the earch page has been created, but i cannot create the results
    page.
    so far i have tried creating recordsets and entering the sql where clause on
    the advanced recordset, but whenever i type a criteria in the search field, it
    is either returning all the fiels in the database or showing an error message.

    please can someone help me understand how to create the recordset and what the
    sql statement should be
    or can someone please guide me on how to create the search feature

    thanks in advance

    dosima Guest

  2. Similar Questions and Discussions

    1. PDF Spliting, Search, Delete feature in VB.net
      Hi I have Acrobat 6.0 Professional and Adobe SDK 7.0 Please advise how to delete specific line from PDF file using VB.Net? Regards Bashar
    2. Error with the Verity Collection and Search feature
      I have set up a Verity Collection. It seems to be indexing correctly but when I go to the page and attempt a search it gives me this error (with no...
    3. search feature
      Hi i have implemented a search feature on my site, however i wanted the seach query to look through multiple tables. is this possible and does...
    4. ASP.NET Forums beta search hide feature!!??!?!?
      Hi!! can someone tell me where I can find some information to get this cool feature to hidde text as it's used in the ASP.NET Forums beta search...
    5. Datagrid with search feature
      www.4guysfromrolla.com have some excellent examples and the full code listings with the search field you need to use the following rather than...
  3. #2

    Default Re: help with search feature

    Dosima,

    Are you trying to retrieve results, on your results page, that shows data
    from multiple tables?

    I'm pretty new to this myself, but maybe something like this...

    SELECT *
    FROM dbo.movies, dbo.actors, dbo.directors etc
    WHERE dbo.movies.moviename LIKE "%formvariable%" OR dbo.actors.actorname
    LIKE "%formvariable%"

    I know you can create one recordset (for your results) that takes data from
    multiple tables, so the above code may not be exactly correct....you'd need
    to play around with it a little. At the bottom of the Advanced window,
    you'll see options for SELECT, FROM and WHERE. Use this to select multiple
    tables (simply click the table you would like and then click the SELECT
    button, then the same for fields etc.

    I hope this helps. Maybe if you provide more information though, such as
    the error message you receive.

    Nath.

    "dosima" <webforumsuser@macromedia.com> wrote in message
    news:d32sao$5bm$1@forums.macromedia.com...
    > hi
    > i am using dreamweaver mx and asp and trying to create a multiple search
    > feature
    > i have a database about movies created in access
    > the tables are movies, actors, directors, movie actors and movie directors
    > (please suggest another idea i you feel this is wrong)
    >
    > on the search page i want to search by users entering text in the provided
    > textboxes
    > they can enter a movie title, an actor name, a dirctors name or by year
    >
    > this is how the earch page has been created, but i cannot create the
    > results
    > page.
    > so far i have tried creating recordsets and entering the sql where clause
    > on
    > the advanced recordset, but whenever i type a criteria in the search
    > field, it
    > is either returning all the fiels in the database or showing an error
    > message.
    >
    > please can someone help me understand how to create the recordset and what
    > the
    > sql statement should be
    > or can someone please guide me on how to create the search feature
    >
    > thanks in advance
    >

    Nathon Jones Guest

Posting Permissions

  • You may not post new threads
  • You may post replies
  • You may not post attachments
  • You may not edit your posts

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139