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: *

  • Users: thiagarr
  • Content: Threads
  • Order by date
  1. thiagarr

    Change Datasource in Running Total "Field to Summarixe

    Hi, I use CR XI R2 with DB2 database. I am trying to use a command object to replace the database fields in a report. The command object works fine and I was able to replace the database names with the command object name in the formulas by doing a find and replace option in Formula...
  2. thiagarr

    Numberic parameter entry - to display Names

    Hi, I use CR11 ith SQL server 2000. I have a report where the parameter accepts sales rep Number and the report currently displays the numbers separated by a comma. New requirement is to display the sales rep name instead of the number in the report. I have modified the formula to display...
  3. thiagarr

    Choosing the database at runtime using a parameter selection

    Hi, I use CR 9.2 and Oracle 9i. I am looking at an option to select the database to be used for the report using a parameter while running the reports. For example, I would like to have one of the parameters for selection between 'TEST' and 'PROD' and depending on the selection the datasource...
  4. thiagarr

    calculations based on 2 largest volume and price in a table

    Hi all, Greetings. I have a subreport in a report with volume and price. I would like to get the total of the top 2 volume * price based on the usage. Sample data and required result is as follows: Period volume Price Rank vol*Price 1 100 7 6 2 200 8 5 3 400 9 2 3600 4 300 8 3 5...
  5. thiagarr

    Choice of Parameters depending on the previous parameter entry

    Hi, I use CR 9.2 and Oracle 9i. I use a SPORC for the report. The SP sends back data for 2 different kinds of reports produced from one CR report file. The formats and contents of the reports are very similar and hence we try and use the same SPORC and report. But there are unique...
  6. thiagarr

    Conditional horizontal alignment of text

    Hi, I am using CR 9.2 and Oracle 9i. I would like to get some help on conditional horizontal alignment of text fields. I want to align the fileds Right justified except the first 3 fields which are to be centered and would like to know if there are constants available for this purpose...
  7. thiagarr

    Reporting from data returned using UNION statement

    Hi, I use CR 9 with Oracle 9i. The following is the output obtained from an SQL query with 3 UNION statements. The SQL output is as follows: PERIOD CODE USAGE 1 USAGE 12911 2 USAGE 14762 3 USAGE 13657 4 USAGE 10356 5 USAGE 6301 6 USAGE 1703 1 Mkt 8.14 2 Mkt 8.87 3 Mkt 8.95 4 Mkt 8.8 5 Mkt...
  8. thiagarr

    Elapsed time calculation help

    Hi, I use CR XI with the source data read from am XML file using XML native driver. I need to create a report that needs to calculate the time elapsed in the PASS status and Fail status Sample Data is shown below: Timestamp Status 3/28/2007 1:00:00AM Pass 3/28/2007 2:00:00AM Pass...
  9. thiagarr

    Use of CASELESS function in pos search

    Hi, I have the following in my Open Object REXX script in Windows and I would like to know how I can make the search case-insensitive? if left(line.i, 9) = "<!DOCTYPE" then if pos("<errorCode>", line.k) > 0 then say line.k Here I want to make the search case insensitive of the strings...
  10. thiagarr

    Parsing Lines based on keyword

    Hi, I use Open Object REXX in Windows XP machine. I am fairly new to REXX and I need some help. I have a text file with lots of data and I need to parse certain lines based on the following logic: The input file looks like this: I am fairly new to REXX and I need some help I have a text...
  11. thiagarr

    Text file issues - reposted

    K, Thank you for the post. I had a look after posting and though I was not able to scroll and see the whole text, I was able to view some of the code and when I copied and pasted the data in notepad, it was complete. Now, I had wordwrapped the whole thing and removed unwanted part of the...
  12. thiagarr

    Text file issues

    I use CR XI and the data source is a UNIX log file that has about 200,000 lines. Sample data is as follows: 2007.01.09 13:41:30 [ExecuteThread: '44' for queue: 'weblogic.kernel.Default'] [5] weblogic APIEJB.PROCESSMESSAGE(String,int) Client request = &lt;?xml version=&quot;1.0&quot...
  13. thiagarr

    Reports from a log file

    Hi, I have a logfile (originally from a UNIX server) that has been placed in a directory in my c: drive. The file has an extenstion of *.log. When I create a new connection as Access / Excel and select the file type as Text, I do not find the log file listed for selection in the file list...
  14. thiagarr

    text handling issues in CR 11

    Hi, This is part of a post from Data access forum titled "Access logfile from UNIX server in CR XI", posted yesterday. I have been trying to get the data in CR today. I have had good success in that respect though there are some "exception handling" issues I need some advice on. I use CR 11...
  15. thiagarr

    Access logfile from UNIX server in CR XI

    Hi, I have couple of questions here. We have a logfile in a UNIX server based on which we want to create a CR (CR Professional 11) report. Currently, we get the file FTP'ed and sent via email and we process this using a REXX script to eliminate unwated text and prepare a csv formatted script...
  16. thiagarr

    Display of two sets of Data grouped in SQL statement

    Hi, I have used SQL command object (Add Command in DB expert) get some numbers grouped on a column. I have two such sets of data which I want to display in the report, one group below the other. (use CR XI and Oracle 9i) I can display one of the two group of results in the details section...
  17. thiagarr

    Use of SQL commands to extract data from Stored Procedure

    Hi, Does anybody have some insight into using SQL commands for importing (or using as is) Oracle Stored Procedures in CR. I am using Oracle 9.2 and CR XI. We are trying to use existing SPs in CR without any changes (or minimal changes). I have been advised that SQL commands are the option to...
  18. thiagarr

    SQL statements as Command items

    Hi, I am trying to use SQL statements as Command under Database Expert. I have couple of questions on this and hope somebody would be able to help me there. 1 Once a command item is added, is there anyway we can change the name of the item? For example, I see the name for the first code...
  19. thiagarr

    Oracle functions in CR / CR custom functions

    HI, I use CR XI with Oracle 9.2. I have a requirement to use some functions created in SQL/PLSQL in CR. An example function is as follows: FUNCTION total_new_users(end_date DATE, time_frame NUMBER) RETURN NUMBER IS return_value NUMBER(20) := 0; BEGIN SELECT COUNT(1) INTO...
  20. thiagarr

    To_date formatting of date variable

    Hi, I have defined two variables as follows: currentBeginDate := TO_date(ADD_MONTHS(LAST_DAY(ADD_MONTHS(sysdate, -1)),-1)+1, 'YYYY-MM-DD'); currentEndDate := TO_date(LAST_DAY(ADD_MONTHS(sysdate,-1)), 'YYYY-MM-DD'); testbegindate := to_date('2006-10-01','YYYY-MM-DD'); testenddate :=...

Part and Inventory Search

Back
Top