Only display the first character issue

Hi,
I'm using CR 2008 to generate reports.
I use oracle database.
I use a stored procedure to get data and everything working fine ,it return correct data.
I have five details section but i display one details section and i suppress others
My issue is execute the rpt file to presssig F5 key;   string type record is only able to print the first character on the preview.
eg: record with value 'ABCDE', after printed on rpt file, only character 'A' was printed on the preview.
if i verify database, it display correct data but a few times later problem occurs again
Anyone know how to fix it?

if you create a blank report as follows , you will take same error
my reports section;
section - formula fieds 
a - - - - a b f g
b - - - - a b e f g
c - - - - a b c e f g
d - - - - c f g
e - - - - d e f g
my details sections suppress formula;
if {CR_TEST.CODE}=1 then false else true
if {CR_TEST.CODE}=2 then false else true
if {CR_TEST.CODE}=3then false else true
if {CR_TEST.CODE}=4 then false else true
if {CR_TEST.CODE}=5 then false else true
my procedure is just like this;
CREATE OR REPLACE PROCEDURE CR_TEST(
   P_MONTH IN VARCHAR2
, P_YEAR IN VARCHAR2
, CODE IN NUMBER
, P_CURSOR OUT GP.REF_CURSOR
IS
BEGIN
   IF CODE = 1
   THEN
      OPEN P_CURSOR FOR
         SELECT A
              , B
              , 'X' C
              , 'X' D
              , 'X' E
              , F
              , G
              , CODE CODE
           FROM CR_TEST_TABLE
                             --WHERE conditions
   ELSIF CODE = 2
   THEN
      --A, B, E, F, G
      OPEN P_CURSOR FOR
         SELECT A
              , B
              , 'X' C
              , 'X' D
              , E
              , F
              , G
              , CODE CODE
           FROM CR_TEST_TABLE
                             --WHERE conditions
   ELSIF CODE = 3
   THEN
      OPEN P_CURSOR FOR
         SELECT A
              , B
              , C
              , 'X' D
              , E
              , F
              , G
              , CODE CODE
           FROM CR_TEST_TABLE
                             --WHERE conditions
   ELSIF CODE = 4
   THEN
      OPEN P_CURSOR FOR
         SELECT 'X' A
              , 'X' B
              , C
              , 'X' D
              , 'X' E
              , F
              , G
              , CODE CODE
           FROM CR_TEST_TABLE
                             --WHERE conditions
   ELSIF CODE = 5
   THEN
      OPEN P_CURSOR FOR
         SELECT 'X' A
              , 'X' B
              , 'X' C
              , D
              , E
              , F
              , G
              , CODE CODE
           FROM CR_TEST_TABLE
                             --WHERE conditions
   END IF;
END;
Edited by: assaulter on Oct 12, 2011 11:50 AM
Edited by: assaulter on Oct 19, 2011 1:50 PM

Similar Messages

  • Pages will only display the first page of text.

    Pages will only display the first page of text. New pages are created as usual but blank and pages are visible through quick views. Reinstalling does not fix the problem, I don't know if it is an issue with settings. Pages v 4.1 on OS 10.7.4. Running on new macbook with retina.
    This is apparently a retina issue. Update hopefully soon

    You have not said but it sounds like you are using a Macbook pro with retina display.
    Pages is exhibiting all sorts of problems with the Retina display which Apple is supposedly working on.
    Peter

  • Why the test report's failure chain only display the first failure?

    Hi All,
        why the test report's failure chain only display the first failure step?how to get all the failure steps in the failure chain?
        Thanks a lot.
    BR
    Johnny

    Did a quick search and came across the following links
    http://zone.ni.com/devzone/cda/tut/p/id/4563
    http://zone.ni.com/devzone/cda/epd/p/id/3326
    Regards
    Ray Farmer

  • How can a  variable display the first character that's on the page?

    I'm creating a telephone directory and want each page to display the alphabet of the first listing on the page on the top - only one character.
    Can you tell me how to do this?

    Hmmmmm, seems I was wrong about the GREP styles. I just tried it and they don't get picked up. I consider that a bug, but it's probably "as designed."
    That leaves you having to work with nested styles only, or Find/Change. I think what you'll need to do is redefine the Paragraph style so it has two nested styles that apply the correct style to whatever needs to be styled at the start of the paragraph, one for the first character and the second for the rest of the word(s) if you can figure out a trigger (can InData add an end nested style character or is thew some punctuation you can use?), then find/change to remove the applied character style. For that I'd serach for ^.+ with the find format set to the character style that InData applied and the chane format set to [None], which will only remove it from the beginning of your paragraphs. If this is done correctly there will be no change in appearance since the redefined paragraph style will do the formatting.
    If that won't work, you can use find/change to apply a new style to the first characters. Search for ^. and set the change format to the new character style that you'll use in the variable. It needs to have the same attributes as the style applied by InData or the appearance will change.
    The second method is probably easier since you don't need to redfine the paragraph style, but both methods require you to use find/change to alter the text, which means if more text is added you'll need to re-do the find/change. Not a big deal, but don't forget. I'd be tempted to wait until the last minute and just ignore the headers for the moment, if editing is ongoing. I'd also test this on a copy of the file for safety.

  • Why does Safari only display the first page of PDFs

    When I use Safari to view PDFs attached to a web site I manage only the first page of the PDF displays. There is no problem if I use other browsers. Also the problem is specific to my machine as other Mac users can view all pages of the PDF on their machines. I have looked at Safari Preferences but there does not appear to be any incorrect settings.

    Hi
    do you have any 'pdf' plugins showing in HD/Library/Internet Plug-Ins/ ?
    If you do, quit all browsers & drag the plugin to the Desktop, or some other folder, then test pdf's again. If they still display oddly, try quitting Safari & removing the file Home/Library/Preferences/com.apple.Safari.plist.
    If np pdf plugins show, try the plist move anyway & if you still have problems, it's helpful to test this in a New User Account which takes but a few minutes & tells us if it's a system-wide issue, or restricted to your regular user.

  • Radiogroup static LOV only displays the first label.

    I have a simple static LOV for a radiogroup item, but it won't show the 2nd label. It is the second radio group item on the page and the first works fine.
    2nd LOV:
    STATIC2:Yes;1,No;2
    Any suggestions, please?

    The first LOV happens to use the escape character of a bar STATIC2(|,;) because I have numbers with commas in the label (e.g., $5,000).
    If I put the 2nd LOVE before the first by changing the sequence, it works, but I don't want it before the one with the escape character.

  • Insert multiple Camtasia created swfs as animation only displays the first animation with the template/control bar

    Greetings,
    I have started adding Camtasia created .swfs to Captivate
    projects.
    The first added animation will display the template and
    control bar the animation file is published with in Camtasia.
    After that, any additional .swf animation files also created
    exactly the same do n ot display the template or control bar and
    just play as soon as the slide begins.
    My theory is that the initial template and play button
    convince all the subsequent animations the user has pushed play.
    I would like for each animation on individual slides to
    display the template and control bar correctly and have tried to
    adjust animation timing to no avail...
    Anyone else run into this one
    Template is Camtasia Studio 5 Express Show Published as .swf
    files then inserted as animation into Captivate
    Both Camtasia and Captivate latest versions.
    Animations work correctly just need Camtasia template and
    control bar to show in all animations....
    Any help much appreciated!

    Hi maya12357 and welcome to our community
    Out of curiosity, since you already have your project output
    from Camtasia, why are you trying to insert into Captivate?
    I do have Camtasia 4, so I'm not sure if the output files
    from it are similar to 5. But I'm not sure if you will be 100%
    successful in getting all the Camtasia elements to show inside a
    Captivate project.
    Cheers... Rick

  • TestStand database logging problem: only the first character is put in the table.

    I am using TestStand 2.0.1 and Microsoft SQL server database. There is a weird problem when I use database logging. At first, all the database logging ran good.
    Then one day after I moved the test equipment to production line, TestStand only logs the first character of each string field in the tables! There is no error message.
    I setup another SQL server running locally on the same machine as the TestStand is and move the database to the local server, database logging has no problem. Schemas in TestStand Dabasebase Options are the same.
    I tried to run TestStand from another computer on the network. There was no problem before, too.  But now, TestStand always shows a Run-time error message like this:
    Details:
    An exception occurred calling 'LogResults' in 'ITSDBLog' of 'DBLog 1.0 Type Library'
    An error occurred executing a statement.
    Schema: New.
    Statement: STEP_RESULT.
    Connection failureMultiple-step OLE DB operation generated errors. Check each OLE DB status value, if available. No work was done.
    Source: TSDBLog
    Error Code:
    -2147467259; User-defined error code.
    Location:
    Step 'Log Results to Database' of sequence 'Log To Database' in 'Database.seq'
    I have checked that the connection is good and also the table UUT_RESULT has been logged correctly.
    Anyone can help?
    Thanks.

    Thank you very much, Santiago.
    Yes, I have a customized schema, but it is based on the pre-existing schema. I tried the schema:TS 1.x Access/SQL (NI), which  came with TestStand, the results were the same. 
    I have tried to run different sequences. On one computer, I always get only the first character of each string entry logged in the remote database, however for the local server, everything is fine. On the other computer, there is no local SQL server, I always get similar error message as I mentioned in my post. The sequence step reports error is  "Log Results to Database".
    Any more suggestion?
    Thanks again.
    Best regards,
    Jaso

  • Why is my RAM preview only playing the first 7 seconds of my video?

    When I try to RAM preview my animation so that I can hear audio it only displays the first 7 seconds and then repeats. The entire clip is 35 seconds long.
    Help please!

    See this:
    http://forums.adobe.com/message/1916125
    "FAQ: Why does RAM preview only play part of my composition?"

  • IQueryable returns 3693 Items but only inserts the first 1000 to dropdown lists

    Hi all,
    I am querying SharePoint to retrieve all the lists of accounts. I can see that I have 3693 account items when I query the results. However when I convert
    this into a lists or insert this as DataSource of a dropdown field, it only takes the first 1000 items of the results. 
    Code preview
    var organisations = from d ....... ; 
    Debug.WriteLine("Results returned.. " + organisations.Count());//3693
    Debug.WriteLine("Results converted to Lists " + organisations.ToList().Count()); //1000
    dropdown.DataSource = organisations; OR dropdown.DataSource = organisations.ToList();
    //only displays the first 1000
    ... code continues
    Am I inserting the data wrong? Help!
    Regards,
    Roldan

    Michael,
    That's very interesting. Here is where I am at the moment, I started doing:
    Code Preview
    var list1 = organisations.Take(1000).ToList();
    var list2 = organisations.Skip(1000).Take(1000).ToList();
    var list3 ... //until all 3693 records has been extracted
    I then enumerated the values inside each lists and voila! I can see the rest of the results. However, doing Take() and ToList() made it really slow. It now takes approximately 2 minutes to display all 3693
    data into the dropdown field. 
    I'm very lost here! I thought doing:
    dropdown.DataSource = organisations; 
    is all I need to display all the data! 

  • TS1702 Hi,  I downloaded Wild to my Ipad and I'm having issues.  I've only read the first few chapters but at the end of each chapter the last page is duplicated for 10 pages and then it goes to the next chapter.

    I downloaded Wild to my Ipad and I'm having issues.  I've only read the first few chapters but at the end of each chapter the last page is duplicated for 10 pages and then it goes to the next chapter.

    Quit the iBooks app completely and restart the iPad. Go to the home screen first by tapping the home button. Double tap the home button and the task bar will appear with all of your recent/open apps displayed at the bottom. Tap and hold down on any app icon until it begins to wiggle. Tap the minus sign in the upper left corner of the app that you want to close. Tap the home button or anywhere above the task bar. Restart the iPad.
    Restart the iPad by holding down on the sleep button until the red slider appears and then slide to shut off. To power up hold the sleep button until the Apple logo appears and let go of the button.
    Or ....Reset the iPad by holding down on the sleep and home buttons at the same time for about 10-15 seconds until the Apple Logo appears - ignore the red slider - let go of the buttons.
    Or ... Delete the book and download it again in the purchased tab of the iBook Store, as long as you use the same Apple ID, there is no charge to download it again.

  • How do I display text only in the first page inXML Publisher

    Hi everybody,
    I've been reading so much, on the last two days, on this issue at this forum but I didn't get an answer. My problem is: In an invoices report some text and fields from the invoice header, (such as payment terms, bank details etc.), should be printed only in the first page of the invoice, (If the invoice has more than one page). These elements are not in the document header/footer but in the document body. That's why I think the different fist page of MS Word will not work. I tried also <? start@first-page:body ?>, with no success. Any idea, someone?
    Thanks,
    Shimon

    Hi,
    Did you find solution to your problem? I am facing same issue and I want to know how you solved it? It would be great help.
    Thank you.
    Regards,
    Rahul

  • TS3274 Email display problem: My email only display the list of emails and a preview (first two lines of the body of the mail). If one click on the message it only shows the heading on the right hand side of the screen, but not the content.

    My email only display the list of mails in my in box with a preview of the first two lines of the body of the message. When one clicks on the message to open it, only the header is displayed in the right hand side of the screen - the actual message is missing. This happens on older mail previously downloaded that use to work properly as well. Any idea how to fix this?

    Try closing the Mail app completely and see if it works properly when you re-open the app : from the home screen (i.e. not with the Mail app 'open' on-screen) double-click the home button to bring up the taskbar, then press and hold any of the apps on the taskbar for a couple of seconds or so until they start shaking, then press the '-' in the top left of the Mail app to close it, and touch any part of the screen above the taskbar so as to stop the shaking and close the taskbar.
    If that doesn't work also do a reset : press and hold both the sleep and home buttons for about 10 to 15 seconds (ignore the red slider), after which the Apple logo should appear - you won't lose any content, it's the iPad equivalent of a reboot.

  • Getting zero to display as the first character

    I know this should be simple, but I'm trying to get a zero to display as the first character in a field when necessary.  For example last 4 of SSN.  Any help would be appreciated.

    Hi,
    You can achieve this in the Patterns dialog. Select the object and go to the Object > Field palette. There you can click the Patterns button and edit the Display Pattern.
    For example, this would display a number without leading zeros: 12
    num{zzz9}
    Whereas if you use 9 it will display leading zeros: 0012
    num{9999}
    Hope that helps,
    Niall

  • Pie Chart Only Displays the Data of the First Row of the Table

    Hi Experts,
    I have a problem that the pie chart will not change when click on a second row or other rows on the table. It only displays the data of the first row of the table. How can I set up to make it reflect on any rows when I click the table? Please help, and I would very appreciate that.
    Thanks,
    -Don

    Thanks a lot for your response. I have realized that the pie chart behaves that way, so I just use the filter to see the specific data that I want. Also, you can drag the row and drop it right at the first row to see the data in the pie chart.

Maybe you are looking for

  • New open directory account doesn't create mail account

    Hi All      I have a Mac Mini with lion server, Fresh out of the box i messed with it a few times to learn and then i did a clean (internet) install and started with the settings i wanted (hostname, etc) with no mistakes. (It seems Lion doesn't like

  • My MacBookPro is currently running on 10.6.8.  What should I update to?

    I am currently running 10.6.8 on my 2008 MacBook Pro.  Processor speed:2.66 GH, memory 4GB.  What operating system should I update to?

  • Printing in Central pro

    I'm trying to print the document with the below configuration in JMD file and in transaction file  I'm using the below line of code (1), the output is not printing to the FL9P201 printer rather it is creating the file in the data folder? any suggesti

  • Programmin​g Analog Input Registers for MSeries NI-6280 under rtx

    I have an example of aiex1.cpp,I kown it write some bit in some register,I want to translate it into RTX.but I found some register is only wirte and I also dont kown what the default bits  in registers is,so use " *(u16*)addr_tmp|= (1 << 7);" is wron

  • C6150 Won't Print in Black

    My c6150 all in one will not print in black.  I put new black carts in, did two printhead cleanings and still it won't print in black.  Any suggestions? Thanks a bunch, KegBag