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 SkipVought 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. bdreed35

    Swipe slave Aloha pos to a new one

    It looks like you posted this in the wrong forum. ~Brian
  2. bdreed35

    Keep first and last record for each bus and suppres all other records for each bus

    Solid option posted by Charily. Here is another that isn't better but just another technique to do the same thing. -Insert a group on the bus number field. -Delete the Group Name field that was added to the new Group Header. -Move all the detail fields to the Group Header. -COPY all the same...
  3. bdreed35

    Date Part Issue

    Change the Date() function to the DateSerial() function and it should work from there. ~Brian
  4. bdreed35

    Cumulative Calculation

    Could handle this a couple of different ways. Here is one. -Create a formula and call it "Amount for Cum Bal" -Use this logic for the formula: if {Table.Trans} = "Payment" then {Table.Amount} * -1 else {Table.Amount} -Create a new Running Total field that summarizes the formula above...
  5. bdreed35

    Error in String Function

    How about just trying this: if instr ({'Administrative_Action_Report_'.Sanctions: Sanction},"Dismissal")>0 and instr ({'Administrative_Action_Report_'.Sanctions: Sanction},"Deferred")=0 then 1 else 0 ~Brian
  6. bdreed35

    Help counting a range of cells that contain the data in a reference cell

    That looks like an Excel formula. Did you intend to post this in an Excel forum or do you need help converting this over to Crystal Reports? ~Brian
  7. bdreed35

    SQL 2008 Stored Procedure date parameter

    Can the procedure be changed? CR will recognize the SP parameters as actual dates, rather than strings, if you define them in the SP as DateTime type rather than Date. ~Brian
  8. bdreed35

    Want to Set Up Parameter to Filter for A String

    The text has to match exactly. Leading and trailing spaces are characters just like letters and numbers. If they do not exist as pat of the values in the database column, it won't find it. When you did not use the leading and trailing spaces, it did find it. ~Brian
  9. bdreed35

    Want to Set Up Parameter to Filter for A String

    You should be able to use this same solution for multi-word phrases. Have you tried it out? ~Brian
  10. bdreed35

    Suppress Group Footer in Subreport if Summary equal 0

    I should have stated Group Footer rather than the Header. I just realized what the issue is. The Sum function you are using is the overall or grand total of the field. You need to reference the subtotal: if Sum ({@ExportPrice}, {PartRevisions.uimrCountryOfOrigin})=0.00 then formula = true...
  11. bdreed35

    Suppress Group Footer in Subreport if Summary equal 0

    A couple of thoughts. One, are you certain you have the formula in the correct place? Ensure that you have the group header section selected in the Section Expert and that you have the formula behind the X+2 button to the right of "Suppress (No Drill Down)". Second, are you sure that the...
  12. bdreed35

    Want to Set Up Parameter to Filter for A String

    You can either add the additional spaces like CoSpringsGuy posted or you can add any spaces to search on when the user puts in the prompt value. There are pros and cons for each. If you add the spaces in the record selection criteria, it saves the user from having to remember to add them. The...
  13. bdreed35

    Want to Set Up Parameter to Filter for A String

    I wasn't sure from your original post if you were looking to get exact matches of values from your img desc field or if you want to be able to match patterns. Since you want to match a pattern, the solution you found is the correct approach. Nice job figuring that part out! ~Brian
  14. bdreed35

    Want to Set Up Parameter to Filter for A String

    It sounds like you have referenced the parameter in your report, like dropping it on the report for display purposes possibly, but not used it in the actual Record Selection in order to filter the report records. I don't have a copy of version 9 on my laptop so these instructions may be...
  15. bdreed35

    How can I pull data for a week using start time of 7:00AM Sunday

    Agree that there are a couple of flaws in what I posted. Definitely need to use "maximum(LastFullWeek)+1" on the last line to pick up the second Sunday. You can either do the same thing on the first line or just get rid of the second underscore. Here is what your end result might look like...
  16. bdreed35

    How can I pull data for a week using start time of 7:00AM Sunday

    There is certainly more than 1 way to accomplish this. Here is one approach: Use this logic in your Record Selection Formula: ( {table.CreatedDate} in minimum(LastFullWeek) _to_ maximum(LastFullWeek) OR ({table.CreatedDate} = minimum(LastFullWeek) and {table.CreatedTime} >= "070000") OR...
  17. bdreed35

    "This Field" in a formula

    I think "CurrentFieldValue" is what you are looking for. IF CurrentFieldValue < {@LO THRESHOLD} THEN CRGREEN ELSE IF CurrentFieldValue > {@HI THRESHOLD} THEN CRRED ELSE CRBLACK ~Brian
  18. bdreed35

    Web Intelligence Rich Client Version:12.4.0 Repeat Header on every Page

    Not sure if you figured this out yet or not but you need to go into the properties for the Break and set the property "Repeat Header on Every Page". ~Brian
  19. bdreed35

    Query for Desired Quarter

    Would the year to date total be year to date through that quarter then? ~Brian
  20. bdreed35

    Suppressing Detail rows

    To just suppress the Detail section if it only has 0's, you can suppress the detail section based on an Aggregate function. Not sure if your field that can be 0 or 1 is numeric or a string, so you may have to adjust my solution for that. Let's assume it is a string. Open the Section Expert...

Part and Inventory Search

Back
Top