Results 1 to 4 of 4

Thread: Advanced search value range

  1. #1
    klaric is offline Member
    Join Date
    Aug 2010
    Posts
    10

    Default Advanced search value range

    Hi all,
    I've installed Enhanced Search Extension because I was looking for a date range and value range search. Date range worked like a charm, but I cannot figure out how to set up the value range search. I have a custom field called "Transactions number" with different values. Is it possible to search all the accounts with number of transactions 20-60 for example?
    thanks

  2. #2
    raym2x is offline Member
    Join Date
    Sep 2010
    Location
    Cebu, Philippines
    Posts
    16

    Default Re: Advanced search value range

    You should define a non_db field for the minimum and maximum value. Then override function create_list_query() in the module's bean.

  3. #3
    kenshiro is offline Sugar Community Member
    Join Date
    Mar 2007
    Location
    Macerata - ITALY
    Posts
    421

    Default Re: Advanced search value range

    Quote Originally Posted by klaric View Post
    Hi all,
    I've installed Enhanced Search Extension because I was looking for a date range and value range search. Date range worked like a charm, but I cannot figure out how to set up the value range search. I have a custom field called "Transactions number" with different values. Is it possible to search all the accounts with number of transactions 20-60 for example?
    thanks
    Hi,

    If "Transactions number" is numeric you can use the BETWEEN numeric operator.
    Patrizio Gelosi.
    Dispage - http://www.dispage.com

    Discover how to modify web pages from your browser with Jelliphy

    Follow us on Facebook and Twitter

  4. #4
    klaric is offline Member
    Join Date
    Aug 2010
    Posts
    10

    Default Re: Advanced search value range

    Thank you both for the help, I've managed to create numeric base fields and perform search with numeric operators. there is still no value range as I don't have the full version installed but this will do the trick.

Thread Information

Users Browsing this Thread

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

Similar Threads

  1. Search by date range
    By jkuchta in forum Help
    Replies: 5
    Last Post: 2011-01-21, 08:39 PM
  2. Date range fields under the advanced search panel
    By mathewp in forum Sugar Developer Website
    Replies: 7
    Last Post: 2009-03-09, 06:35 PM
  3. search range postcodes
    By maus in forum Developer Help
    Replies: 3
    Last Post: 2008-09-29, 09:59 AM
  4. Search for a range?
    By gerald29 in forum General Discussion
    Replies: 2
    Last Post: 2008-09-05, 12:25 PM
  5. Search a range
    By mingwu in forum Developer Help
    Replies: 2
    Last Post: 2006-05-02, 01:37 AM

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
  •