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 Mike Lewis 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. tdrBates

    Strip last 3 characters from the field in the select case statement

    In some cases trip_external_id is only 7 characters, so I would need to incorporate something like the code below in the select case statement. if len({Command.trip_id_external})<8 then {Command.trip_id_external} else left({Command.trip_id_external},len({Command.trip_id_external})-3) How can...
  2. tdrBates

    Strip last 3 characters from the field in the select case statement

    //Command.trip_id_external is a 10 digit string. //For example for the first Case Command.trip_id_external = '2293098000'. //How can strip off the last 3 digits of Command.trip_id_external in the select {Command.trip_id_external} statement below? //I need the trip_id_external string...
  3. tdrBates

    How do automate a report to query records for a specific time interval?

    How do you automate a report to query records for a specific time interval?
  4. tdrBates

    Schedule report to run only peak times every day

    Sorry I meant: I need a report or two reports that is scheduled to run from InfoView at 9:30am and 6:30pm every day.
  5. tdrBates

    Schedule report to run only peak times every day

    I need a report or two reports that is scheduled to run from InfoView at 9:30am and 6:30am The Schedule report that runs at 9:30am would only pull records from 6am to 9am. The Schedule report that runs at 6:30pm would only pull records from 3pm to 6pm Below are two forumulas I used to Schedule...
  6. tdrBates

    How can I get the bottom 5 routes of this report

    I am trying to get the bottom 5 routes of the attached report based on "Ontime Percentage" I have attached the *rpt file. Thanks for any assistance.https://files.engineering.com/getfile.aspx?folder=aaa29915-9250-4e57-a592-1d1c035af463&file=SummaryByRoute_bottom_5.rpt
  7. tdrBates

    Highlight any record in data-set in which several fields within the record is duplicated

    I could adjust the Date-Time range to query a Maximum of a 1000 records if necessary. Thanks for your help on this!
  8. tdrBates

    Highlight any record in data-set in which several fields within the record is duplicated

    Thanks Ibass! I don't need to highlight the first row in which it occurs, just the rows afterward. Since I cannot change the sort, how would I use variables to determine whether all the variables on any given row in the data-set recur. Is it possible to flag, highlight, or identify records...
  9. tdrBates

    Highlight any record in data-set in which several fields within the record is duplicated

    The two records in the attached spreadsheet should be highlighted in Crystal Reports, but nothing is highlighted. Can someone explain?https://files.engineering.com/getfile.aspx?folder=f3d9e931-7e70-462b-af3b-77590cdb1890&file=BRT_Detail_MissingData_040318_v2.xlsx
  10. tdrBates

    Highlight any record in data-set in which several fields within the record is duplicated

    Thanks Ibass! The formula works now, but it does not highlight any records where duplicates are found.
  11. tdrBates

    Highlight any record in data-set in which several fields within the record is duplicated

    Thanks Ibass! I went to the section expert->detail->color tab->x+2 and enter a formula with the following syntax: I get the error "A Boolean Is Required Here". What am I missing here? ( If not onlastrecord and {command.transit_date_time}=next({command.transit_date_time}) and...
  12. tdrBates

    Highlight any record in data-set in which several fields within the record is duplicated

    Using Crystal Reports, how can I highlight any record in a data-set in which several fields within the record is duplicated, but not all fields. For example in the attached spreadsheet the fields listed below are duplicated, but not all fields within the record are duplicated. If the fields...
  13. tdrBates

    How does &quot;decode&quot; function work in SQL Order By clause?

    In my SQL Query Command the Order By clause has the "decode" function. Can someone explain what this function does to the "Sort" below? ORDER BY cmta.vw_headway_data.signid, cmta.vw_headway_data.direction, Route, cmta.vw_headway_data.serviceid, trapeze.linestop.sequence...
  14. tdrBates

    Group Expert function forcing changed sort throwing totals off

    Details unsuppressed and transit datetime widen. Reports Attached. Thanks Ibass for any help with this.https://files.engineering.com/getfile.aspx?folder=0efe18df-85f1-464a-b6db-a0f2fd554ea0&file=SummaryByRoute_unsuppressed.rpt
  15. tdrBates

    Group Expert function forcing changed sort throwing totals off

    Details unsuppressed and transit datetime widen. Reports Attached. Thanks Ibass for any help with this.https://files.engineering.com/getfile.aspx?folder=fb238f78-33d2-4e77-9690-cdf3a9ec7121&file=SummaryByRoute_TimePeriod_notSuppressed.rpt
  16. tdrBates

    Group Expert function forcing changed sort throwing totals off

    Did not see the Report by Route attached. Here it is.https://files.engineering.com/getfile.aspx?folder=eb50f681-3871-427c-a992-eb9686155b4b&file=CMTA_MetroRapid_OTP_SummaryByRoute_hdwyPercent_Apr18.rpt
  17. tdrBates

    Group Expert function forcing changed sort throwing totals off

    Crystal Reports by Route and by Route and Time-Period are attached. The driving force behind the reports is the Order By/Sort that's built into the "SQL Command". As you can see when I use Group Expert to group by "Peak" this throws the sort out of whack and therefore the numbers for both...

Part and Inventory Search

Back
Top