Results 1 to 3 of 3

Thread: Select All from Jump Menu

  1. #1
    Join Date
    Feb 2005
    Posts
    81
    Thanks
    8
    Thanked 0 Times in 0 Posts

    Default Select All from Jump Menu

    I am using three jump menus to search seperate fields in a db
    The 3 variables are: -

    var_dept - Department
    var_cate - Category
    var_haz - Hazzard

    I want to be able to select either all three or any combination of the three variables

    I have tried setting the variables to % and * in the jump menu but it does not bring back any records

  2. #2
    Join Date
    Feb 2005
    Posts
    81
    Thanks
    8
    Thanked 0 Times in 0 Posts

    Default

    Sorted now

    I have used LIKE and used % in my statement

  3. #3
    Join Date
    Mar 2005
    Location
    Isle of Man
    Posts
    1,261
    Thanks
    3
    Thanked 24 Times in 24 Posts

    Default

    Quote Originally Posted by s80wkr
    Sorted now

    I have used LIKE and used % in my statement
    you could also use
    Code:
          WHERE table.myfield IN ( 'list', 'of' , 'possibilities' )
    *if I have understood your problem correctly.

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Similar Threads

  1. Guest ( ' UNION SELECT e )
    By Service Engineer in forum General Technical Support
    Replies: 1
    Last Post: 15th July 2006, 01:53 AM
  2. RFH Pop Up Menu
    By s80wkr in forum HTML/CSS/JavaScript
    Replies: 8
    Last Post: 6th January 2006, 03:47 PM

Bookmarks

Posting Permissions

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