CodeGuru Forums -
CodeGuru Home VC++ / MFC / C++ .NET / C# Visual Basic Newsletters VB Forums Developer.com


Newest CodeGuru.com Articles:

  • Installing SQL Server 2008
  • Writing UDFs for Firebird Embedded SQL Server
  • [Updated] Shutdown Manager
  • Building Windows Azure Cloud Service Applications with Azure Storage and the Azure SDK

  • Search CodeGuru:
     



    Go Back   CodeGuru Forums > Visual Basic Programming > Crystal Reports
    FAQ Members List Calendar Search Today's Posts Mark Forums Read

    Reply
     
    Thread Tools Search this Thread Rate Thread Display Modes
      #1    
    Old March 24th, 2004, 08:33 AM
    Ahara Ahara is offline
    Member
     
    Join Date: Nov 2002
    Location: Oakville, Ontario
    Posts: 48
    Ahara is an unknown quantity at this point (<10)
    Memo field will not display more than 255 chars [resolved]

    Hello;

    I am ammending another developer's app who used Crystal Reports 7.0. I am new to Crystal Reports. I have a field on a report that is defined in our Oracle database as a varchar2(4000). The ttx file for the report defines the field as String 4000. But the report will only print out 255 characters or less. We are only noticing this now as in the past the clients have not used this field to its extent (they have always enetered less than 255) But now they want to use it the way we set it up and the data is displaying accordingly in the application (multi-line textbox) when they enter more than 255, but the report won't print it. Please help if possible - it has been 2 days now looking at this. I will include ttx file content:

    labour.ttx:

    wokorder_no String 30
    complaint_id String 40
    complaint String 150
    ata_code String 14
    ata_description String 100
    mech_name String 30
    service_description String 4000<----field that won't print
    estimate_description String 25
    estimate String 5
    actual_billing String 5
    rate String 10
    rate_description String 25
    total String 12

    I have also ensured that CanGrow is set to true, and the maximum number of lines is at '0' which according to documentation should ensure no limit on the number of lines. Any ideers anyone????

    Thanks much

    Last edited by Ahara; March 24th, 2004 at 01:13 PM.
    Reply With Quote
      #2    
    Old March 24th, 2004, 01:12 PM
    Ahara Ahara is offline
    Member
     
    Join Date: Nov 2002
    Location: Oakville, Ontario
    Posts: 48
    Ahara is an unknown quantity at this point (<10)
    Much to my surprise, the fix was:

    data type "String" in ttx file needs to be "Memo" and the cursor location of the connection object must be client side. This is typically a great forum - I am surprised no one replied.
    Reply With Quote
      #3    
    Old June 30th, 2005, 02:06 AM
    danu danu is offline
    Junior Member
     
    Join Date: Jun 2005
    Posts: 1
    danu is an unknown quantity at this point (<10)
    Re: Memo field will not display more than 255 chars

    I have same problem...in this case I not define datatype on ttx file but use recodset. The recodset use textbox object for stored on crystal report.
    Reply With Quote
    Reply

    Bookmarks
    Go Back   CodeGuru Forums > Visual Basic Programming > Crystal Reports


    Thread Tools Search this Thread
    Search this Thread:

    Advanced Search
    Display Modes Rate This Thread
    Rate This Thread:

    Posting Rules
    You may not post new threads
    You may not post replies
    You may not post attachments
    You may not edit your posts

    BB code is On
    Smilies are On
    [IMG] code is On
    HTML code is Off
    Forum Jump


    All times are GMT -5. The time now is 11:03 PM.



    Acceptable Use Policy

    internet.comMediabistrojusttechjobs.comGraphics.com

    WebMediaBrands Corporate Info


    Advertise | Newsletters | Feedback | Submit News

    Legal Notices | Licensing | Permissions | Privacy Policy


    Powered by vBulletin® Version 3.7.3
    Copyright ©2000 - 2009, Jelsoft Enterprises Ltd.
    Copyright WebMediaBrands Inc. 2002-2009