Excel as source - some columns String 255, some Memo

I am using several excel files as a datasource and compiling the information in a crystal report.
I can connect and run the report fine.
My problem is that the columns with a lot of text are being mapped as either string[255] or Memo.  The memo fieds seem to contain all the text while the String[255] fields truncate the text in the spreadsheet.
It would seem to me that Crystal could handle any volume of data in a cell that Excel can.  How do I force the columns with excessive data to map as Memo in Crytsal?
I'm using Crystal Reports 2008 v12.
Thank you in advance for any assistance you might be able to provide.
---Don

Too funny.  Not sure what time zone you're in, but I was workiing on this series of report starting at 6:30am.  Somewhere in that time frame I realized the problem.
The limitation seems to be on the text object, not the field.
I was incorporating the field within a text object.  It was being truncated under this scenario.
When I use the field on its own, it is not truncated.
Problem solved.
Thank you for your suggestion.
At this point I am doing a prototype for a series of management reports.  I need to be able to work on the reports at home and at work. As such, I want direct file access so it is a little more portable.
Thank you agian.
P.S. - How do I flag this message as "answered" so it doesn't sit out there unanswered.  And do I get double points for answering my own question?....eventually?
Edited by: Don McCarty on Jan 24, 2009 2:25 PM

Similar Messages

  • The connection string for coded UI Data driven test using excel data source is not working

    Hello,
    I am using the visual studio 2012 coded UI test, i added the following connection strings to connect to an excel data source:
    [DataSource("System.Data.Odbc", "Dsn=Excel Files;Driver={Microsoft Excel Driver (*.xls)};dbq=C:\\Users\\shaza.said.ITWORX\\Desktop\\Automation\\On-track Automation Framework\\On-track_Automation\\Automation data file.xls;defaultdir=.;driverid=790;maxbuffersize=2048;pagetimeout=5;readonly=true",
    "Sheet1$", DataAccessMethod.Sequential), TestMethod]
    [DataSource("System.Data.Odbc", "Dsn=Excel Files;dbq=|DataDirectory|\\Automation data file.xls;defaultdir=C:\\Users\\shaza.said.ITWORX\\Desktop\\Automation\\On-track Automation Framework\\On-track_Automation\\Automation data file.xls;driverid=1046;maxbuffersize=2048;pagetimeout=5",
    "Sheet1$", DataAccessMethod.Sequential), TestMethod]
    But i get the following error:
    "The unit test adapter failed to connect to the data source or to read the data. For more information on troubleshooting this error, see "Troubleshooting Data-Driven Unit Tests" (http://go.microsoft.com/fwlink/?LinkId=62412) in the MSDN Library.
    Error details: ERROR [IM002] [Microsoft][ODBC Driver Manager] Data source name not found and no default driver specified"
    Thanks,
    Shaza

    Thanks for Adrian's help.
    Hi shaza,
    From the error message, I suggest you can refer the Adrian's suggestion to check the date source connection string correctly.
    In addition, you can refer the following about how to Create a Data-Driven Coded UI Test to check your issue:
    http://msdn.microsoft.com/en-us/library/ee624082.aspx
    Or you can also try to use a Configuration File to Define a Data Source for coded UI test.
    For example:
    <?xml
    version="1.0"
    encoding="utf-8"
    ?>
    <configuration>
    <configSections>
    <section
    name="microsoft.visualstudio.testtools"
    type="Microsoft.VisualStudio.TestTools.UnitTesting.TestConfigurationSection,
    Microsoft.VisualStudio.QualityTools.UnitTestFramework, Version=10.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a"/>
    </configSections>
    <connectionStrings>
    <add
    name="ExcelConn"
    connectionString="Dsn=Excel Files;dbq=E:\Unit Test\AddClass\AddUnitTest\add.xlsx;defaultdir=.;
    driverid=790; maxbuffersize=2048; pagetimeout=60;"
    providerName="System.Data.Odbc"/>
    <add
    name="ExcelConn1"
    connectionString="Dsn=Excel Files;dbq=E:\Unit Test\AddClass\AddUnitTest\sum.xlsx;defaultdir=.;
    driverid=790;maxbuffersize=2048;pagetimeout=60"
    providerName="System.Data.Odbc"/>
    </connectionStrings>
    <microsoft.visualstudio.testtools>
    <dataSources>
    <add
    name="ExcelDS_Addition"
    connectionString="ExcelConn"
    dataTableName="Addition$"
    dataAccessMethod="Sequential"/>
    <add
    name="ExcelDS_Multiply"
    connectionString="ExcelConn1"
    dataTableName="Multiply$"
    dataAccessMethod="Sequential"/>
    </dataSources>
    </microsoft.visualstudio.testtools>
    </configuration>
    For more information, please see:https://msdn.microsoft.com/en-us/library/ms243192.aspx
    Best Regards,
    We are trying to better understand customer views on social support experience, so your participation in this interview project would be greatly appreciated if you have time. Thanks for helping make community forums a great place.
    Click
    HERE to participate the survey.

  • Excel source multiple column values to oledb destination single column in ssis 2012

    Excel sheet has 4 columns which is filled with data till 500 rows on each column. I want to insert those excel data into single column(PolicyIds) and am using oledb destination. In excel souce i dont hav any column header. Can anyone suggest me how can i do
    this effectively. (May be i can use script task to get range of data and use it as SQL variable). Is there any best approaches.
    Sample excel
    A          B             C             D
    1001     1005       1009        1013
    1002     1006       1010        1014
    1003     1007       1011        1015
    1004     1008       1012        1016

    Inside Excel Source, use Data Access Mode - SQL Command as below:
    select F1 from [Sheet1$] where F1 is not null
    union all
    select F2 from [Sheet1$] where F2 is not null
    union all
    select F3 from [Sheet1$] where F3 is not null
    union all
    select F4 from [Sheet1$] where F4 is not null
    -Vaibhav Chaudhari

  • Character field in excel output exist some junk character's

    PlatForm :IBM630,PC
    Operation System:windows xp,windows 2003,AIX 5.3
    IAS version :10.1.2
    Language :Chinese
    When set desformat parameter equal to spreadsheet, character field in excel output exist some junk character's,
    and as excel output data gather volume,junk character's will more and more.
    But when I only get the record include junk character's,then the excel output will be ok.
    How can I do to solve the problem?
    Thanks in advance!
    lind
    Message was edited by:
    user565112

    PDF,RTF DESFORMAT is right,but users need spreadsheet desformat too.
    the characterset is unicode,and end signal of junk character is ?/SPAN>.
    When I get excel output include junk character,the same time get the junk character's record,and then get excel output only include the junk character's record,the excel output will be showed correctly,no junk characters.
    How to sovle the problem?
    thanks.
    Message was edited by:
    user565112

  • Application Launch Failure (Excel, Word and some other programs)

    Error message on the screen:
    Application Launch Failure
    The application "Word" could not be launched because of a shared Library error: "<Microsoft Word><Microsoft Word><CarbonLib>"
    Console Message:
    10/10/09 9:21:15 PM [0x0-0xd40d4].com.microsoft.Word[1477] /Applications/Microsoft Office 2004/Microsoft Word[1477] Launch failed with error code -2804 (cfragNoLibraryErr) for application /System/Library/Frameworks/Carbon.framework/Versions/A/Support/LaunchCFMApp
    10/10/09 9:21:15 PM com.apple.launchd[1334] ([0x0-0xd40d4].com.microsoft.Word[1477]) Exited with exit code: 12
    This also happens with Excel, Word and some other programs.
    Anyone have any ideas?

    Oops, I should have mentioned that I've repaired permissions both from a DVD bootup as well as from the current hard drive. I reinstalled the last update.
    I have Time Machine so I guess I could go back to a previous state if I knew what the problem was.

  • I want to write a script or Automator workflow/app that emails a random shortcut of the day to three recipients. The source is from an Excel spreadsheet. One column is the shortcut, and the second column is the definition. Anyone have experience?

    I want to write a script or Automator workflow/app that automatically emails a random shortcut of the day to three recipients. The source is from an Excel spreadsheet. One column is the shortcut, and the second column is the definition. Anyone have similar experience and know that this would work?

    I have had a first stab at the script, below.  It uses a file to store the shortcuts and command [descriptions].  You should be able to see from the script annotations how to add a new one.  (I populated 1-4 with real data, but got lazy after that, so you have a few placeholders to work with first.
    As I have noted, once you are happy that you have all the data in the file, you can comment out part of the script for ongoing use.  (BTW, my reluctance to use Excel is that I don't currently have it installed and I don't want to offer wrong advice.  If you have Numbers, I do have that and could probably modify to work with a spreadsheet from there.  This might be especially useful if you have the data already sitting in Excel.)
    A few things came-up whilist I was writing the script:
    1.     Currently, all recipients will not only get the same tip at the same time, but they will see the names and email addresses of the others who receive them.  It is possible to modify this.
    2.     I have added a property gRandomCheck which keeps track of which shortcut has already been used (since the last time the script was compiled.  This will prevent the same tip being sent more than once.    When all tips have been sent once, the script will alert you and not send anything until reset.  It does not check on a per-addressee basis (which would be a refinement).  (If you add a new addressee at this stage, the whole process will start again, and you may not really want this to be the behaviour.)
    3.     The way that I have built the list, commandList, is deliberately cumbersome - it's for the sake of clarity.  If you prefer, you can construct the whole list as {{shortcut:"X", command:"X"}, {shortcut:"Y", command:"Y"}}
    Have a look - I am sure you will have questions!
    SCRIPT STARTS HERE  Paste the following lines (thru the end) into a new AppleScript Editor document and press RUN
    --The property gRandomCheck persists between runs and is used to stop sending the same hint twice.
    property gRandomCheck : {}
    --I am defining a file on the desktop.  It doesn't have to be in this location
    set theFolder to path to desktop
    set commandFile to (theFolder as text) & "CommandFile.csv"
    --(* Unless you need to change the file contents you do not need to write to it each time.  Remove the "--" on this line and before the asterisk about 18 lines below
    --Follow this format and enter as many records as you like on a new line - each with a unique name
    set record1 to {shortcut:"Z", command:"Undo"}
    set record2 to {shortcut:"R", command:"Record"}
    set record3 to {shortcut:"⇧R", command:"Record Toggle"}
    set record4 to {shortcut:"⌘.", command:"Discard Recording & Return to Last Play Position"}
    set record5 to {shortcut:"X", command:"x"}
    set record6 to {shortcut:"X", command:"x"}
    set record7 to {shortcut:"X", command:"x"}
    set record8 to {shortcut:"X", command:"x"}
    set record9 to {shortcut:"X", command:"x"}
    set record10 to {shortcut:"X", command:"x"}
    set record11 to {shortcut:"X", command:"x"}
    set record12 to {shortcut:"X", command:"x"}
    set record13 to {shortcut:"X", command:"x"}
    --Make sure you add the record name before randomCheck:
    set commandList to {record1, record2, record3, record4, record5, record6, record7, record8, record9, record10, record11, record12, record13}
    --This part writes the above records to the file each time.
    set fileRef to open for access commandFile with write permission
    set eof of fileRef to 0
    write commandList to fileRef starting at eof as list
    close access fileRef
    --remove "--" here to stop writing (see above)*)
    --This reads from the file
    set fileRef to open for access commandFile with write permission
    set commandList to read fileRef as list
    close access fileRef
    --Here's where the random record is chosen
    set selected to 0
    if (count of gRandomCheck) is not (count of commandList) then
              repeat
                        set selected to (random number from 1 to (count of commandList))
                        if selected is not in gRandomCheck then
                                  set gRandomCheck to gRandomCheck & selected
                                  exit repeat
                        end if
              end repeat
    else
              display dialog "You have sent all shortcuts to all recipients once.  Recompile to reset"
              return
    end if
    --This is setting-up the format of the mail contents
    set messageText to ("Shortcut: " & shortcut of record selected of commandList & return & "Command: " & command of record selected of commandList)
    tell application "Mail"
      --When you're ready to use, you probably will not want Mail popping to the front, so add "--" before activate
      activate
      --You can change the subject of the message here.  You can also set visible:true to visible:false when you are happy all is working OK
              set theMessage to (make new outgoing message with properties {visible:true, subject:"Today's Logic Pro Shortcut", content:messageText})
              tell theMessage
      --You can add new recipients here.  Just add a new line.  Modify the names and addresses here to real ones
                        make new to recipient with properties {name:"Fred Smith", address:"[email protected]"}
                        make new to recipient with properties {name:"John Smith", address:"[email protected]"}
      --When you are ready to start sending, remove the dashes before "send" below
      --send
              end tell
    end tell

  • Crystal Reports XI String [255] limit with the File System Data driver...

    I was trying to create a Crystal Reports XI report to return security permissions of files and folders.  I have been able to successfully connect and return data using the File System Data driver as the Data Source; however the String limit on the ACL NT Security Field is 255 characters.  The full string of data to be returned can be much longer than the 255 limit and I cannot find how to manipulate that parameter. 
    I am currently on Crystals XI and Crystal XI R2 and have applied the latest service packs but still see the issue.  My Crystal Reports Database DLL for File System data ( crdb_FileSystem.dll ) is at Product Version 11.5.10.1263.
    Is it possible to change string limits when using the File System Data driver as the Data Source?  If so, how can that be accomplished.  If not, is there another method to retrieve information with the Windows File System Data being the Data Source?  Meaning, could I reach my end game objective of reporting on the Windows ACL's with Crystal through another method?

    Hello,
    This is a known issue. Early versions you could not create folder structures longer than 255 characters. With the updates to the various OS's this is now possible but CR did not allocate the same space required.
    It's been tracked as an enhancement - ADAPT01174519 but set for a future release.
    There are likely other ways of getting the info and then putting it into an Excel file format and using that as the data source.
    I did a Google search and found this option: http://www.tomshardware.com/forum/16772-45-display-explorer-folders-tree-structure-export-excel
    There are tools out there to do this kind of thing....
    Thank you
    Don
    Note the reference to msls.exe appears to be a trojan: http://www.greatis.com/appdata/d/m/msls.exe.htm so don't install it.
    Edited by: Don Williams on Mar 19, 2010 8:45 AM

  • Excel Upload with Hidden Column

    Hi Gurus-
    Can you upload Excel file with hidden column and get the function to read values in hidden column? If yes, could you please guide me how?
    I am using ALSM_EXCEL_TO_INTERNAL_TABLE
    Any help will be highly appreciated.
    Thanks in advance!

    Hi,
    Have a look at program RSDEMO01 (available in the controls examples of the workbench). It demonstrates an OLE connection to Excel.
    To know which excel objects, methods and properties to use it is a good idea to use the excel macro recorder - just do what you want your program to do and then translate the resulting VB code to ABAP OLE.
    For the import of the clipboard data you can use CL_GUI_FRONTEND_SERVICES=>CLIPBOARD_IMPORT. In the result table, iirc, there  is one line for each imported line and within the line the cell values are separated by tab. So there is some work left - it might be a good idea t import the data column by column.
    It has been some time when I did this for a former client of me - so unfortunately I do not have the code any more.
    Regards, Gerd Rother

  • Exporting to Excel - How to control Column Heading?

    I'm working in SSRS 2012.  I have one tablix in the report body.  The tablix has both Row and Column Groups.
    When rendering in the web browser the report page breaks on a row group.  The Repeat Column Headers property is set to "True" so it shows the column headings from page to page.
    When rendering in Excel, I want one worksheet and not separate worksheets so the page break is disabled via the Page Break->Disabled property expression "=IIf(Globals!RenderFormat.Name="EXCELOPENXML", True, False)".
    This is all good but the Column Headings only show up once at the very top in the excel worksheet. 
    Is it possible to make the Column Headings repeat with each tablix data region as it is rendered vertically down the worksheet?
    OR is there a way from SSRS to set the Excel property "Rows to Repeat at top" to include Column Heading; by default the SSRS Report's header is repeated in Excel, but can the number of rows be changed to include the Column Heading?
    OR is there some other work around?
    Thanks for your help.
    Mark

    Thanks for the reply Wendy.
    You addressed my second question ... "is there a way from SSRS to set the Excel property "Rows to Repeat at top" to include Column Heading; by default the SSRS Report's header is repeated in Excel, but can it be changed to include the Column Heading? 
    Based on your response, the only way to freeze the column header in excel is to freeze or split panes AFTER export to excel.  well booo but I have to accept that I guess.
    My first question is what I really want to do, which is to physically repeat the Column Heading in the excel rendering. I included two pictures demonstrate what I want ...
    1) the standard SSRS report rendered in Excel ... Column Headings are shown once:
    Standard Export to Excel
                           Year
    Region
    Category
    2011
    2012
    2013
            Total
    East
    Sales
    10
    20
    30
    60
    Expenses
    8
    20
    10
    38
    Profit
    2
    0
    20
    22
    West
    Sales
    8
    16
    24
    48
    Expenses
    6
    16
    8
    30
    Profit
    2
    0
    16
    18
    2) what I'd like to see rendered in Excel ... which is to repeat the headers as you scroll down the page
    Desired Export to Excel
                          Year
    Region
    Category
    2011
    2012
    2013
            Total
    East
    Sales
    10
    20
    30
    60
    Expenses
    8
    20
    10
    38
    Profit
    2
    0
    20
    22
                           Year
    Region
    Category
    2011
    2012
    2013
            Total
    West
    Sales
    8
    16
    24
    48
    Expenses
    6
    16
    8
    30
    Profit
    2
    0
    16
    18
    Thanks again for your help,
    Mark

  • What is excel file's maximum column number limit?

    Hello all,
    I am writing a long csv string within one line to an excel file. When I open the generated excel file, it reports "File not loaded completely". And it only generated patial file.
    I am thinking maybe excel has maximum column number limit, and my excel file required more than 312 columns, that's why it caused this problem.
    Does any one know the answer?
    Thanks in advance !
    Rachel

    Ok, I already solved this problem, excel has a 256 column limit.
    Thanks,
    Rachel

  • In BI Publisher Report of excel output for one column is filled with spaces

    Hello,
    We have issue in BI Publisher report of excel output.
    In Excel output for one column few records are displaying as left alignment
    and few record are displaying as right alignment.
    If you are having any xml tag or any syntax for removing spaces for left side
    Please help on this issue.
    Thanks in Advance.
    Regards,
    Swaraj

    Please post the details of the application release, database version and OS along with BI Publisher.
    Is the issue with all reports or specific one(s) only?
    Do you have the patches in the following docs applied?
    Overview of Available Update Patches for Oracle BI Publisher Enterprise 10g [ID 797057.1]
    Overview of Available Update Patches for Oracle BI Publisher Enterprise 11g [ID 1276869.1]
    Overview of Available Patches for Oracle XML Publisher embedded in the Oracle E-Business Suite [ID 1138602.1]
    BI Publisher 10g RTF Template Changes Alignment Settings for Numbered Lists [ID 1418504.1]
    Thanks,
    Hussein

  • Order Source Reference Column in Sales Order Form

    Hi All,
    When copying a sales order that is imported from EDI, the order source reference column in the new order refers to the original order. Is there a way to make this field refer to the same field of the original order? Or at least make it editable/updatable?
    Thanks
    A/H

    Not sure personalization will solve this problem. Other options:
    1. Workflow
    2. Post Hook Events
    3. trigger?
    Thanks
    Nagamohan

  • None of the fact sources for [column] are compatible with the detail filter

    Hi Experts,
    I am using obiee 11.1.1.7.
    Getting below error when i add a filter of non conformed dimension column.
    Below is the error
    Error Details
    Error Codes: OPR4ONWY:U9IM8TAC:OI2DL65P 
    State: HY000. Code: 10058. [NQODBC] [SQL_STATE: HY000] [nQSError: 10058] A general error has occurred. [nQSError: 43113] Message returned from OBIS. [nQSError: 43119] Query Failed: [nQSError: 14023] None of the fact sources for [column] are compatible with the detail filter
    Please help in solving an issue.
    Regards,
    NN

    Hi NN
    You need to follow steps in below link to model your BMM layer for the report to work with non confirmed dimensions.
    http://obibb.wordpress.com/2010/05/31/multiple-fact-reporting-on-non-conforming-dimensions/
    Once you have followed these steps you can use the non confirmed dimension in the reports.When you see the logs to see the query generated by obiee,it generated 2 queries 1 with confirmed dimension and other with non conformed dimension.When you filter using non confirmed dimension you will now not notice any error but the results will not be filtering out because the filter will be applied only in 1 query which is valid
    Now for this to work what you can do is ,instead of using the filter drag the column you like to filter as a prompt in your view.default it to the value you need using the case statement and hide it.This is one of the work around.
    There may be many other work arounds for this but you need to understand that for you requirment to work you need to tweek OBIEE to generate 1 query instead of 2  queries.

  • Excel switch row and column

    hi guys,
    I have a table need to change the table head from column to row. 
    please help

    Hi,
    I agree with Bernie’s suggestion, you can use Transpose in Paste Special.
    For detail information:
    http://office.microsoft.com/en-001/excel-help/switch-transpose-columns-and-rows-HP010224502.aspx
    Best regards,
    Greta Ge
    TechNet Community Support
    It's recommended to download and install
    Configuration Analyzer Tool (OffCAT), which is developed by Microsoft Support teams. Once the tool is installed, you can run it at any time to scan for hundreds of known issues in Office
    programs.

  • Error Using Excel as Source

    I am not able to use the Excel as Source, Following is the brief description of the situation
    Excel Source File Kept at - Server Machine
    DSN created for the Excel File on Server Machine
    Agent created on the Server Machine
    Development being done on the Client Machine
    There is no DSN created for the Excel file on the Client Machine. Question 1 - Do we need to create a DSN even at the Cleint Side. Logically we should not. Please Clarify
    While Creating Model for this Source Excel file I am not able to see teh data or reverse the Excel File. Please provide inputs
    I am getting the following errordescription
    com.sunopsis.core.SnpsInexistantObjectException: There is no connection for this logical schema/context pair:EXCEL_FILE_REPOSITORY / DEV
         at com.sunopsis.dwg.dbobj.SnpConnect.getSnpConnectByLSchemaNameAndContext(SnpConnect.java)
         at com.sunopsis.dwg.dbobj.SnpConnect.getSnpConnect(SnpConnect.java)
         at com.sunopsis.dwg.dbobj.SnpSession.getDwgConnectLst(SnpSession.java)
         at com.sunopsis.dwg.dbobj.SnpSession.getConLst(SnpSession.java)
         at com.sunopsis.dwg.dbobj.SnpSession.treatSession(SnpSession.java)
         at com.sunopsis.dwg.cmd.DwgCommandSession.treatCommand(DwgCommandSession.java)
         at com.sunopsis.dwg.cmd.DwgCommandBase.execute(DwgCommandBase.java)
         at com.sunopsis.dwg.cmd.e.i(e.java)
         at com.sunopsis.dwg.cmd.h.y(h.java)
         at com.sunopsis.dwg.cmd.e.run(e.java)
         at java.lang.Thread.run(Unknown Source)
    Edited by: user11284418 on Aug 20, 2009 6:25 PM

    Correct me If i am wrong, I guess DSN can point only to the local files on the machine.
    Also,
    A userDSN can be only access by the same user (logiin user) on the machine
    A systemDSN can be accessed by all the users on the machine including NT services.
    So even you create a UserDSN on your local machine, the file is still on server correct ?
    So you may not be able to create such DSN
    tell me where your agent is created. It shoudl be on same machine where your file is created. Also make sure that you use System DSN rather than userDSN as I said that userDSN is accessible to only same user, but systemDSN is availabe to all including NT services.
    Just corss check every thing and let me if youu fiind any problem there.
    Regards,
    Amit

Maybe you are looking for

  • Oracle Server Performance

    RDBMS Version: 9.2.0 Operating System and Version: Red Hat Linux relase 3 Database performance issue we are using oracle 9i in LINUX platform, since last 4 days database performance is drastically decreased it is when number of active sesseions incre

  • Text box should not appear when printed

    Need to create a 4-line text box/form field/comment to give users instructions, but box should not be visible when printed.  A form/text field can be set-up to be visible but not printed, however, it will not allow multiple lines of text in it. Any s

  • Rc-local.service keeps failing after one time success

    Actually it's quite weird, every time rc-local.service was enable successfully with boot but then it keeps failing. However, once I modify /etc/systemd /system/rc-local.service( even something that really doesn't matter ), it will be enabled successf

  • I message problems

    I want my phone number to be my primary when im texting people with iphones that are on/activated . I dont want my imessage email to be used before my own phone number . How can i fix that . I still wanna use i message for people who i message with i

  • Targeting a message bridge in 10.0

    I have created a JMS message bridge in version 10.0 that is bridging a topic and a queue (topic-->queue). I'm running in a cluster and I want to make sure that the bridge is always running. The documentation implies that you can target a bridge to a