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 Chris Miller on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Search results for query: *

  1. BobHartung

    Table problem

    Sorry again... the PROPER declaration is.... DECLARE @CustomerItems TABLE (Customer_ID VARCHAR(50), Item_in_cart VARCHAR(50), ItemRank INT) man.. it's been a long day...
  2. BobHartung

    Table problem

    Oh.. and don't forget to declare the @CustomerItems table.... DECLARE @CustomerItems TABLE (Customer_ID VARCHAR(50), Item_in_cart VARCHAR(50))
  3. BobHartung

    Table problem

    If you are using SQL Server 2005, you can use Common Table Expressions to solve this problem. Try something like this... INSERT INTO @CustomerItems SELECT Customer_ID ,Item_in_cart ,ROW_NUMBER() OVER(PARTITION BY Customer_ID ORDER BY Item_in_cart) AS ItemRank FROM Customer_cart; WITH...
  4. BobHartung

    Multi Series Chart - CR11

    Right click on the actual line on the chart and go to Series Options. Verify that the Line Style is "Lines Only".
  5. BobHartung

    Linking subreports

    In your case, select number_ID from the linked fields list, and make sure that the dropdown below "Select data in subreport based on field" is set to TABLE_NAME.number_ID.
  6. BobHartung

    Linking subreports

    You are prompted for the parameters because Crystal was not supplied a value. Right click the subreport and choose "Change Subreport Links...". Then make sure the proper fields from the available fields list are added to the fields to link to list. In order to stop the report from prompting...
  7. BobHartung

    Suppressing one filed by the date of another.

    Sorry, lbass is correct. My formula is actually backwards.
  8. BobHartung

    Suppressing one filed by the date of another.

    Right click the Comment field and go to "Format Text...". Click the suppression formula button to open the formula workshop. The following formula will suppress the comments if the order is not overdue: {@Due_Date} < CurrentDate
  9. BobHartung

    passing parameter from Crystal to stored procedure

    When you run the report in Crystal, do you get prompted for JobID? Also, I noticed that @JobID and @ReportUserGUID are different data types. This probably isn't your issue, but it would probably be best to make them the same data type.
  10. BobHartung

    CR11 - Need help with sum for complex scenario

    Create the following formulas to return the units for each billing category: {@3rd_Party_Units}: IF {Billing} = "3rd Party" THEN {Units} ELSE 0 {@Medicaid_Units}: IF {Billing} = "Medicaid" OR {Billing} = "" THEN {Units} ELSE 0 {@Client_Units}: IF {Billing} = "" THEN {Units} ELSE 0 Place this...
  11. BobHartung

    Error Displaying the Year

    Maybe you could try converting the field to a datetime in Crystal, and leave the field as its original data type in the view.
  12. BobHartung

    Querying for nulls in a selection

    If you want to check to see if the parameter is NULL instead of "ALL".... (ISNULL({?pTheTitleAlpha}) OR {vTitleAndSection.Title_Alpha} = {?pTheTitleAlpha}) AND {vTitleAndSection.Title} = {?pTheTitle}
  13. BobHartung

    Querying for nulls in a selection

    Try this: ({?pTheTitleAlpha} = "ALL" OR {vTitleAndSection.Title_Alpha} = {?pTheTitleAlpha}) AND {vTitleAndSection.Title} = {?pTheTitle} If {?pTheTitleAlpha} is "ALL", return TRUE and go onto the next comparison. Otherwise, compare {vTitleAndSection.Title_Alpha} to {?pTheTitleAlpha} before...
  14. BobHartung

    Dynamic Date Columns Formula???

    In your record selection formula you could have: {Date_Field} >= ParamDate AND {Date_Field} <= DateAdd("m", 12, @ParamDate) Then group by {Date_Field} for each month. You could then do a crosstab or a chart displaying your amounts on the change of {Date_Field}.
  15. BobHartung

    CR11 - Need help with sum for complex scenario

    What are the columns of the Service and Billing tables?

Part and Inventory Search

Back
Top