Exporting in Character Separated Values

Post Author: AdamWelch
CA Forum: Exporting
Hello All,
     I'm trying to export a file in a Character Separated Values format using Crystal v8.5.  I had the group header exporting correctly, but the details do not export correctly.  When the details export, they do not move down to the next line correctly.  The first detail is added to the end of the group header section, but the remaining details all get their own line, which is what I need.  I've tried adding returns, and page breaks before and after section, but nothing seems to change the export.  Does anyone have any ideas how to fix this?  Thank you in advance for your help!
- Adam

It doesn't look like your tickets table is even in 1st normal form. This will cause you pain for the lifetime of your DB.
Simply store as
Id
Group
start_date
end_date
current_record_flag
1000
GRB
12/1/2012
Y
1000
GRD
14/03/2004
11/1/2012
N
1000
GRB
09/06/2001
13/03/2004
N
1001
GRB
01/07/2013
Y
1001
GRC
04/04/2011
30/06/2013
N
and so on.
start_date, end_date and current_record_flag are only suggestions. you might only be interested in the current group - not when an id was
associated with a group. you might not need the current record flag as you can infer it from there being a null end_date.
Hopefully you get the idea though.
Then your query becomes a doddle.

Similar Messages

  • Exporting Metadata (caption information) from JPEGS to a comma separated value (CSV) file

    Here is my dilemma. I am an archivist at an arts organization and we are in the process of digitizing many of our materials to post them on the web and make them available to internet users. One of the principle components of our collection is a large trove of photographs. We have been in the process of digitizing these images and embedding metadata (in the Caption/Description, Author/Photographer and Copyright fields) via PhotoShops File Info command.
    Now I am at a crossroads. We need to extract this metadata and transfer it into a comma separated value form, like an Excel spreadsheet or a FileMakerPro database. I have been told that it is not possible to do this through PhotoShop, that I must run a script through Acrobat or Bridge. I have no clue how to do this. I have been directed to a couple of links.
    First I was directed to this (now dead) link: http://www.barredrocksoftware.com/products.html
    The BSExportMetadata script allegedly exports the metadata from files selected in Adobe's Bridge into a comma separated value (CSV) file suitable for import into Excel, Access and most database programs. It installs as a Bridge menu item making it simple to use. The the Export Metadata script provides you with an easy to use wizard allowing you to select associated information about a set of images that you can then export. This script requires Creative Suite 2 (CS2). This script sounds like it does exactly what I want to do, but unfortunately, it no longer exists.
    Then I found this:
    Arnold Dubin, "Script to Export and Import Keywords and Metadata" #13, 8 Aug 2005 7:23 am
    I tried this procedure, but nothing seemed to happen. I also tried to copy the script into the JAVASCRIPT action option in Acrobat, but I received a message that the script had an error. It also seems to me that this script does not set up a dumping point, that is, a file into which this information will be exported to.
    I am a novice, not a code writer or a programmer/developer. I need a step-by-step explanation of how to implement this filtering of information. We have about 2000 jpeg and tiff files, so I would rather not go through each file and copy and paste this information elsewhere. I need to find out how to create a batch process that will do this procedure for me. Can anyone help?

    Hello -
    Is anyone aware of a tool that will do the above that is available for mac? Everything I've found so far seems to be PC only.
    Any help is appreciated, thanks!

  • HT2486 The selected file does not appear to be a valid comma separated values (csv) file or a valid tab delimited file. Choose a different file.

    The selected file does not appear to be a valid comma separated values (csv) file or a valid tab delimited file. Choose a different file.

    I guess your question is, "what's wrong with the file?"
    You're going to have to figure that out yourself, as we cannot see the file.
    Importing into Address book requires either a tab-delimited or a comma-delimited file. You can export out of most spreadsheets into a csv file. However, you need to make sure you clean up the file first.  If you have a field that has commas in the field, they will create new fields at the comma. So, some lines will have more fields than the others, causing issues like the error you saw.

  • Custom Document for Comma Separated Values in a JTextField

    Hi,
    I tried to create a custom structured Document implementation for comma separated values (on one line) in a JTextField:
    I want to have one LeafElement for each value (to store as an attribute the Object associated with this value). So, if I plug a DocumentListener to the JTextField, I can easily see which value(s) have been added/removed (see ElementChange).
    I used the PlainDocument implementation as a starting point and replaced the logic related to the '\n' character by the ',' (see #insertUpdate).
    Then I realized that the View must be customized too. So I created a View with a custom #paint method to draw each LeafElement on the same line.
    But, now, I try to fix the ElementChange returned by the #insertUpdate and #removeUpdate methods.
    Indeed, I played with a JTextArea with two lines "Bart\nisa" and plugged a debugging DocumentListener.
    And the event I get when I type 'L' before "isa" is really strange:
    - Two elements removed,
    - Two elements added.
    In the PlainDocument#insertUpdate, the code updates the 'offset' but I don't understand the logic behind.
    Could you explain me why I got this result?
    Could you give me an hint?
    Best Regards,
    El Barto.

    When you say the offset gets updated, I assume you're talking about this bit:
         int offset = chng.getOffset();
         int length = chng.getLength();
         if (offset > 0) {
           offset -= 1;
           length += 1;
         } The result is that, if a character is added at the very beginning or end of a line, the edit gets treated as a multi-line edit, which means the LeafElements on either side of the edit get removed and reconstructed. I discovered this behavior a few years ago, and I never have figured out what purpose it serves. I think you'll just have to try overriding the method to eliminate that behavior, and see what happens.

  • How can we export the Primary key values (along with other data) from an Advantage database?

    One of our customers is moving from our application (which uses Advantage Database Server) to another application (which uses other database technology). They have asked us to help export their data, so that they can migrate it to another database system. So far, we have used the Advantage Data Architect (ARC32) "Export Table Structures as Code" functionality to generate SQL. We used the "Include existing data" option. The SQL contains the necessary code to recreate the tables and indexes. The customer's IT staff will alter the SQL statements as necessary for their new system.
    However, there is an issue with the Primary Keys in these table. The resulting INSERT statements use AutoInc as the type for the Primary Key in each Table. These INSERT statements contains "DEFAULT" for the value of each of these AutoInc fields. The customer would like to output an integer value for each of these Primary Key values in order to maintain referential integrity in their new system.
    So far, I have not found any feature of ARC32 that allows us to export the Primary Key values. We had been using an older version of ARC32, since our application does not use the latest version of ADS. I did download the latest version of ARC32 (11.10), but it does not appear to include any new functionality that would facilitate doing this sort of export.
    Can somebody tell me if there is such a feature in ARC32?
    Or, is there is another Advantage tool to facilitate what we are trying to accomplish?
    If there are no Advantage tools to provide such functionality, what else would you suggest?

    George,
      It sounds like the approach you are using is the correct one. This seems to be the cleanest solution to me especially since the customer is able to modify the generated SQL statements for their new system.
      In order to preserve the AutoInc values I would recommend altering the table and changing the field datatype from AutoInc to Integer. Then export the table as code which will export the actual values. After the tables have been created on the new system they can change the field datatype back to an AutoInc type if necessary.
    Regards,
    Chris Franz

  • Error while running Configuration Wizard in SharePoint 2013: Exception in RefreshCache. Exception message :The '?' character, hexadecimal value 0x43A0, cannot be included in a name. Line 1, position 5694.

    Hi Friends,
    I was trying to run configuration wizard in SharePoint 2013 Central Administration and I got below error:
    Exception in RefreshCache. Exception message :The '?' character, hexadecimal value 0x43A0, cannot be included in a name. Line 1, position 5694.
    Yesterday my SharePoint server was running fine and today when I try to update a SharePoint solution (wsp) I got same error. Even if I try to do any operation
    in Central administration like adding new WSP, Updating WSP , I get same error.
    Does any one have any Idea?
    Regards
    Gireesh Painuly

    Posted this a few weeks back - would appreciate any suggestions?
    Thanks,
    Carl

  • Sharepoint 2007 list error - The '}' character, hexadecimal value 0x7D, cannot be included in a name. Line 1, position 440.

    Hi Everyone,
    We have a sharepoint 2007 deployment which in general has been fine since it was built.  
    Version is 12.0.0.6421 (MOSS 2007 SP2 (KB953334 & KB953338))
    on a Windows 2003 R2 SP2 server.
    We created a list a while back to store information for our servers but for some reason it now has an error.
    the symptoms are:
    1) Navigating to the list and choosing any view (a few custom views), we can see the data fine
    2)  Creating new items or modifying existing items brings up:
    An unexpected error has occurred.
    3) Trying to access the list settings brings up:
    An unexpected error has occurred.
    4) Using "view all site content" and clicking on the list brings up:
    The '}' character, hexadecimal value 0x7D, cannot be included in a name. Line 1, position 440.
    I've attempted to search for the error online but the error doesn't bring back anything specific to Sharepoint.
    My gut feeling is either a corruption of the list or a user has entered an invalid character in one of the list entries, but I cannot amend the list in any way.
    Ordinarily I would advise the user to re-create the list and enter the information from scratch, however this list contains alot of information and is crucial to the server teams documentation.
    Does anyone have any ideas on where I should be focusing my search efforts?  I did check the logs and couldn't see any obvious entries for this list.
    Any assistance would be greatly appreciated.
    Cheers,
    Carl

    Posted this a few weeks back - would appreciate any suggestions?
    Thanks,
    Carl

  • Comma Separated Value Taking too Much Time to Execute

    Hi,
    select ES_DIAGNOSIS_CODE DC from ecg_study WHERE PS_PROTOCOL_ID LIKE 'H6L-MC-LFAN'
    The above query returns comma separated value from the above query.
    I am using the query below to split the comma separated value but the below query is taking lot of time to return the data.
    SELECT
    select DC from (
    with t as ( select ES_DIAGNOSIS_CODE DC from ecg_study WHERE PS_PROTOCOL_ID LIKE 'H6L-MC-LFAN' )
    select REGEXP_SUBSTR (DC, '[^,]+', 1, level) DC from t
    connect by level <= length(regexp_replace(DC,'[^,]*'))+1 )
    Please suggest me is there any alternative way to do this comma separated value.
    Thanks
    Sudhir

    Nikolay Savvinov wrote:
    Hi BluShadow,
    I know that this function is fast with varchar2 strings from several years of using it. With CLOBs one may need something faster, but the OP didn't menion CLOBs.
    Best regards,
    NikolayJust because you perceive it to be fast doesn't mean it's faster than doing it in SQL alone.
    For starters you are context switching from the SQL engine to PL/SQL to call it.
    Then in your code you are doing this...
    select substr(v_str,v_last_break+1, decode(v_nxt_break,0,v_length, v_nxt_break-v_last_break-1)) into v_result from dual;which is context switching back from the PL/SQL engine to the SQL engine for each entry in the string.
    Why people do that I don't know... when PL/SQL alone could do it without a context switch e.g.
    v_result := substr(v_str,v_last_break+1, case when v_nxt_break = 0 then v_length else v_nxt_break-v_last_break-1 end);So, if you still think it's faster than pure SQL (which is what the OP is using), please go ahead and prove it to us.

  • Exporting audio files separately from video using a Mac

    Using a Mac computer, can you export audio files separately from video in Adobe Premiere Elements 11?  If so, how would I do that?
    Thanks as always.

    I worked through the instructions in the Classroom in a Book for exporting
    the video and the audio together and the audio separately, but I am not
    quite sure of some of what to check in some of the categories.  I would
    appreciate some guidance.  The purpose of sending this project is to have
    my son clean up the sound.
    highlighted MPEG
    Presets:  NTSC DVD Standard
    File:  Speaking Out for Healthcare for Everyone-51.prel
    Save In: /Users/Barb/Desktop/New York State Single Payer/Healthcare
    Stories/Videos
    Advanced:  clicked on
    Preset:  NTSC DVD Standard  Or should it be widescreen
    Audio Format Settings
    Audio Format:  Dolby Digital  (Don't know what to check)
    Basic Audio Settings
    Codec:  Dolby Digital
    Audio Layer:  Dolby Digital Stereo
    Frequency:  48 kHz
    Bitrate Settings:
    Bitrate (kbps):  Don't know what to check.  It shows up as 192
    Thanks.  I don't know what I would do without this community.
    barb

  • Enable comma separated values (CSV) output

    I am trying to figure out how to (Enable comma separated values (CSV) output ) for a report. Do you have an example or info on how to do that?

    Can you provide an example on how you completed the setup? I am in the same boat but can't find an example to this subject

  • Import data from tsv (tab separated values) file

    I have a large tab separated values file that I want to import into an oracle table so I can a) run queries on this data and b) split into smaller and more manageable files.
    I'm very new to Oracle. I have installed 10g XE and sql_developer.
    This tsv file has 3,684,011 rows. Maybe it could be imported into an Access DB then into Oracle, but that seems like extra work??

    I have a text.tsv file (Google calls it a csv, but
    that's their error) which I feel I should be able to
    just drop onto AW and have it open in a spreadsheet.
    All I get is a couple of odd characters in the A1
    cell.
    Try dropping the file onto an open AppleWorks word processor document. If it is indeed a tab delimited text file, with no internal formatting information, you should then be able to copy it and paste into a spreadsheet.
    Your comment regarding "a couple of odd characters in the A1 cell" indicates to me that there's more than simply text, tabs and returns in the file. If that's the case, you should be able to see the extra (often odd) characters in the WP document. If so, toggle 'Show invisibles' to on by pressing command-; (semi colon), then copy only the relevant text, tabs (will show as a right pointing arrow) and returns (will show as a reversed L haped arrow pointing left), and paste that block into your spreadsheet.
    Regards,
    Barry

  • Sapscript MAIN window and character separation

    Hi all
    We have encountered two issues, when we create Form painter.
    How we want to create the form is below.
    Display 6 fileds below at the top of the paper and at the bottom of the paper with correct character separation.
    &REGUP-BELNR&      &REGUP-XBLNR&     &REGUP-BLDAT&      &REGUD-WRBTR&      &W_WSKTO(16T)&     &REGUD-WSKTO&
    <Ideal Form>
                                        Check
    *ACC doc#54321 Invoice#12345 Date2009/01/01 Amount in invoice1000 Discount30 Sum970*
    *ACC doc#54322  "blank"          Date2009/01/02 Amount in invoice1000 Discount00 Sum1000*
    *ACC doc#54323 Invoice#12347 Date2009/01/03 Amount in invoice1000 Discount00 Sum1000*
    ########CHECK DETAIL INFORMATION at the middle part##########
                                                                                    Total Check Amount
                                         MICR FONT
    *ACC doc#54321 Invoice#12345 Date2009/01/01 Amount in invoice1000 Discount30 Sum970*
    *ACC doc#54322  "blank"          Date2009/01/02 Amount in invoice1000 Discount00 Sum1000*
    *ACC doc#54323 Invoice#12347 Date2009/01/03 Amount in invoice1000 Discount00 Sum1000*
    <Issue>
    1. We cannot display two main windows.
    What we want to realize is
    print 6 fields 2 times in the same form like labels. but right
    ex)Display 6 fileds below at the top of the paper and at the bottom of the paper
    &REGUP-BELNR&      &REGUP-XBLNR&     &REGUP-BLDAT&      &REGUD-WRBTR&      &W_WSKTO(16T)&     &REGUD-WSKTO&
    <Issue 1>
    In below, the bottom part (MAIN01) is blank and nothing comes up
                                        Check
    MAIN00----
    *ACC doc#54321 Invoice#12345 Date2009/01/01 Amount in invoice1000 Discount30 Sum970*
    *ACC doc#54322 Date2009/01/02 Amount in invoice1000 Discount00 Sum1000*
    *ACC doc#54323 Invoice#12347 Date2009/01/03 Amount in invoice1000 Discount00 Sum1000*
    ########CHECK DETAIL INFORMATION at the middle part##########
                                                                                    Total Check Amount
                                         MICR FONT
    MAIN01----
    2.When one field is blank, the character separation become different in each row.
    ex) In below, doc#54322 has no Invoice# then character space for Invoice# is not blanked but the
    space between ACC doc# and Date got really tight
    <Issue 2>
    MAIN00----
    *ACC doc#54321 Invoice#12345 Date2009/01/01 Amount in invoice1000 Discount30 Sum970*
    *ACC doc#54322 Date2009/01/02 Amount in invoice1000 Discount00 Sum1000*
    *ACC doc#54323 Invoice#12347 Date2009/01/03 Amount in invoice1000 Discount00 Sum1000*
    ########CHECK DETAIL INFORMATION at the middle part##########
                                                                                    Total Check Amount
                                         MICR FONT
    MAIN01----
    If you know the solution, please let me know
    Best regard Masanobu Kubota
    Edited by: Koji Yamada on Jan 8, 2009 5:59 AM
    Edited by: Koji Yamada on Jan 8, 2009 6:00 AM
    Edited by: Koji Yamada on Jan 8, 2009 6:02 AM

    Hi,
    As per my understanding of the question,
    As u need two different pages, i.e. one with a single window n other with 2 windows:
    In script create 2 pages:
    1.Page1 have main window and sub window
    2.Page2 have only main window.
    Now in driver program,
    call function open-form.
       when scenario 1
          call function start-form for page1
               call function write-form etc.....
          call function end-form
       when scenario 2
          call function start-form for page2
               call function write-form etc.....
          call function end-form
    call function close-form.
    Hope its clear.
    Plz revert back if u get any doubts.

  • Download tsv (tab separated values) to Appleworks spreadsheet

    Previously was able to download data from an AOL portfolio directly into an Appleworks 5 spreadsheet operating an iMac with OS 9. Now using OS 10.4.6 and Appleworks 6.2.9 on a Mac Mini none of the AOL options work. The other options for download are csv (comma separated values), qif (Quicken) and asc (Metastock).
    Mac Mini   Mac OS X (10.4.6)  
    Mac Mini   Mac OS X (10.4.6)  

    I have a text.tsv file (Google calls it a csv, but
    that's their error) which I feel I should be able to
    just drop onto AW and have it open in a spreadsheet.
    All I get is a couple of odd characters in the A1
    cell.
    Try dropping the file onto an open AppleWorks word processor document. If it is indeed a tab delimited text file, with no internal formatting information, you should then be able to copy it and paste into a spreadsheet.
    Your comment regarding "a couple of odd characters in the A1 cell" indicates to me that there's more than simply text, tabs and returns in the file. If that's the case, you should be able to see the extra (often odd) characters in the WP document. If so, toggle 'Show invisibles' to on by pressing command-; (semi colon), then copy only the relevant text, tabs (will show as a right pointing arrow) and returns (will show as a reversed L haped arrow pointing left), and paste that block into your spreadsheet.
    Regards,
    Barry

  • Name cannot begin with the '\"' character, hexadecimal value 0x22

    I am trying to create Calculated Column in SharePoint Document Library using Client Object Model.
    However getting following error while executing FieldSchema:
    Name cannot begin with the '\"' character, hexadecimal value 0x22
    Code:
     var calculated = "Calculated";
     var displayName = "Effective Date";
     var internalName = "Effective Date";
     var formula = "=IF(ISBLANK(Col_DocumentEffectiveDate),\"\",TEXT(Col_DocumentEffectiveDate,\"DD-Mmm-YYYY\"))";
     List lib = clientContext.Web.Lists.GetByTitle(docLibName);
     clientContext.Load(lib);
     clientContext.ExecuteQuery();
    string fieldSchema = "<Field Type=\"" + calculated + "\" DisplayName=\"" + displayName + "\" Name=\"" +internalName+ "\" Formula=\"" + formula + "\"
    />";
    lib.Fields.AddFieldAsXml(fieldSchema, true, AddFieldOptions.AddFieldInternalNameHint);
    clientContext.ExecuteQuery();
    Code does't work if i replace quotation marks("\) in Formula with "&quot;"
    Could someone help with issue?

    Hi,
    I suggest you take the code below which works in my environment to do the test again:
    ClientContext clientContext = new ClientContext("http://sp/");
    List list = clientContext.Web.Lists.GetByTitle("List2");
    FieldCollection fields = list.Fields;
    clientContext.Load(fields);
    clientContext.ExecuteQuery();
    var displayName = "Cal2";
    var formula = "=IF(ISBLANK([Created]), \"\" , TEXT([Created], \"DD-Mmm-YYYY\"))";
    var fieldSchema = "<Field Type='Calculated' DisplayName='" + displayName + "' ResultType='Text'><Formula>" + formula + "</Formula></Field>";
    fields.AddFieldAsXml(fieldSchema, true, AddFieldOptions.DefaultValue);
    clientContext.ExecuteQuery();
    Feel free to reply if the issue still exists.
    Best regards
    Patrick Liang
    TechNet Community Support

  • The '\' character, hexadecimal value 0x5C, cannot be included in a name. Line 1, position 29.

    Hi,
     Please guide i sve username="kpsoft/mahemd". It has write suceesfully but when try to read, this error raised "The '\' character, hexadecimal value 0x5C, cannot be included in a name. Line 1, position 29.". Please guide me. 

    Hi,
    I suggest you provide more information(likethe code) for further research.
    If the question is not relate to SharePoint, you can post it to a suitable Forum, you will get more help and confirmed answers from there.
    Best Regards
    Dennis Guo
    TechNet Community Support

Maybe you are looking for

  • Adding attachments to objects

    I'm looking for a way of attaching a simple note to a service notification. I'm guessing that SO_ATTACHMENT_INSERT is the right function to use - is that correct? If so, what do I need to use as the object_id to reference the notification (this is a

  • How can I generate synchroniz​ed pulse trains with 6602?

    Hi, I would like to generate multiple pulse trains with different frequencies with the 6602 TIO card. Currently I am able to generate pulse trains with different frequencies. But is there any way to synchronize all the pulse trains? For example, I'd

  • Liquify and ATI Drivers on an iMac.

    Hello, This is driving me insane, so i would appreciate any help at all. There is a SERIOUS problem with PS CS6 and ATI HD 5750. Liquify tool does not work... Here are the details: iMac i7 16 GB RAM Graphics  ATI Radeon HD 5750 1024 MB Software  Mac

  • What is THE best video file format to import into Premiere Pro CS6?

    What is THE best video file format to import into Premiere Pro CS6? I am tired of the guess work of "this might work if you do this." Just tell me which is, flat out, the easiest for Premiere to read?? I generally animate in Adobe Flash, and some tim

  • Migrating Filters through Hyperion Shared Services

    Hii, I have users defined on HSS 9.3.1 & I need to upgrade those to 9.3.3. I have some filters defined on the user as well. When I upgrade these users to 9.3.3 using CSSImportExportutility, I am not able to migrate the filters defined on the applicat