Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations TouchToneTommy on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Recent content by dhv919401

  1. dhv919401

    Two aggregate functions in two rows in matrix

    I am eargerly waiting for any clue. Any thoughts from anybody please? Thank you,
  2. dhv919401

    Two aggregate functions in two rows in matrix

    I have the following: Month Subtotal District year quarter Days Sum(Days) Crewsize First(Cresize) Example: 1 2 3 Subtotal GP 2007 FirstQuarter Days 101...
  3. dhv919401

    Days in a month

    Thank you so much. I have already built exactly the same way you mentioned. But I just wanted to confirm that there is a built-in function in Crystal to do this. May be it is worthy to have one in the later versions of Crystal. Thank you for all your help,
  4. dhv919401

    Days in a month

    I do not have a date. I need to know based on the monthnumber. Like Days(1) = 31 days in January. Is there anyway? Thank you so much,
  5. dhv919401

    Days in a month

    How can we get days in a month, if the month number is given. I need a function as below: DaysInAMonth(MonthNumber) = NumberofDaysInMonthNumber Thank you,
  6. dhv919401

    Sum and Average Values for a Max Summarized field

    Can you give me a little more explanation please. I did not catch what you were saying in that. Thank you for your time.
  7. dhv919401

    Sum and Average Values for a Max Summarized field

    I have the following crosstab: --------------Month------ District Year Quarter 1 2 3 Total XX 2007 FirstQuarter 6.2 6.1 5.6 Avg(6.2,6.1,5.6) YY 2007 FirstQuarter 1.1 1.3 0.4 Avg(1.1,1.3,0.4)...
  8. dhv919401

    Adding two fields and forcing a carriage return?

    I tried manually adjusting the field width. But unfortunately, the value is pushed to the farmost left but not wrapping around.
  9. dhv919401

    Adding two fields and forcing a carriage return?

    I tried ampersand and also CHR(10) (Line feed). I am using Version 9.0
  10. dhv919401

    Adding two fields and forcing a carriage return?

    The formula in the format field - Display string in a crosstab is: stringVar Result; Numbervar AfterDistribution; whileprintingrecords; AfterDistribution:= currentfieldvalue - val({@DistributionAmount}); Result:= TRIM(totext(currentfieldvalue,1))+ CHR(13) +TRIM(totext(AfterDistribution,1))...
  11. dhv919401

    Running total resetting to 0 on a new page

    Yes. But I tried resetting the formula in a group header etc.. But because it is not really flexible, I gave up my trials using crosstab in Crystal. I wrote a stored procedure in t-sql and called the procedure through report. This way I found it much easier than fiddling with the Crystal...
  12. dhv919401

    Running total resetting to 0 on a new page

    I have a crosstab as follows: SUMMARY FIELD = Operatingdays year Quarter Month district1 district2 total unit1 1 2 3 unit2 14 1 15 Total 15 3 18 I created two groups in the report. 1. By...
  13. dhv919401

    Crosstab - Summary field/total of summarized field

    Now... another problem. When I am trying to show the column total for each district, it is resetting the adddispl value to 0 for each page and also it is showing the total for the entire month because it is a running total. How do I display column totals and row totals for the displayed values?
  14. dhv919401

    Crosstab - Summary field/total of summarized field

    I created another group by unit and created the summary formula field by the Unit and "monthly". This solved my problem. I still want to keep this chain open as I need to do variations of this report. I will be bugging for some more time I think......:-) Thank you very much once again for...
  15. dhv919401

    Crosstab - Summary field/total of summarized field

    Unfortunately, this solution I already implemented before. Further explanation: Year Quarter Month MonthTotal District1 District 2 DistrictTotal Unit1 1 18 19 Unit2 3...

Part and Inventory Search

Back
Top