CiviCRM Community Forums (archive)

*

News:

Have a question about CiviCRM?
Get it answered quickly at the new
CiviCRM Stack Exchange Q+A site

This forum was archived on 25 November 2017. Learn more.
How to get involved.
What to do if you think you've found a bug.



  • CiviCRM Community Forums (archive) »
  • Old sections (read-only, deprecated) »
  • Support »
  • Using CiviCRM »
  • Using CiviReport (Moderator: Dave Greenberg) »
  • Report showing upcoming anniversaries
Pages: [1]

Author Topic: Report showing upcoming anniversaries  (Read 1178 times)

bilvavan

  • I’m new here
  • *
  • Posts: 9
  • Karma: 0
  • CiviCRM version: 3.3.5
  • CMS version: Drupal 6.20
  • MySQL version: 5.5.8
  • PHP version: 5.3.5
Report showing upcoming anniversaries
April 17, 2011, 07:05:18 am
Hi,

I have a custom field that stores the Marriage Anniversary dates of my contacts. I need to create a report that shows me the anniversaries coming in the next 20 days. I plan to view this report on the dashboard.

Can someone help me on this.

PS: The anniversary is a date field (dd/mm/yyyy) & in the report filters, I could not find a way by which I can just extract all dates that have date/month 20 days from the current date/month.
« Last Edit: April 17, 2011, 07:59:41 am by bilvavan »

Donald Lobo

  • Administrator
  • I’m (like) Lobo ;)
  • *****
  • Posts: 15963
  • Karma: 470
    • CiviCRM site
  • CiviCRM version: 4.2+
  • CMS version: Drupal 7, Joomla 2.5+
  • MySQL version: 5.5.x
  • PHP version: 5.4.x
Re: Report showing upcoming anniversaries
April 17, 2011, 07:59:16 am

You will need to do this as a custom report. Instructions here:

http://wiki.civicrm.org/confluence/display/CRMDOC32/CiviReport+structure+and+customization

If you do so, please share your code so others can benefit. Better yet, publish it as an extension

lobo
A new CiviCRM Q&A resource needs YOUR help to get started. Visit our StackExchange proposed site, sign up and vote on 5 questions

bilvavan

  • I’m new here
  • *
  • Posts: 9
  • Karma: 0
  • CiviCRM version: 3.3.5
  • CMS version: Drupal 6.20
  • MySQL version: 5.5.8
  • PHP version: 5.3.5
Re: Report showing upcoming anniversaries
April 17, 2011, 08:10:57 am
Sorry, but am poor at development stuff. Let me know if there's some way around using civicrm frontend options.

or else, I'll need to split the date field into 3 different fields for date, month & year & then search using month - but it sounds too weird ! Still, the problem would remain if I run the report on say 25th of the month - I won't get to know the dates from 1-15th of the next month.

any other ideas please ?

Pages: [1]
  • CiviCRM Community Forums (archive) »
  • Old sections (read-only, deprecated) »
  • Support »
  • Using CiviCRM »
  • Using CiviReport (Moderator: Dave Greenberg) »
  • Report showing upcoming anniversaries

This forum was archived on 2017-11-26.