Why Experts Exchange?

Experts Exchange always has the answer, or at the least points me in the correct direction! It is like having another employee that is extremely experienced.

Jim Murphy
Programmer at Smart IT Solutions

When asked, what has been your best career decision?

Deciding to stick with EE.

Mohamed Asif
Technical Department Head

Being involved with EE helped me to grow personally and professionally.

Carl Webster
CTP, Sr Infrastructure Consultant
Ask ANY Question

Connect with Certified Experts to gain insight and support on specific technology challenges including:

Troubleshooting
Research
Professional Opinions
Ask a Question
Did You Know?

We've partnered with two important charities to provide clean water and computer science education to those who need it most. READ MORE

troubleshooting Question

Crystal Reports formlua to narrow scope current month + 2

Avatar of -Darvin-
-Darvin-Flag for United States of America asked on
Crystal ReportsEnterprise Software
4 Comments1 Solution637 ViewsLast Modified:
My report shows open sales orders by month.  Currently it shows any sales orders in the system for any month no matter how far out it is.  Management is particularly interested in the value of open orders for the current month plus the next two months.  I haven't been able to narrow down this scope yet so that it can run automatically.  I know i could accomplish this with a parameter field but that isn't acceptable.  The report needs to dynamically changed based on current month.
if isnull({#January}) then '' else 'January = ' + CStr({#January},0) + 
if isnull({#February})then '' else ' | February = ' + CStr({#February},0) + 
if isnull({#March}) then '' else ' | March = ' + CStr({#March},0) + 
if isnull({#April}) then '' else ' | April = ' + CStr({#April},0) + 
if isnull({#May}) then '' else ' | May = ' + CStr({#May},0) + 
if isnull({#June}) then '' else ' | June = ' + CStr({#June},0) + 
if isnull({#July}) then '' else ' | July = ' + CStr({#July},0) + 
if isnull({#August}) then '' else ' | August = ' + CStr({#August},0) + 
if isnull({#September}) then '' else ' | September = ' + CStr({#September},0) + 
if isnull({#October}) then '' else ' | October = ' + CStr({#October},0) + 
if isnull({#November}) then '' else ' | November = ' + CStr({#November},0) + 
if isnull({#December}) then '' else ' | December = ' + CStr({#December},0)
ASKER CERTIFIED SOLUTION
Avatar of dougvarga
dougvargaFlag of United States of America image

Our community of experts have been thoroughly vetted for their expertise and industry experience.

Commented:
This problem has been solved!
Unlock 1 Answer and 4 Comments.
See Answers