Building in carriage returns using Report Query

I am using Report Querys and Report Layouts. I am trying to build in some carriage returns that will be recognized in my rtf template. I tried using 'chr(10)', br's etc, but it doesn't work. It prints the characters instead of doing the carriage return. Am Imissing something?
<COMMENTS01>MATHEMATICS (FROST, J): Seldom hands homework in on time Seldom comes to class on time. Retention Possible William works well on patterns chr(10)MEDIA (HATTER, M): Does well on tests Shows a desire to learn chr(10)READING (ANDERSON, L): Does well on tests Does well on quizes These are the notes for Fluency These are the notes for comprehension. chr(10)SCIENCE (BLASK, M): Elementary Code 1 Has trouble with Jupiter. chr(10)</COMMENTS01>

Bob,
The string literal 'chr(10)' will not help you much.
select 'mystring'||'chr(10)'||'mystring' from dual; -- returns 'mystringchr(10)mystring'
select 'mystring'|| chr(10) ||'mystring' from dual; -- returns 'mystring
mystring'Cheers,
Tyson Jouglet

Similar Messages

  • Lack of Carriage Returns using XMLForest

    Hi People,
    I'm using Oracle 9i Release 2 (Full Version 9.2.0.6.0), and am experimenting with the XMLforest function and SYS_XMLAGG.
    I'm running a query based on the following table:
    CREATE TABLE test_table(
    job_id NUMBER(10),
    date_created DATE
    INSERT INTO test_table
    SELECT ROWNUM AS job_id,
    SYSDATE
    FROM user_objects
    WHERE rownum < 21;
    COMMIT;
    I'm running the following query against this table:
    SELECT sys_xmlAgg( xmlElement( "JOB", xmlForest(job_id, date_created) ) )
    FROM test_table;
    The data returned by this query is coming out in the following layout:
    <?xml version="1.0"?>
    <ROWSET>
    <JOB><JOB_ID>1</JOB_ID><DATE_CREATED>03/JUN/08</DATE_CREATED></JOB><JOB><JOB_ID>2</JOB_ID><DATE_CREATED>03/JUN/08</DATE_CREATED></JOB><JOB><JOB_ID>3</JOB_ID><DATE_CREATED>03/JUN/08</DATE_CREATED></JOB></ROWSET>
    What I really want (for readability) is for each element to have a carriage return at the end of it, so I get the following:
    <?xml version="1.0"?>
    <ROWSET>
    <JOB>
    <JOB_ID>1</JOB_ID>
    <DATE_CREATED>03/JUN/08</DATE_CREATED>
    </JOB>
    <JOB>
    <JOB_ID>2</JOB_ID>
    <DATE_CREATED>03/JUN/08</DATE_CREATED>
    </JOB>
    <JOB>
    <JOB_ID>3</JOB_ID>
    <DATE_CREATED>03/JUN/08</DATE_CREATED>
    </JOB>
    </ROWSET>
    Is this possible in 9i Release 2, or will I only be able to get the concatenated string?
    How can I force the XML elements to have carriage returns?
    Thanks.
    James

    Bob,
    The string literal 'chr(10)' will not help you much.
    select 'mystring'||'chr(10)'||'mystring' from dual; -- returns 'mystringchr(10)mystring'
    select 'mystring'|| chr(10) ||'mystring' from dual; -- returns 'mystring
    mystring'Cheers,
    Tyson Jouglet

  • Displaying carriage returns from database query

    hi i'm fairly new to colfusion but have a good basic
    understanding.
    i'm trying to build a community website that has a guestbook
    and forums. i want to build these from scratch.
    i'm using cfmx7 and sqlserver 2005.
    the problem i'm having is when my cfm page retrieves posts
    made to the guestbook or forum, the carriage return characters are
    missing. posts are coming out all on one line.
    how do i get the retrieved posts to display new lines and
    paragraphs the way they were input into the database?
    just like these forums do?
    thanx so much. adella.

    Here is the code. Just replace body with your db field name.
    <cfoutput>
    #Replace(body, newLine, "<br>", "ALL")#
    </cfoutput>

  • Master Detail Report using Report Query

    I am using APEX Report Query component to try and create a mater/detail report with BI plug-in. The Report Queries doesn't give you mush flexibility as each query is independent of the other. I'm trying to see if I need to create 2 queries or 1 AND what option would let me create a master detail report like so in BI Desktop:
    Employee: Bob ID:100 Dept: HR
    Jobs
    Job 1
    Job 2
    Job 3
    Employee: Tom ID:200 Dept: ACCt
    Jobs
    Job 1
    Job 2
    Job 3
    Option1.
    I could combine the Employee Job info with the Employee info, but that would report the Employee info for every Employee Job. I didn't think that was good.
    <Rowset1_Row>
    <EMPID>
    <NAME>
    <DEPT>
    <JOB>
    </Rowset1_Row>
    Option 2.
    I could create 2 queries. The 1st getting all of the Empoyee info. The 2nd getting all of the Employee jobs.
    <Rowset1_Row>
    <EMPID>
    <NAME>
    <DEPT>
    <JOB>
    </Rowset1_Row>
    <Rowset2_Row>
    <EMPID>
    <JOB>
    </Rowset2_Row>
    <Rowset2_Row>
    <EMPID>
    <JOB>
    </Rowset2_Row>
    Any advice?
    Edited by: bobmagan on Jun 1, 2009 5:29 AM

    Can you check for the settings please.
    Thanks and Regards
    Riyas

  • Carriage Return using XSL

    Hi,
    I have an RTF template that contains <xsl:text> &#10;</xsl:text> in one of the form fields because I want to force a Carriage return in the output.
    The form field looks something like:
    <?when?>
    Some text
    <xsl:text> &#10;</xsl:text>
    More text
    <?end when?>
    The resulting output is Some text &#10; More text. What am I doing wrong ?
    Thanks,
    Pat

    Hi Pat,
    Hmmm..looks like the XMLP processor is not preserving the carriage return while processing the document. In fact i tried giving certain hexadecimal characters for achieving the carriage returns in the resulting document, but to of no use. It doesnot work!!!
    I used the following in my RTF template:
    <xsl:text>Hello </xsl:text>
    <xsl:value-of select="ROWSET/ROW/ENAME"/>
    <xsl:text> &amp; Family,&#x0A;</xsl:text>
    <xsl:text>Your id is </xsl:text>
    <xsl:value-of select="ROWSET/ROW/EMPNO"/>
    XML
    <ROWSET>
    <ROW num="1">
    <EMPNO>7839</EMPNO>
    <ENAME>KING</ENAME>
    </ROW>
    <ROW num="2">
    <EMPNO>7788</EMPNO>
    <ENAME>SCOTT</ENAME>
    </ROW>
    </ROWSET>
    Desired output:
    Hello King & Family,
    Your id is 7839
    What is achieved using XMLP 5.5:
    Hello KING&amp; Family,&#x0A;Your id is 7839
    Which clearly shows that the XMLP processing is not preserving the carriage returns, special symbols etc.
    Tim,
    Do we have any solution to this issue in the upcoming releases of XMLP?
    or is there any other way to achieve the functionality?
    Please reply asap.
    Thx,
    Nitin

  • Special Characters not showing using Report Query

    I run my BI pub reports from APEX page using apex_util.download_print_document (see below).
    It looks like it is stripping out the '+' from the report when displaying. It shows correctly inthe XML file.
    I even tried encoding with SELECT max(replace(I1.alpha_grade,'+','%2B')) . This prints the '%2B' instead of the '+'.
    Any ideas?
    apex_util.download_print_document(
    p_file_name => l_form_description,
    p_content_disposition => 'attachment',
    p_application_id => v('APP_ID'),
    p_report_query_name => nvl(l_report_query_name,l_form),
    p_report_layout => l_layout,
    p_report_layout_type => 'rtf',
    p_document_format => v('P507_OUTPUT_FORMAT'));

    Glad it worked out for you Bob; here is the site I used for HTML to Character conversion chart.
    [url http://www.ascii.cl/htmlcodes.htm]HTML Codes - Characters and symbols
    Jeff

  • Grouping using report query / Case statement in toplink

    I have following tables
    1. Student with columns id, gender
    2. Subject_Score with columns id, student_id, subject_id, score
    To get scores grouped by subject, I am doing
    ExpressionBuilder subjScoreBuilder = new ExpressionBuilder();
    ReportQuery query = new ReportQuery(SubjectScore.class);
    query.addAverage("average-score",subjScoreBuilder.get("score"));
    query.addGrouping(subjScoreBuilder.get("subjectId"));
    Vector responses = (Vector) serverSession.executeQuery(query);
    Float score = (Float) queryResult.get("average-score");
    This works fine. It gives avg score per each subject
    Now i want both in one query
    A) avg score per subject
    B) avg score per subject per gender
    I want to achive this in one query
    I am doing like:
    ExpressionBuilder subjScoreBuilder =new ExpressionBuilder(SubjectScore.class);
    ExpressionBuilder studentExpBuilder = new ExpressionBuilder(Student.class);
    Expression expression = subjScoreBuilder.get("studentid").equal(studentExpBuilder.get("id")));
    ReportQuery query = new ReportQuery(SubjectScore.class, expression);
    query.addAverage("average-score", subjScoreBuilder.get("score"));
    query.addGrouping( subjScoreBuilder.get("subjectId"));
    query.addGrouping( studentExpBuilder.get("gender"));
    This gives me avg scor per each subject per gender. i.e.
    it applies grouping on both subjectId & gender.
    This is fine.
    But I also want avg score per each subject (group on subject only) in same query.
    1. How can we achive it?
    2. is there something like Case statement in toplink?      
    Thanks a lot for any help.

    I believe in SQL you would need two queries to do this directly, so you will need to issue two queries.
    You could select the Count and Avg, this would give you all the data need to compute the Avg yourself.
    i.e.
    (count(male) * avg(male) + count(female) * avg(female)) / (count(male) + count(female))

  • Use of writeChanges() / conformResultsInUnitOfWork in report query

    I have a usecase where i am saving data in different tables in same transaction
    I want to use ReportQuery so as to use functions likeaddAverage.
    ReportQuery query = new ReportQuery(res);
    query.setReferenceClass(Subject.class);
    query.addAverage("average-score", res.get("score"));
    But since data is still not commited, I wanted to use conformResultsInUnitOfWork.
    1.But I assume conformResultsInUnitOfWork can't be used with ReportQuery.
    Am I correct?
    2. According to toplink docs, we can use writeChanges() method on uow.
    But after you call the unit of work writeChanges method , we can'r egister objects or execute object-level queries.
    But after executing report query, I need to register obj /read objects to perform other use case operation.
    So how can we use Report query to perform query on uncommited changes & still be able to other UOW operations or read object queries
    Thanks for your help.

    Hi Jayesh,
    Please have a look at the below attachment.
    [http://help.sap.com/saphelp_470/helpdata/en/5b/d22e3843c611d182b30000e829fbfe/content.htm]
    Warm regards,
    Murukan Arunachalam

  • Importing XML Text files with Indesign friendly 'Carriage Returns'

    Hi,
    I have a question wrt importing XML into Indesign.  I have my text stored in Excel (Fig A) and intend to export as an XML file where each line will represent each page.  However, my first attempt failed to treat the 'carriage returns' as I'd envisaged:
    The 'carriage returns' used within an Excel cell (ALT-ENTER) are maintained when transforming to a CSV file (Fig B).  However, when converting to an XML file, the conversion only takes place on a line by line basis and hence the XML file becomes incomplete (Fig C).
    So, it appears I need to make sure that the CSV file contains one line per entry, while also maintaining the actual carriage returns in my source spreadsheet and for Indesign to recognise them.  In order to do this, I'll need to substitute the 'carriage returns' in my excel column to be represented by a new set of characters.  My question is how can I let Indesign know to recognise this set of characters to be converted to a carriage return, when importing text.
    For example, if this set of characters was '%%%%%%', then my new csv file would look like Figure D and the XML would be produced correctly, like Figure E.  Then importing this XML file to InDesign, the carriage returns would automatically be reinstated, hopefully.
    I hope someone can help me as I am only starting out in Indesign and feel Im running before I can walk by venturing into the XML/Indesign arena too soon.
    Best Regards
    Luke

    Hi,
    Thanks for all the responses.
    With regard to XML, it could well be an issue has crept in because I am using another utility to convert my csv's to xml and maybe there are better options out there. I will take a look for other utilities and try that (Its not possible from Excel easily, even though there is an option to save as an XML file).
    Secondly, because the XML was readable by internet explorer, I assumed it had a satisfactory standard XML format which would be accepted by any program, including InDesign.  This proved true, since the XML file i generated was actually recognised by my Indesign document and populated the tags correctly, albeit without any carriage returns. 
    When I save my excel sheet as a csv, it does actually hold the carriage returns causing multiple lines per entry, hence why I need to substitute the actual carriage returns in my excel sheet to a alternative character set so that the entry remains on one line.
    Re: Double quotes on text fields.  Im sorry, I didnt realise I had commas in my sample csv example.
    I should have corrected it, but I intend on using semi-colons as my csv delimiter and don't intend on having semi-colons in my excel sheet itself, so I possibly won't need any double-quotes.
    So, it looks like this is what I need to do ;
    i)   Add a column in Excel which substitutes all the carriage returns with a line break identifier (^n).
    ii)  Convert Excel file to a semi-colon csv holding this new column,
    iii) Convert csv file to XML using a good CSV->XML utility,
    iv)  Add the respective XML tags to my INDD document,
    v)   Add a GREP rule which does a find/replace on all instances of ^n and replace with a line break,
    vi)  Import the XML file,
    vii) Apply the find/replace GREP rule on the whole document. Carriage returns on my text fields should be consistent with my original excel sheet.
    Thanks for all your help fellas.  Will report on how I get on once Im done.
    Best Regards
    L

  • DTAUS0 payment format - no carriage returns

    Hi
    I am configuring file formats for data exchange with the bank. I notice that the standard format for Germany uses the format DTAUS0.
    However when I create the file there are no 'carriage returns'. the file is just one long string.
    How do you build in carriage returns, when there is no payment medium workbench?
    thanks
    Liz

    The official format DTAUS0 generated by RFFOD__U does not contain any
    carriage return characters, so no CR/LF characters are inserted into
    file. This would be the reason why you get very long lines with no
    end.
    If you need to have <CR/LF> in your DME file, please, you have to
    modify in the Include RFFORI04.
    BR, Hana

  • Serious Bug - Carriage Returns in Caption field

    LR for Windows does not handle Carriage Returns/Line Feeds correctly in the metadata Caption field.
    Windows Vista SP1, 32-bit
    Adobe Lightroom 2.4
    Library Module, Grid View
    Initial settings:
    LR Menu bar > Edit > Catalog Settings... > Metadata tab > Editing
    uncheck Offer suggestions from recently entered values
    uncheck Automatically write changes into XMP
    LR Menu bar > View > View options... > Grid View tab > Cell Icons
    check Unsaved Metadata
    Metadata panel: choose the Default Metadata Set.
    Import a JPG file into LR which contains no IPTC metadata.
    LR Menu bar > File > Import Photos from disk... > Choose the JPG file
    In the Import Photos dialog box, Information to Apply:
    Develop Settings: None
    Metadata: None
    Keywords: None
    Click Import.
    Click thumbnail of the JPG file which was Imported.
    In the Metadata panel click Caption field.
    Type "Word1" in the Caption field and press Return/Enter key.
    The Caption field loses focus.
    The Caption field should not lose focus when the Return/Enter key is pressed.
    Click the Caption field and press the Delete key to remove "Word1" from the field.
    In the Caption field type "Word1" and press Ctrl+Return/Enter key.
    As expected, the cursor moves to the line below "Word1" and the Caption field remains in focus.
    Type "Word2" and press Ctrl+Return/Enter key.
    As expected, the cursor moves to the line below "Word2" and the Caption field remains in focus.
    Click the JPG thumbnail and notice a down-arrow icon appears on the thumbnail indicating that the metadata for this JPG has been changed in the LR catalog and that it does not match the IPTC metadata that is embedded in the JPG file on the hard disk. Also notice in the Metadata panel, Metadata Status is "Has been changed".
    Click the down-arrow on the JPG thumbnail.
    See the dialog box that pops up saying "The metadata for this photo has been changed in Lightroom. Save the changes to disk?"
    Click Save.
    Notice on the JPG thumbnail, the down-arrow icon remains visible and does not disappear as it should if the JPG's metadata in the LR catalog and the metadata embedded in the JPG file on the hard disk were the same.
    Also notice in the Metadata panel, Metadata Status is "Has been changed".
    Click LR Menu bar > Edit > Catalog Settings... > Metadata tab > Editing
    check Automatically write changes into XMP
    Click OK.
    Notice on the JPG thumbnail, the down-arrow icon blinks rapidly. Also notice in the Metadata panel that "Metadata Status: Has been changed" blinks rapidly.
    Click LR Menu bar > Edit > Catalog Settings... > Metadata tab > Editing
    uncheck Automatically write changes into XMP
    Notice the blinking stops.
    Using a program that properly handles Carriage Returns/Line Feeds in IPTC metadata, such as Photo Mechanic 4.5, edit the metadata of another JPG file by typing "Word1", pressing the Return/Enter key, and typing "Word2" in the Caption field.
    Import that JPG into LR.
    LR Menu bar > File > Import Photos from disk... > Choose the JPG file
    In the Import Photos dialog box, Information to Apply:
    Develop Settings: None
    Metadata: None
    Keywords: None
    Click Import.
    Click the JPG thumbnail in LR Library Module.
    Notice in the Metadata panel, "Word1Word2" appears in the Caption field, in both the Default Metadata Set and the Large Caption Metadata Set. The CR/LF has been stripped away.
    CR/LFs typed into or pasted into the Large Caption set, also result in the persistence of the down-arrow icon even after metadata is saved to disk. And, if the Automatically write changes into XMP option is checked, the down-arrow icon blinks rapidly. And, if you view the Default set, notice Metadata Status: "Has been changed" blinks rapidly.
    When metadata is saved to disk, the down-arrow icon should disappear from the thumbnail, and in the Metadata panel, Metadata Status should read "Up to date". I would guess the blinking behavior indicates LR is stuck in some kind of loop - it is trying to save the metadata to disk and verify that it has been saved, but it keeps going round in a vicious circle. I also notice there is increased hard drive activity during the blinking behavior.

    Here is a related problem (using Lightroom 3.3, Windows).  When I import photos that have the IPTC caption field created in another program (ThumbsPlus, or IrfanView), carriage returns in the original do not show up in Lightroom.  Does anyone know why, or what to do about it?  I'd like to import lots of photos with existing captions, and some have carriage returns I would like to retain.
    For me, adding a carriage return to the Caption metadata within Lightroom works fine.  In the Library view, using the right panel, I can enter a carriage return using Ctrl+Enter in the Metadata > Default view or in the Metadata > IPTC view.  I can enter a carriage return directly with the Enter key (no Ctrl required) in the Metadata > Large Caption view.  After these entries are saved to the file, they show up correctly in other programs (IrfanView > Image > Properties > IPTC Info)

  • How to load data with carriage return through DRM action script ?

    Hello,
    We are using DRM to manage Essbase metadata. These metadata contain a field for member formula.
    Currently it's a string data type property in DRM so we can't use carriage return and our formula are really hard to read.
    But DRM support other data type property : memo or formatted memo where we can use carriage return.
    Then in the export file, we have change the record delimiter to an other character than CRLF
    Our issue : we are regularly using action script to load new metadata => How to load data properties with carriage return using action script ? There is no option to change the record delimiter.
    Thanks!

    Hello Sandeep
    here what I want to do through action script : loading a formula that use more on than one line:
    Here, I write my formula using 4 lines but action script cannot load since one line = 1 record.
    ChangeProp|Version_name|Hier_name|Node_name|Formula|@round(
    qty*price
    *m05*fy13

  • Embedded carriage return

    We have  an application with a textarea that is used for comments, free form text. It seems that if the user enters a line of text, then uses the enter key to go to the next line, it captures the carriage return. When the form is brought up for review, it is completely empty, yet all the data that was entered is in the table.
    If the textarea is entered without using the enter key, the data displays when the form is reviewed.
    I have never encountered this problem before and tried it and it does indeed do what is described above. I entered the textarea without using the enter key and the data displays. I went back to edit and added the enter key to the textarea and the form is completely blank.
    What is going on and how can I prevent this from happening ?

    The data is not missing. It is in table after submit. It is just not showing up when using html/form to review. Using <cfinput type="text" name="field" value="qryField">, etc..., when there is a carriage return used in the textarea.
    We took the textarea data, scrubbed out the carrirage return characters, and reinserted in the table, and then entire form displayed. When I went back to edit the form and added the carriage returns, nothing displayed.
    We have isolated the problem to the carriage return in the text area becuause that is the only thing we have touched so far.

  • Returning all the days in selected Month in a Year using Report Builder

    I am working Report Builder with SharePoint List Data Source. Report builder has to parameters Month and Year. If i select month as March and year as 2014 the report have to display
    March 1 2014 Saturday
    March 2 2014 Sunday
    March 3 2014 Monday
    March 31 2014 Monday
    Can any one help on this, do i have to write this in Dataset Property query, Report Builder Properties or calling any function.....!
    Appreciate if any example query. Thank you

    Hi SPBee,
    If the all fields are already returned by dataset with SharePoint List Data Source, we can directly add filters in your dataset to achieve your requirement.
    Expression: [Month]
    Operator: In
    Value: [@Month]
    Expression: [Year]
    Operator: In
    Value: [@Year]
    If you want to create a report that display the data as you post, we can create a function in SQL Server Management Studio as below:
    IF EXISTS (SELECT 1 FROM INFORMATION_SCHEMA.ROUTINES WHERE ROUTINE_NAME ='CalendarTable1' AND ROUTINE_SCHEMA = 'dbo' AND ROUTINE_TYPE='FUNCTION')
    DROP FUNCTION dbo.CalendarTable1
    GO
    CREATE FUNCTION dbo.CalendarTable1
    @StartDate datetime,
    @EndDate datetime,
    @WeekDaysOnly bit = 0,
    @MonthStart bit=0
    RETURNS @CALENDAR TABLE
    Date datetime,
    [Monthname] varchar(20),
    [Dayname] varchar(20),
    [Day] int
    AS
    BEGIN
    ;With Calendar_CTE (Date,[Monthname],[Dayname],[Day])
    AS
    SELECT @StartDate,datename(Month,@StartDate),  DATENAME(dw,@StartDate), DATEPART(day,@StartDate)
    UNION ALL
    SELECT DATEADD(dd,1,Date),datename(month,DATEADD(dd,1,Date)),  DATENAME(dw,DATEADD(dd,1,Date)) ,
    DATEPART(day,DATEADD(dd,1,Date))
    FROM Calendar_CTE
    WHERE DATEADD(dd,1,Date) < = @EndDate
    INSERT INTO @CALENDAR
    SELECT Date,[monthname],[Dayname],[Day]
    FROM Calendar_CTE
    RETURN
    END
    Create two parameters start and end with Date/Time type in the report, then use the query like below in the dataset:
    SELECT * from dbo.CalendarTable1 (@start,@end,0,0)
    If there are any other questions, please feel free to ask.
    Thanks,
    Katherine Xiong
    Katherine Xiong
    TechNet Community Support

  • ColdFusion Report Builder 9 Using MySQL query's

    Hey Everyone
    I have been pulling my hair out for several days with this, I have all of the Adobe ColdFusion 9 dev books, and Google returns a cluster of information that doesnt seem to work. I was hoping someone could help me out here.
    So what I did was open query builder in Adobe ColdFusion 9 Report Builder, I clicked the icon at the top that says report query and placed the following mySQL information, which works fine.
    MySQL
    select name.soc_sec, name.last_name, name.first_name, nmcrs.course,nmcrs.crs_txt AS Course_Title ,practicl.day_cod,CAST(practicl.start_hr AS VARCHAR(2)) + ':' + CAST(practicl.start_min AS VARCHAR(2)) AS Start_Time,
      CAST(practicl.end_hr AS VARCHAR(2)) + ':' + CAST(practicl.end_min AS VARCHAR(2)) AS End_Time, nmcrs.section, nmcrs.sch_yr, nmcrs.sm_desc, nmattend.attend_txt,address.phone,address.cell_phone,
      address.e_mail
    From name
      --INNER JOIN  nmprg ON name.soc_sec = nmprg.soc_sec  
            INNER JOIN  nmcrs ON name.soc_sec = nmcrs.soc_sec
            Left Join crssect ON name.soc_sec = crssect.crs_id
      Inner Join practicl On practicl.sid = nmcrs.sid
            inner join nmattend on name.soc_sec = nmattend.soc_sec
            Inner join  address On name.soc_sec = address.soc_sec
    WHERE (name.camp_cod = 'California') AND (nmcrs.sch_yr = '201213')and (nmcrs.semester = '1') and (nmattend.attend_txt = 'SP') and
      (nmcrs.section not like'w%')
    group by name.soc_sec, name.last_name, name.first_name,nmcrs.course,nmcrs.crs_txt,practicl.day_cod,practicl.start_hr,
       practicl.start_min, practicl.end_hr,practicl.end_min,nmcrs.section, nmcrs.sch_yr,nmcrs.sm_desc, nmcrs.grade,
       nmattend.attend_txt, address.phone,address.cell_phone,address.e_mail
    ORDER BY nmcrs.section, name.soc_sec
    Now I place my fields where I want them in the desgner, I double click the field to open the expression builder and all I have to type is something like query.Start_Time
    When I run the report it lists all of the start times that match my criteria.
    good
    So my trouble is, I would like to use an if statement to make something happen based on the start time and cant get it to work. I have tried using <cfscript> <cfif> <cfquery> if, IIF, nothing works, mainly because once I use one of those tags it no longer recognizes the query.Start_Time.
    I was wondering if someone could give me an example on how to do this like
    <cfif (query.Start_Time) IS '12:0'>
    query.Start_Time = '12.00'
    </cfif>
    or
    <cfscript>
    if(query.Start_Time == '12:0')
         query.Start_Time = '12:00';
    </cfscript>
    I mean I know thats wrong and Its probably not that simple but all I need is a simple example to work off of and one would be greatly appreciated. Or even an example in the mySQL info I provided would work too. Please Help
    Thanks
    Shawn

    Shawn, forgive me not focusing on the direct question, but I want to clarify first that this is not the right forum for that question, about the CF Report Builder. This forum is for CF Builder, the relatively new CF IDE (integrated development environment) for CF, based on Eclipse.
    Your question about the CF Report Builder should be directed to its own forum, the CF Reporting forum:
    http://forums.adobe.com/community/coldfusion/coldfusion_reporting
    I do understand the easy confusion (the name CF Builder is awfully close to the CF Report Builder). Also, the forum name “CF Reporting” may not have jumped out as a place for RB questions. (For any readers who may be interested, the list of all CF-related forums is at http://forums.adobe.com/community/coldfusion)
    That forum is not as busy, no, but then the Report Builder is quite a bit older, having come out with CF 7, and not really having been updated much since then.  Still, there are folks there who have replied to questions asked, including Adobe staff.
    Since I don’t read that forum myself, and won’t see your question asked/answered there, let me point out something else that may help (in case others there would not).  You say “I have all of the Adobe ColdFusion 9 dev books”, and that may mean various books like the CF Web App Construction Kit books that Ben, Ray, myself, and others have done.
    But did you know that there is an entire chapter on the CF Report Builder in the free online CF9 manual called “Developing ColdFusion 9 Applications” (a 1300-page manual which many miss entirely , as happened with the versions for CF8 and 7 as well). Many people never even know there is any such “documentation” from Adobe for working with the CF Report Builder. I’ll note also that we (writers of books) may not always get into all the detail that’s in those docs because, well, we don’t want to duplicate their effort. But I know even some writers/bloggers/forum respondents never even know of the manuals, as they are rarely referred to.
    In your case, with the CFRB, it’s especially important to be aware of its substantial chapter:
    http://help.adobe.com/en_US/ColdFusion/9.0/Developing/WSc3ff6d0ea77859461172e0811cbec22c24 -6fc2.html
    For instance, you may already know about this but there you’ll learn that there is a QUERY attribute for the CFREPORT, whereby you can build the query dynamically (as any CFQUERY can be) and then pass that resultset to the report. That may suffice to solve the challenge for you, but if it does not, then you may want to at least take a moment to peruse that chapter before proceeding to ask the question in that other forum.
    And if the book doesn’t help (and I grant it may not) them one more suggestion before you may re-post the question on the other forum: it really may be best for you not to make reference to MySQL or CF9 in your subject, as you did here. There’s doesn’t really seem anything about your challenge that’s specific to them, but saying it in your subject may limit who would read/reply (if they don’t use with MySQL or are not yet on CF9).
    Hope something there’s helpful.
    /charlie
    PS If you may feel that this answers the question, please do mark it as such in the forum web interface, if you would please. Thanks.

Maybe you are looking for

  • Play out to firewire massive audio distorition

    the subject says it all. when I play the timeline out the comupter speakers, everything is OK. when I play thru the firewire port so I can see the video on and NTSC monitor or so I can make a DVCam or VHS print, I get MASSIVE AUDIO DISTORTION. Never

  • Document Number templates

    How Gurus I would like to have a document number that includes a fixed part and a changing part, for example PF/HCM/0001, i want PF/HCM/ to be fixed and then the number will always increase, how can i make this happen. I have tried checking on number

  • G4 powerbook panther g5 tiger

    I'm trying to connect my g4 powerbook on panther to my new g5 nothing happens it keeps telling me ethernet has failed no cable connected I bought a crossover cable. What I need to do is connect my g5 tomy powerbook (the phone line is down stairs) so

  • Get Information about the 'Suchauftrag' in the Cluster Table PCL_RCF

    With a trace (st01) I found out, that the information of my 'Suchauftrag' is saved in the cluster Table 'PCL_RCF'. How can I read out this information in cleartext? Thx for answers

  • How to use iCloud?

    I have already set up my my mac unless something is missing but when I download an apps or take a picture on my ipad, it does not appear on my mac has it's been said that icloud will automatically synchronise it