Results 1 to 7 of 7

Thread: How to SEARCH BY DATE ???

  1. #1
    Perero is offline Junior Member
    Join Date
    Feb 2007
    Posts
    2

    Arrow How to SEARCH BY DATE ???

    Hello!!

    I'm having trouble with adding "Date Created" and "Last Modified" fields to Search Form of Cases.

    After field added to the Search Form



    and "Save and Publish" pressed, only the red asteriks appears instead of "Date Created" field:



    The same on Cases tab:




    HOW to ADD DATE FIELDS TO SEARCH FORM ???

  2. #2
    paikmoses's Avatar
    paikmoses is offline Sugar Community Member
    Join Date
    Jan 2006
    Posts
    541

    Default Re: How to SEARCH BY DATE ???

    Hey Perero,

    Take a quick look at this for managing custom fields: http://sugarcrm.openapp.org/?p=155

    Regards,

  3. #3
    Perero is offline Junior Member
    Join Date
    Feb 2007
    Posts
    2

    Default Re: How to SEARCH BY DATE ???

    paikmoses,

    for custom fileds it works but I need do search for predfined standard date fields "Date Created" and "Last Modified" and I can't add it to search form!

  4. #4
    paikmoses's Avatar
    paikmoses is offline Sugar Community Member
    Join Date
    Jan 2006
    Posts
    541

    Default Re: How to SEARCH BY DATE ???

    Perero,

    Not sure why this is hampering.

  5. #5
    Haney is offline Junior Member
    Join Date
    Apr 2006
    Posts
    4

    Default Re: How to SEARCH BY DATE ???

    I had the same symptoms. I modified line 57 of modules/Opportunities/SearchForm.html. The line number to edit will depend on the slot where you have the fields.

    <td class="dataField"><span sugar='slot6b'><input name='date_entered' onblur="parseDate(this, '{CALENDAR_DATEFORMAT}');" id='search_jscal_field' type="text" tabindex='2' size='11' maxlength='10' value="{DATE_ENTERED}"> <img src="themes/{THEME}/images/jscalendar.gif" alt="{APP.LBL_ENTER_DATE}" id="search_jscal_trigger" align="absmiddle"> <span class="dateFormat">{USER_DATEFORMAT}</span></span sugar='slot'></td>

  6. #6
    scrollinondubs is offline Junior Member
    Join Date
    Aug 2008
    Posts
    4

    Default Re: How to SEARCH BY DATE ???

    I'm able to get the "last modified" field into the advanced search using Studio but searching by date on that field doesn't return any results. It looks like the value stored in that field when I check it for a record I've touched is this:

    08/12/2008 16:46 by Sean Tierney

    I'm guessing when I search for that date and it fails to return that record it's looking for an exact match against that field and failing since it includes a time stamp and username...

    The thing that would be really useful is if there was a way to search a window of dates for last modified- have two date fields and be able to see any records modified during those days.

    Is there a bounty system for SugarCRM whereby I can pledge a dollar amount and others with the same desire can all pitch in to pay someone to build this feature? thanks

    Sean

  7. #7
    karkula is offline Member
    Join Date
    May 2008
    Posts
    5

    Default Re: How to SEARCH BY DATE ???

    Quote Originally Posted by scrollinondubs
    I'm able to get the "last modified" field into the advanced search using Studio but searching by date on that field doesn't return any results...
    Look for http://www.sugarforge.org/projects/enhancedsearch/

    I have yet to install it. But the question remains why date search cannot be done with Sugar's standard fields.

Thread Information

Users Browsing this Thread

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

Similar Threads

  1. Replies: 2
    Last Post: 2006-12-08, 04:19 AM
  2. Cannot Search using Date Fields!
    By rsantiago in forum Help
    Replies: 1
    Last Post: 2006-08-21, 12:28 PM
  3. Replies: 1
    Last Post: 2006-06-16, 03:35 AM
  4. Search Date
    By rana in forum Help
    Replies: 1
    Last Post: 2006-04-26, 03:22 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
  •