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. voirin

    Help with MDX query: count of those in contract

    ...= 1 date = 20/5/2002 CountofThoseInContract = 3 ... based on the above date. The SQL query for this will be: select count(*) from contractTable c where date between c.startDate and c.endDate I just cant seem to find how I can generate the same measure within olap. Any help really...
  2. voirin

    how to interrogate INSTEAD OF UPDATE trigger failure?

    Hi, Yep, but when I enter the query: UPDATE mytableview SET field2 = 1234 WHERE field1 = 5 ... in Query Analyzer, and get the error ... Server: Msg 8115, Level 16, State 2, Procedure mytrigger, Line 14 Arithmetic overflow error converting expression to data type smalldatetime. The...
  3. voirin

    how to interrogate INSTEAD OF UPDATE trigger failure?

    ...14 contains the 'UPDATE mytable SET' statement. Does the above error mean that the error is occurring directly at line 14, or somewhere within my *whole* UPDATE / SET statement? How can I interrogate the error? It doesn't look simple from the outset. I understand that smalldatetime must...
  4. voirin

    automated process to create a report?

    Hi, I have created a report within CR 10 that I would like to have exp[orted to a pdf document each morning via an automated process. I dont want to, each morning, manually start up CR and do a refresh, then go to file > export > pdf... Id like to have some streamline way of just creating a pdf...
  5. voirin

    modifying report when moving from 'test' to 'production' db reporting

    Hi, I was hoping someone could help me. I have two databases that are duplicates of one another: one being the production database, and the other being the test database (the only difference is in the data they contain). When I create my reports, I build the 'Links' (via Database Expert) using...
  6. voirin

    How to remove database in Database Expert > History?

    Hi, I currently have few databases showing in Database Expert > History. Is it possible to remove certain databases from showing here? When i right-click on a database there are no 'delete/remove' options available. Any help appreciated. Cheers, Voirin
  7. voirin

    select expert not showing all fields

    Hi, I was wondering if anyone could help me. When i go into select expert, and select a Field, then select 'is not one of' and hit the dropdown box tab, not all column variables are showing. Sometimes 1 variable is missing, other times 2 are missing. is there any way around this? Im using CR...
  8. voirin

    place subreport summary in main report footer

    That did it, thanks! I needed to share variables. Thanks lbass & Madawc! cheers voirin
  9. voirin

    problem with distinct count summary on a report using grouping

    Hi again, I seem to have a lot of questions, and this is another! I would like to obtain a count of the number of patients in my main report. Below I have a report showing 3 distinct patients. How do I place generate this value? My 'patient' column is set to 'suppress if duplicated'. I also...
  10. voirin

    place subreport summary in main report footer

    Hi, I was wondering whether it was possible to place a subreport summary in the footer of the main report? I cant quite see how to do it. Thanks! cheers, voirin
  11. voirin

    How to line up subreport column separator lines to main report?

    Hi, I have a main report and a subreport. They both have the same column names, and are displayed in a table. I have used the line drawing object to separate the columns with a line. How do you line up the vertical lines in the subreport to the vertical lines in the main report? Is this just a...
  12. voirin

    How to group a column with datatype = DATETIME?

    I managed to get around this by creating a formula field with the following: time({TIMESLOT.STARTTIME}) Then I insert this formula field in the report, group by this formula field, and suppress it. cheers, v
  13. voirin

    problem with IF, THEN, ELSE IF, THEN, ELSE

    Thanks for the info! On a further note, I found that: File menu -> Report Options -> Convert database NULL values to default .. seem to work, however File menu -> options -> Reporting tab -> Convert database NULL values to default .. does not seem to work. Since I want this report...
  14. voirin

    How to group a column with datatype = DATETIME?

    ...1899 9:55AM Sunday, 1 January 1899 10:30AM Sunday, 1 January 1899 10:30AM Sunday, 1 January 1899 11:10AM The system actually stores the real *date* in another column in the database. Hence the "Sunday, 1 January 1899" is bogus. Obviously this is not the best design (I'd change it if I...
  15. voirin

    problem with IF, THEN, ELSE IF, THEN, ELSE

    Hi everyone, I managed to fix the problem (solution given by Madawc - thanks!), but I don't quite understand why it's fixed (as opposed to other solutions (e.g. MisterMo - thanks!)). The solution that works is: if not isnull({PRIMARYCODE_1.DISPLAYVALUE}) and "revoked" in...
  16. voirin

    problem with IF, THEN, ELSE IF, THEN, ELSE

    Thanks for that! However my problem still continues... i get the following output as an example: ------------+------------ Status ProductID ------------+------------ 45 73 23 Revoked 18 Withdrawn 46...
  17. voirin

    problem with IF, THEN, ELSE IF, THEN, ELSE

    Thanks for the reply but that's not it. The reason I have "revoked" in {PRIMARYCODE_1.DISPLAYVALUE} is that I want to determine if the string "revoked" is contained in a larger string of words, for example the string "This application is revoked". This function works fine! All I want to...
  18. voirin

    problem with IF, THEN, ELSE IF, THEN, ELSE

    Hi, I was hoping someone could help me. I have created a formula field '@mystatus' with the following (crystal syntax): if "revoked" in {PRIMARYCODE_1.DISPLAYVALUE} then "Revoked" else if "withdrawn" in {PRIMARYCODE_1.DISPLAYVALUE} then "Withdrawn" else "OK" I have applied...
  19. voirin

    how to supress repeating elements?

    Hi I have a report that is generated in tabular form. I want to get of repeating row elements. Take for example a weekly diet plan. Each row of the report represents a row of data based on data contained between linked tables. In the examples below i am using three columns: Day of week, time...
  20. voirin

    Adding a table to a report

    Hi, I was hoping someone could help me... I know this has an easy solution, but it isnt obvious to me... I need to create a report that requires a table being displayed with a fixed number of columns but varying number of rows (based on the output of the report). Essentially the output of my...

Part and Inventory Search

Back
Top