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 strongm 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. herbsza

    OLE DB (ADO) connection error crystal reports 10

    Thank you for your response We tried both your suggestions but it is still not working in crystal. How can we reinstall the OLE DB provider ? Thanks
  2. herbsza

    OLE DB (ADO) connection error crystal reports 10

    When we try to connect to a database using OLE DB (ADO) the following message appears in the crystal reports 10 Error Message Unknown Query Engine The machine has the following operating system on it : Microsoft Windows Servers 2003 service pack 1 We have tried to reinstall crystal 10 but...
  3. herbsza

    Convert Month name and Year name to integer

    Hallo sbrunswik, If the fields {table.month}/{table.year} are a string value then use the following in the record selection formula (tonumber({table.year}) = year({anothertable.startdate,(dd,mm,yyyy)}) or tonumber({table.year}) = year({anothertable.enddate,(dd,mm,yyyy)})) and...
  4. herbsza

    Trying to suprres some unnecessary records,pls HELP because I'm puzzle

    Dadas Is the sub report necessary ? Would it not be better to link the the two tables in the main report and then test in the selection criteria for the empty stock. selection criteria isnull({id on stock}) or {id on stock} = 0
  5. herbsza

    Looping thru excell file

    Try the following I have not tested this but it should work. In a formula do the following formula @test replace ({ref},'/',',') go to change subreport links select the formula @test deselect (Select data in subreport based on field) now use the parameter in the subreport where clause...
  6. herbsza

    How to replace a number value to 0?

    Sommererdbeere I have been on leave. Do you still need this problem solved ?
  7. herbsza

    How to replace a number value to 0?

    Sommererdbeere A posible problem might be. When selecting the parameters {?Work_Cen} do you select 'SCRAP'. If so avoid doing so as you have already hard coded it into your where clause. The where clause does the first part ({WORK_CEN}='SCRAP' and {coln.SAP} <> 0)) but if you select...
  8. herbsza

    How to replace a number value to 0?

    sommererdbeere replace the AND with a OR ({WORK_CEN}='SCRAP' and {coln.SAP} <> 0) OR ({WORK_CEN}) like uppercase(replace({?Work_Cen}, &quot;%&quot;, &quot;*&quot;)) try that
  9. herbsza

    How to replace a number value to 0?

    sommererdbeere I think what you want to do is suppress the value's of sap when they are zero. in other words work cen qty @reworkissued @reworkedsap su 30 0 0 su 20 5 0 hk 30 0...
  10. herbsza

    How to replace a number value to 0?

    sommererdbeere original data work cen qty issued sap su 0 3 0 su 30 4 15 su 20 5 0 hk 30 0 40 hk 30 2 0 Go to the record selection editor...
  11. herbsza

    no saturday or sunday

    I have made the following assumptions regarding the querie. That there are no date enteries occurring on a weekend. Date entries from monday to friday // the variable test determines if there was a fisrtdayofweek (Sunday) between the two dates given// local numbervar test :=...
  12. herbsza

    create rankings in CR8 doesnt work

    Try the following. Still group by Physician. Place the following three formula's in the detail section. Do a sum on each of the three formula's. Now you can do your ranking according to the sum of formula procedureC and still be able to show the other totals. formula procedureA if...
  13. herbsza

    Parameter date selection problem

    create again a calendar year. in the select expert try the following if {?January} <> 0 then year({CPCASE.DOFF}) = {?calendar year} + 1 and month({CPCASE.DOFF}) = 1 if {?february} <> 0 then year({CPCASE.DOFF}) = {?calendar year} + 1 and month({CPCASE.DOFF}) = 2 if {?March} <> 0...
  14. herbsza

    Parameter date selection problem

    I will give this a try. create a parameter {?Calendar year} select expert date({CPCASE.DOFF}) in cdate({?Calendar year},04,01) to cdate({?Calendar year}+ 1 ,03,31) This should then give you a years worth of data. create formulas for each field you need to show. if {?January} <> 0 then...
  15. herbsza

    Calculate percentage

    Try the Following @Timediff if DateDiff (&quot;h&quot;, {Incident.AZReportedDate}, {Incident.AZ_ResolvedDate}) <= 1 then 1 else 0; Now you should be able to sum the @timediff
  16. herbsza

    Sum of a Field with Condition

    create the following two fomulas and place in your detail section Formula @yes if {flag} = 'Y' then 1 else 0 Formula @No if {flag} = 'N' then 1 else 0 Then sum the two fomulas Create a new formula Formula difference sum(@yes) - sum(@no) Place either in a group footer or...
  17. herbsza

    I need a conditional based on 2 separate tables in Oracle

    try this date({HISTORY.HS_CHANGE_DATE}) <= (CurrentDate() - 2)
  18. herbsza

    I need a conditional based on 2 separate tables in Oracle

    I have made the following assumptions. 1. that the history table has a id field. 2. In the visual linking expert that the two tables are linked either with a equal join or a left join on the id field Table bug Table History bug.id ---------------->history.id bug.status...
  19. herbsza

    Running Total of Specific Group

    Sorry for not replying sooner but I have been away for the last couple of days. You mention that you placed the formula in the group header it should be in the group footer.

Part and Inventory Search

Back
Top