Combine Text (tab delimted) files, if there is a duplicate do calculation

I'm just taking a shot here, to see if you could help. . I have two text files (tab delimted), I need to combine them into a single file. But here's the kicker, I have 3 columns, Name, Number, Number (see example below). If File #1 has a line that exists in File #2 I want to just add the numbers. So long story short, if there is a duplicate name, then just add the #'s.
Example,
File #1
Andrew, 0, 2
John, 2, 4
Fred, 5, 2
Ben, 2, 5
File #2
Andrew,1,3
Craig, 2, 4
Ben, 3, 5
Sam, 4, 1
Got any ideas on how to accomplish this? Do I learn apple script? Apple Automator ? Excel Macro?
Anyways, thanks if you can help.
Thanks,
Andrew

I'm just taking a shot here, to see if you could help. . I have two text files (tab delimted), I need to combine them into a single file. But here's the kicker, I have 3 columns, Name, Number, Number (see example below). If File #1 has a line that exists in File #2 I want to just add the numbers. So long story short, if there is a duplicate name, then just add the #'s.
Example,
File #1
Andrew, 0, 2
John, 2, 4
Fred, 5, 2
Ben, 2, 5
File #2
Andrew,1,3
Craig, 2, 4
Ben, 3, 5
Sam, 4, 1
Got any ideas on how to accomplish this? Do I learn apple script? Apple Automator ? Excel Macro?
Anyways, thanks if you can help.
Thanks,
Andrew

Similar Messages

  • Text Tab delimited file-Strcuture-validation

    Hi Folks,
    1.Is there a way to check whether the file is text tab delimited or not,programatically ?
    2.can we check whether the data in the text tab delimited file is in line with the structure of the internal table into which it is going to be uploaded ?
    Thanks,
    K.Kiran.

    hi try this
    DO.
    READ DATASET p_ufile INTO in_file.
    IF sy-subrc <> 0.
    EXIT.
    ENDIF.
    APPEND in_file.
    CLEAR in_file.
    ENDDO.
    CLOSE DATASET p_ufile.
    LOOP AT in_file.
    SPLIT in_file AT c_tab INTO
    wa_citm_b-type
    wa_citm_b-vbeln
    wa_citm_b-posnr
    wa_citm_b-uepos.
    wa_citm_b-matnr
    lv_menge
    wa_citm_b-arktx
    wa_citm_b-vbegdat
    wa_citm_b-venddat
    wa_citm_b-prctr
    wa_citm_b-zterm
    wa_citm_b-faksp
    wa_citm_b-taxm1
    wa_citm_b-vlaufz
    wa_citm_b-vlauez
    wa_citm_b-vlaufk
    wa_citm_b-vkuegru
    wa_citm_b-bstkd
    wa_citm_b-bstdk
    wa_citm_b-posex
    wa_citm_b-bstkd_e
    wa_citm_b-bstdk_e
    wa_citm_b-period.
    IF NOT wa_citm_b-posnr CA sy-abcde.
    APPEND wa_citm_b TO lt_citm_b.
    ENDIF.
    ENDLOOP.

  • Upload tab delimted file without using GUI_UPLOAD

    hi gurus,
    my requirement is I have to upload a Tab - delimited text file into a internal table. this should happen as a background job due to which, I cannot use GUI_UPLOAD.
    please provide me with code snippets using open dataset and close dataset.
    points will be awarded for best code!

    Hello,
    Check this sample.
    CONSTANTS: CON_TAB TYPE X VALUE '09'.
      OPEN DATASET P_FILE FOR OUTPUT IN TEXT MODE.
      IF SY-SUBRC = 0.
    loop at g_T_outtab.
            CONCATENATE G_T_OUTTAB-VBELN
                        G_T_OUTTAB-POSNR
                        G_T_OUTTAB-VKBUR
                        L_F_POSID
                        G_T_OUTTAB-BSTKD
                        L_F_NETWR
                        L_F_ERDAT_OR
                        L_F_ERDAT_IN
                        G_T_OUTTAB-VBELN_IN
                        L_F_ERDAT_DE
                        G_T_OUTTAB-VBELN_DE
                        INTO OUTPUT
                        SEPARATED BY CON_TAB.
          TRANSFER OUTPUT TO P_FILE.
    endloop.
    endif.
      CLOSE DATASET P_FILE.
    Cheers,
    Vasanth

  • Trying to combine folders within LR4 from two separate drives without creating duplicates--sometimes it won't let me transfer to destination folder because it says files are there when they are not; other times, allows duplicates to transfer

    Trying to consolidate 261K+ of images within LR4 between two drives.  Someone who was "helping" me with my Library in LR4 for some reason took some but not all of the file folders from my main backup drive (M) and duplicated them onto a partitioned hard drive (E) directly on the computer.  The duplication is huge, so I am trying to condense them all back onto the original backup drive M, particularly since I believe there are also folders on the partitioned backup drive E that do not appear on the main one M, and there are many more file folders on M that are not on E, so that is the destination drive.
    CONSOLIDATION:  When I try to drag either the file folders or the individual files from the duplicate drive E to the original drive M to combine the two drives since the folders in many cases for some reason are not identical, sometimes LR4 says the files already exist when they clearly don't. Other times it allows me to drag and drop all files, even if the exact duplicates are already on the destination drive, thereby doubling the number of files per image and creating more duplicates.  Right now I am opening each file folder on the duplicate drive E, looking at what extensions and file names are there, scrolling to the original drive, making sure they appear to be identical, then going back to the duplicate drive E, deleting the images in the folder, removing the folder, and moving to the next folder on the duplicate drive E.  *There has got to be a simpler way.*
    CONSOLIDATION APPROACH: I did start to create file folders names A, B, C and group file folders under them to reduce clutter, since those header folders can be closed down when not in use, but now I am wondering if I should have done that alphabetization to the main backup drive rather than to the partitioned backup drive.
    My goal is to consolidate the two drives down to one, delete as many images along the way that I know I will never miss, then backup the catalog and export it to an external drive and then copy that to yet another drive for offside storage.  Does this sound like the proper plan?  Last time it took almost 24 hours and over a terabyte to export the catalog.
    DUPLICATION:  I also have many file folders that have the exact same image in them.  One portfolio image may actually be in eight different folders, with the exact file, file name, file size, and date, even though I always have checked "no duplicates on import,"  How can this be? What is the best way to sort through duplicates?  Why are the files in some of the duplicate folders not in numerical order? If I do a search and call up a file # and find 15 duplicates, the only way I can find where those duplicates reside is to take each duplicate, right click to Locate Folder in Library, then once I find it, I have to go back to All Photographs>Text.search for file #, go to the second duplicate, right click to Locate Folder in Library, then once I find it, I have to do it all again.  Is there a simpler way to see all the occurrences in their respective folder locations at once?
    SEARCH BY FILE FOLDER NAME ONLY: I also find I can't search for a file using a folder name (for example, "John_Doe").  I can only search by file #, keywords, or camera/lens/date, etc.  Why will it not work to use All Photographs>Text>search for Doe? In other words, if I didn't keyword the individual files as John Doe, I can't search for them by that moniker.
    BACKUP:  It also appears that the only way I can back up the catalog is to shut down LR.  Really?!
    FOLDER LIST PRINTOUT: Is there a way to print out the Folder list (other than a screen shot)? I have so many file folders on each drive since I sort not by Year/Month/Date but by subject. It makes trying to compare duplicate folders quite unwieldy. 
    SLOW RESPONSE:  And finally, as though that weren't enough, why does LR4 continually blink to a white screen after each keystroke?  Takes forever just to be able to click through images, view info after hovering, etc. All other programs are closed down and the operating system shows very little memory being used.

    A brief and probably non-helpful answer: I know of no way to eliminate your large amount of duplicates other than by repetitive, tedious manual effort.
    *There has got to be a simpler way.*
    I hope you're right, but I don't think there is a simpler way.
    BACKUP:  It also appears that the only way I can back up the catalog is to shut down LR.  Really?!
    Yes, really

  • Large line to internal tables from  tab delimited file

    Dear All
    I am trying to upload the large file of tab delimited data into a SAP internal table. I am basically stuck with the fact that there are multiple lines and multiple columns in tab delimited file. There are around 300 columns which are tab delimited and separated
    For e.g  (* indicates tab)
    1material*****************1**9888**********5**********34*********3*********346************************-->upto 5000 columns
    1material*****************1**99338************4***********************************6************7************-->upto 5000 columns
    1material*****************1**22888********************5*********7*********************6*****7**************-->upto 5000 columns
    1material*****************1**44844************************5***5*********************************************-->upto 5000 columns
    1material***********34****1**54*******33********33*****33**************************************************-->upto 5000 columns
    1material*****************1**99888*****************************************************************************-->upto 5000 columns
    below upto 500 rows or more
    I want to read this file into a columner internal table.
    I am trying several ways . I have file on APP server. However Line breaks after 1024 characters or comes on another line.
    Currently I am not able to load it in single line of internal table. The structure of file is dynamic .. not static
    Amol

    Hi Amolsonaikar,
    you may try like this:
    TYPES:
      begin of line,
        t_field type table of string,
      end of line,
      t_line type table of line.
    DATA:
      lt_line  type t_line,
      lv_line type string,
      lt_field type table of string.
    open dataset 'XYZ' for input in text mode encoding default.
    while sy-subrc = 0.
      read dataset into lv_line.
      split lv_line at '|' into lt_field.
      append lt_field to lt_line.
    endwhile.
    Regards,
    Clemens

  • Issue related to Excel to Text tab delimited conversion

    Hi,
    I am facing a strange issue in converting an excel file to a text tab delimited file. I have an excel sheet which contains two columns:
    vendor         new_zip
    153357      99645-6340
    162642         99669-7631
    $209930-1   91320-1201
    $209989-1   91710-5766
    When i save this file as a text tab delimited file  this is how it turns into:
        vendor  new_zip
        153357  99645-6340
        162642  99669-7631
        $209930-1     91320-1201
        $209989-1     91710-5766
    i am using WS_UPLOAD since i am not using the enterprise version of SAP. In the above mentioned u can see that the zip values(first character) of the first two records and the vendor numbers(last character) of the last two records get in line with each other. so when i load this file it gives a "File open error" exception. if i move the zip codes of the first two records by one space so that they are not in line with the vendor numbers of the last two records the file uploading happens fine. but this is something which cant be done from the user point of view. so can anyone tell as to what can be done without changing the concept of using text tab delimited file and aviod this problem?
    thanks & regards,
    Bala.

    The following program uses alsm_convert_excel_to_internal_table.but i want to use split at tab delimiter.pls help.
    REPORT ZSAINAL_BDC_TRAN .
    *INCLUDE BDCRECX1.
    *definition of selection screen
    SELECTION-SCREEN BEGIN OF BLOCK bl1 WITH FRAME .
    SELECTION-SCREEN BEGIN OF BLOCK bl2 WITH FRAME TITLE text-t01.
    SELECTION-SCREEN SKIP.
    SELECTION-SCREEN BEGIN OF LINE.
    SELECTION-SCREEN COMMENT 10(20) text-c01.
    SELECTION-SCREEN END OF LINE.
    SELECTION-SCREEN SKIP.
    SELECTION-SCREEN BEGIN OF LINE.
    SELECTION-SCREEN COMMENT 10(10) text-c02.
    SELECTION-SCREEN POSITION 22.
    PARAMETERS: p_txt RADIOBUTTON GROUP grp1 DEFAULT 'X'.
    SELECTION-SCREEN COMMENT 30(12) text-c03.
    SELECTION-SCREEN POSITION 46.
    PARAMETERS: p_xls RADIOBUTTON GROUP grp1 .
    SELECTION-SCREEN END OF LINE.
    SELECTION-SCREEN SKIP.
    SELECTION-SCREEN END OF BLOCK bl2.
    *PARAMETERS
    PARAMETERS ctumode LIKE ctu_params-dismode DEFAULT 'A'.
    PARAMETERS cupdate LIKE ctu_params-updmode DEFAULT 'S'.
    SELECTION-SCREEN SKIP.
    SELECTION-SCREEN END OF BLOCK bl1.
    *DATA
    DATA : bdc_data LIKE STANDARD TABLE OF bdcdata INITIAL SIZE 10
           WITH HEADER LINE.
    *DATA: bdc_tab LIKE TABLE OF bdcdata INITIAL SIZE 0 WITH HEADER LINE.
    *Internal table to get legacy data records structured in
    *target format
    DATA: BEGIN OF inrec OCCURS 0,
              lifnr LIKE lfa1-lifnr,
              name1 LIKE lfa1-name1,
              stras LIKE lfa1-stras,
              ort01 LIKE lfa1-ort01,
          END OF inrec.
    *Internal table of structure ALSMEX_TABLINE suitable for
    *uploading records from an Excel worksheet
    DATA: it_excel TYPE STANDARD TABLE OF alsmex_tabline
                  INITIAL SIZE 0 WITH HEADER LINE,
          it_excel_dummy TYPE  alsmex_tabline.
    data: messtab like bdcmsgcoll occurs 0 with header line.
    DATA: L_MSTRING(480).
    DATA: L_SUBRC LIKE SY-SUBRC.
    *START-OF-SELECTION
    START-OF-SELECTION.
      PERFORM read_data.
      PERFORM populate_bdcdata.
    *START NEW SCREEN
    FORM bdc_dynpro USING program dynpro.
      CLEAR bdc_data.
      bdc_data-program  = program.
      bdc_data-dynpro   = dynpro.
      bdc_data-dynbegin = 'X'.
      APPEND bdc_data.
    ENDFORM.
    *INSERT FIELD
    FORM bdc_field USING fnam fval.
    IF FVAL <> NODATA.
      CLEAR bdc_data.
      bdc_data-fnam = fnam.
      bdc_data-fval = fval.
      APPEND bdc_data.
    ENDIF.
    ENDFORM.
    *&      Form  read_data
          text
    -->  p1        text
    <--  p2        text
    FORM read_data.
      IF p_txt = 'X'.
        CALL FUNCTION 'GUI_UPLOAD'
            EXPORTING
              filename                      = 'C:\URMILA.TXT'
             filetype                      = 'ASC'
             has_field_separator           = 'X'
      HEADER_LENGTH                 = 0
      READ_BY_LINE                  = 'X'
    IMPORTING
      FILELENGTH                    =
      HEADER                        =
            TABLES
              data_tab                      = inrec
       EXCEPTIONS
         file_open_error               = 1
         file_read_error               = 2
         no_batch                      = 3
         gui_refuse_filetransfer       = 4
         invalid_type                  = 5
         no_authority                  = 6
         unknown_error                 = 7
         bad_data_format               = 8
         header_not_allowed            = 9
         separator_not_allowed         = 10
         header_too_long               = 11
         unknown_dp_error              = 12
         access_denied                 = 13
         dp_out_of_memory              = 14
         disk_full                     = 15
         dp_timeout                    = 16
         OTHERS                        = 17
        IF sy-subrc <> 0.
          WRITE: /'ERROR UPLOADING TXT FILE FROM PRESENTATION SERVER!',
                 / 'RETURN CODE : ',sy-subrc.
    MESSAGE ID SY-MSGID TYPE SY-MSGTY NUMBER SY-MSGNO
            WITH SY-MSGV1 SY-MSGV2 SY-MSGV3 SY-MSGV4.
        ENDIF.
      ELSE.  "filetype is excel
    -read excel file into an int. table in row/col format--
        CALL FUNCTION 'ALSM_EXCEL_TO_INTERNAL_TABLE'
             EXPORTING
                  filename                = 'C:\URMILA.XLS'
                  i_begin_col             = 1
                  i_begin_row             = 1
                  i_end_col               = 4
                  i_end_row               = 3
             TABLES
                  intern                  = it_excel
             EXCEPTIONS
                  inconsistent_parameters = 1
                  upload_ole              = 2
                  OTHERS                  = 3.
        IF sy-subrc <> 0.
          WRITE: /'ERROR UPLOADING XLS FILE FROM PRESENTATION SERVER!',
                 / 'RETURN CODE : ',sy-subrc.
    MESSAGE ID SY-MSGID TYPE SY-MSGTY NUMBER SY-MSGNO
            WITH SY-MSGV1 SY-MSGV2 SY-MSGV3 SY-MSGV4.
        ELSE.
    --now fill data from it_excel into final legacy data itabinrec----
          IF NOT it_excel[] IS INITIAL.
            CLEAR inrec.
            REFRESH inrec[].
            LOOP AT it_excel.
              it_excel_dummy = it_excel.
              AT NEW col.
                CASE it_excel_dummy-col.
                  WHEN 1.
                    inrec-lifnr = it_excel_dummy-value(10).
                  WHEN 2.
                    inrec-name1 = it_excel_dummy-value(35).
                  WHEN 3.
                    inrec-stras = it_excel_dummy-value(35).
                  WHEN 4.
                    inrec-ort01 = it_excel_dummy-value(35).
                    APPEND inrec.
                    CLEAR inrec.
                ENDCASE.
              ENDAT.
             AT END OF row.
             ENDAT.
            ENDLOOP.
          ENDIF.
        ENDIF.
      ENDIF.
    ENDFORM.
    *&      Form  populate_bdcdata
      to populate BDCDATA table from legacy file data contained in
      internal table inrec.
    -->  p1        text
    <--  p2        text
    FORM populate_bdcdata.
      IF  not inrec[] IS INITIAL.
        LOOP AT inrec.
          CLEAR bdc_data.
          REFRESH bdc_data.
          PERFORM bdc_dynpro      USING 'SAPMF02K' '0106'.
          PERFORM bdc_field       USING 'BDC_OKCODE'
                                        '/00'.
          PERFORM bdc_field       USING 'RF02K-LIFNR'
                                        inrec-lifnr.
          PERFORM bdc_field       USING 'RF02K-BUKRS'
                                        '1000'.
          PERFORM bdc_field       USING 'RF02K-D0110'
                                        'X'.
          PERFORM bdc_dynpro      USING 'SAPMF02K' '0110'.
          PERFORM bdc_field       USING 'BDC_OKCODE'
                                        '=PF03'.
          PERFORM bdc_field       USING 'LFA1-NAME1'
                                       inrec-name1.
          PERFORM bdc_field       USING 'LFA1-SORTL'
                                        'ALLGEMEIN'.
          PERFORM bdc_field       USING 'LFA1-STRAS'
                                        inrec-stras.
          PERFORM bdc_field       USING 'LFA1-PFACH'
                                        '645793'.
          PERFORM bdc_field       USING 'LFA1-ORT01'
                                        inrec-ort01.
          PERFORM bdc_field       USING 'LFA1-PSTLZ'
                                        '12001'.
          PERFORM bdc_field       USING 'LFA1-ORT02'
                                        'COOK'.
          PERFORM bdc_field       USING 'LFA1-PSTL2'
                                        '76905'.
          PERFORM bdc_field       USING 'LFA1-LAND1'
                                        'DE'.
          PERFORM bdc_field       USING 'LFA1-REGIO'
                                        '11'.
          PERFORM bdc_field       USING 'LFA1-SPRAS'
                                        'DE'.
          PERFORM bdc_field       USING 'LFA1-TELF1'
                                        '06894/55501-0'.
          PERFORM bdc_field       USING 'LFA1-TELFX'
                                        '06894/55501-100'.
          PERFORM bdc_dynpro      USING 'SAPLSPO1' '0100'.
          PERFORM bdc_field       USING 'BDC_OKCODE'
                                        '=YES'.
          CALL TRANSACTION 'FK02'
                           USING bdc_data
                           MODE ctumode
                           UPDATE cupdate
                           MESSAGES INTO MESSTAB.
        ENDLOOP.
        perform mess_handling.
      ENDIF.
    ENDFORM.                    " populate_bdcdata
    *&      Form  mess_handling
          ERROR MESSAGE HANDLING IN CALL TRANACTION
    -->  p1        text
    <--  p2        text
    form mess_handling.
    tables:T100.
    LOOP AT MESSTAB.
            SELECT SINGLE * FROM T100 WHERE SPRSL = MESSTAB-MSGSPRA
                                      AND   ARBGB = MESSTAB-MSGID
                                      AND   MSGNR = MESSTAB-MSGNR.
            IF SY-SUBRC = 0.
              L_MSTRING = T100-TEXT.
              IF L_MSTRING CS '&1'.
                REPLACE '&1' WITH MESSTAB-MSGV1 INTO L_MSTRING.
                REPLACE '&2' WITH MESSTAB-MSGV2 INTO L_MSTRING.
                REPLACE '&3' WITH MESSTAB-MSGV3 INTO L_MSTRING.
                REPLACE '&4' WITH MESSTAB-MSGV4 INTO L_MSTRING.
              ELSE.
                REPLACE '&' WITH MESSTAB-MSGV1 INTO L_MSTRING.
                REPLACE '&' WITH MESSTAB-MSGV2 INTO L_MSTRING.
                REPLACE '&' WITH MESSTAB-MSGV3 INTO L_MSTRING.
                REPLACE '&' WITH MESSTAB-MSGV4 INTO L_MSTRING.
              ENDIF.
              CONDENSE L_MSTRING.
              WRITE: / MESSTAB-MSGTYP, L_MSTRING(250).
            ELSE.
              WRITE: / MESSTAB.
            ENDIF.
          ENDLOOP.
    endform.                    " mess_handling

  • Import text into a form from a tab delimited file using an action

    Good evening.
    I am using Adobe Acrobat XI Pro
    I have been working all weekend so far on this, and have tried many options.
    What I am wanting is to import a line of data from an excel file into a form, save the file with a name drived from the form fields, close the new file, then go back to the original file, import a line of data, and so on and so on.
    I had all of this working in livecyle with a tool, but now that we are going to Windows 8 and Microsoft Office 2013, the driver that I need to load the excel file into the form is not available--so now I have to redo the forms in Adobe and import using a tab delimited file.
    I would like to do this with an action.
    Thus far, I have the following.
    **Credit goes to George Johnson who helped me with the script to save the file using field names a few months ago**
    To start, I have a folder level script
    mySaveAs = app.trustPropagatorFunction(function(doc,path)
    app.beginPriv();
    var myDoc = event.target;
    myDoc.saveAs(path);
    app.endPriv();
    myTrustedSpecialTaskFunc = app.trustedFunction(function(doc,path)
    //privileged and/or non-privileged code above
    app.beginPriv();
    mySaveAs(doc, path);
    app.endPriv
    //Privileged and/or non-privileged code below
    For the Action, I start with the Form file loaded
    Then I execute a javascript to import the text into the file.
    this.importTextData("/c/data/clerical.txt");
    The next step is to save the file using field names as part of the file name
    --credit goes to George Johnson who assisted me with this on a similar project a few months ago.
    //Get the Field Value
    var fn=getField("Last").valueAsString + "-" + getField("First").valueAsString;
    //Specify the folder
    var fldr = "/c/data/";
    //Determine the full path
    var fp=fldr + fn + ".pdf";
    //save the file
    myTrustedSpecialTaskFunc(this, fp);
    That is as far as I have gotten. 
    What I want to do now is load the original form file, import the next line into the form, save the file, repeat.
    If anyone could assist me, I would greatly appreciate it.
    **note  I had to type this from my I-pad because I kept getting kicked off the internet from my computer.  I hope my code is typed correctly.

    George
    Thank you so much for your response.
    Yes--there are multiple lines in the data file--it will vary from month to month.  It looks like from what you are saying is that I need to do the global variable since it will constantly change, and then increment it as it goes through the text file.  When it reaches the end, then it will stop.
    I looked at the following links--but this is from Adobe 9 API--I don't know if things have changed with XI--especially since 9 used batch processing and XI has actions.
    Count PDF Files
    http://help.adobe.com/livedocs/acrobat_sdk/9.1/Acrobat9_1_HTMLHelp/wwhelp/wwhimpl/js/html/ wwhelp.htm?href=JS_API_AcroJS.88.1.html
    Global counter
    http://help.adobe.com/livedocs/acrobat_sdk/9.1/Acrobat9_1_HTMLHelp/wwhelp/wwhimpl/js/html/ wwhelp.htm?href=JS_API_AcroJS.88.1.html
    I am not exactly sure how to include this in my code.
    If you could point me in the right direction, I would appreciate it.

  • Running OCR on Combined document saves no text to .txt file

    I am scanning in a large 500 page document, running OCR on it and saving the data to a text file for my program to process.
    My network printer/copier/scanner can only read in about 70 pages at a time, so I scanned in as several PDF documents, which I saved to disk.
    I   Recognize Text in Multiple Files using OCR...   on all of the PDF documents, Saving-As Text (Accessable) and it all works fine. I can then combine the text files in a text processor.
    Then, I saw the Combine button, so I combined all of the PDF documents into a separate PDF file and ran OCR on it, but the resulting .txt file is blank!  If I run the OCR manually, I can highlight the extract text, but when I try to save as Text (Accessable), it still fails to save any data to the .txt file.
    Is this a known problem?
    I am running Adobe Acrobat 9 Pro - Version 9.4.5.
    Thanks.

    gilgad2000,
    It depends on your VI. If you are using the "Path Control" tool, you can open its "Browse Options" and write .txt at the Pattern box.
    If you are not using it, you can also concatenate a ".txt" string at the end of the file path (use "Strip Path", "Concatenate Strings" and "Build Path" functions) just before using it on the saving function.
    Message Edited by Danigno on 07-17-2009 03:18 AM
    Attachments:
    Snap1.png ‏3 KB

  • Is there a way to import/export tab delimited files to a table in Pages 2?

    It seems like Pages is starting to get funtionality that might help wean me off of Excel. In this vein, is it possible to import or export tab delimited files to a table in Pages 2?

    I had some success in Pages 1, but I've only tried a couple of times so far in Pages 2 without success. The trick was to make sure the table is the exact number of columns wide. It's very "klunky" but I've ended up converting the tab-delimited text to a table in AppleWorks, saving the AppleWorks file with the table as a "floating" object (fixed objects don't translate) & opening the file in Pages. It's quicker & easier for most of what I do to just drag & drop in Pages.
    Peggy

  • Discover Plus - Export to Text Tab delimited is not exporting all the rows

    Hi gurus,
    I am trying to export a large data report which has 1 million plus rows to text tab delimited. The export takes 9 plus hours to export and the data is not more than 100000.
    My question is
    1. How can I make the discoverer to export it quicker or rather faster to tab delimited.
    2. Where can I change the number of rows to be exported.
    Any help, suggestions is appreciated.
    Thanks,
    SAI

    Hi Rod,
    Yes. The text tab delimited export is taking lot of time. The total rows for this report are nearly 1 million. If I break down the report with condition and export it I was able to export it ( three files exported with 212000, 103000 and 687000 rows respectively).
    But I m still having problems exporting it in one shot. Is there any way I could resolve this? Please let me know.
    Thanks,
    SAI

  • More than 1 line of text when using text generator from file?

    hi
    have 8 line blocks of text to show onscreen.
    would like to use text generatorn>from file
    all they seem to print is one line.
    is there a work around?
    have trhied soft returns and paragraphs on saved text file.
    no change.
    anyonre know how to get 2 or more lines of text?
    thanks in addvance!

    Select the File generator layer and in the Inspector, select the Layout pane and in Layout controls, set the Layout Method to Paragraph.  Narrow your margins and the text will "flow" into multiple lines.
    You can also keyframe the paragraph layout position. [Probably more info than you want here.]
    That said, you can only display *one line* at a time per File Generator. (If you're up to date with Motion [v5.1.2], you can use more than one File generator.) The generator does not accept any other characters for returns other than newline and carriage return.
    I've never tried it, but thinking about it, you can set Tab stops in the Paragraph layout (double click in the layout rectangle and a ruler should appear over the top -- right click on the ruler to set tabs). If you go back into the original text file and where you need to break lines into two or more, setting a left tab stop in the layout very near the end of a line might force the tabbed text into the next line (did I make that clear enough??)

  • Formatting a tab delimited file

    Hello All,
    I am populating a tab delimited text file with data from a resultset and I'm having problems lining up the columns properly. I tried using tabs, but the variable length of some of the entries are messing up the positioning of the data. Is there a way to create tab delimited fixed length fields with column headers? or is there some better way to do this in general?
    Thanks,
    James

    I got it working using StringBuffers. Where I missed it was that the formatting of the text of the report originally didn't work under the
    code. It was being automatically formatted when it was passed as a message in an email under javamail. I had forgotten that Outlook will do that on it's own. When I tried to make the report an attachment, the defect in the formatting became apparent.
    I also got it working (better solution) using POI. That way the attachment is an .xls file, rather than tab-delimited file.
    FYI,
    James

  • Inserting a tab delimited file

    Hi there,
    I am inserting data into a database from text files. I can easily do this in sql with csv files but I need to be able to do it with tab delimited files. I know you can do this from the built in Oracle tool (I am using express edition) but I was wandering if anyone know how to write a script for it in sql.
    Any help would be greatly appreciated.
    Thanks

    If you are using SQL Loader to load the data use below syntex
    FIELDS TERMINATED BY X'9'
    The X'9' is Hexadecimal Format -> X
    and Hex 9 is the ASCII code of the TAB character.
    Check out the link for more details:
    http://asktom.oracle.com/pls/ask/f?p=4950:8:::::F4950_P8_DISPLAYID:533222350291
    Regards
    Arun

  • Export as Tab Delimited File

    Is there any methodology whereby a file can be exported, or saved, as a Tab Delimited File?
    Thanks

    Select All
    Copy
    Paste in a Pages document
    Export as text.
    Other way (my preffered one) :
    Select All
    Copy
    run this Script :
    --[SCRIPT clipboard2textFile]
    Enregistrer le script en tant que Script :clipboard2textFile.scpt
    déplacer le fichier créé dans le dossier
    <VolumeDeDémarrage>:Users:<votreCompte>:Library:Scripts:
    Copiez la table à exporter dans le Presse-papiers.
    menu Scripts > clipboard2textFile
    Le script créera un fichier TSV (valeurs séparées par TAB).
    --=====
    L'aide du Finder explique:
    L'Utilitaire AppleScript permet d'activer le Menu des scripts :
    Ouvrez l'Utilitaire AppleScript situé dans le dossier Applications/AppleScript.
    Cochez la case "Afficher le menu des scripts dans la barre de menus".
    +++++++
    Save the script as a Script :clipboard2textFile.scpt
    Move the newly created file into the folder:
    <startup Volume>:Users:<yourAccount>:Library:Scripts:
    Copy the table to export into the clipboard
    menu Scripts > clipboard2textFile
    The script will create a TSV file (Tab separated values).
    --=====
    The Finder's Help explains:
    To make the Script menu appear:
    Open the AppleScript utility located in Applications/AppleScript.
    Select the "Show Script Menu in menu bar" checkbox.
    +++++++
    Yvan KOENIG (VALLAURIS, France))
    2009/07/07
    2010/01/10 : Corrigé quelques coquilles dans les explications
    --=====
    on run
    try
    set enTexte to the clipboard as text
    set fName to (do shell script "date " & quote & "+_%Y%m%d-%H%M%S" & quote) & "." & "txt"
    set p2d to path to desktop
    tell application "System Events" to make new file at end of p2d with properties {name:fName}
    write enTexte to file ((p2d as text) & fName)
    on error
    if my parleAnglais() then
    error "The clipboard doesn’t contain text data. Maybe you selected a Numbers sheet !"
    else
    error "Le presse-papiers ne contient pas de données texte. Vous avez peut-être copié une feuille de Numbers !"
    end if
    end try
    end run
    --=====
    on parleAnglais()
    local z
    try
    tell application "Numbers" to set z to localized string "Cancel"
    on error
    set z to "Cancel"
    end try
    return (z is not "Annuler")
    end parleAnglais
    --=====
    --[/SCRIPT]
    Yvan KOENIG (VALLAURIS, France) mardi 16 février 2010 21:57:42

  • Download Tab Delimited file from spool!

    Hi Experts,
    Is there any way to download tab delimited txt file from spool?
    Spool is created for Statements and Invoices from Sap Script and Smartform which is in OTF format.
    I am able to download this in Text file but I need this file in tab delimited format.

    I don't understand what you want to do as it seems impossible : the spool contains miscellaneous data, not compatible with tab delimited files which are used to store 2-dimensional tables (columns, rows).

Maybe you are looking for

  • How to add main computer on iCloud

    I had my iMAc on  iCloud and  my iTunes account was hacked so I deaurthorized all my computers then added my main iMac to my iTunes account. Now all that shows up for devices for my iCloud is my iPad. So how do I get my iMac back on the list for devi

  • In OS X, cnet video not displaying controls. Works fine in Safari.

    I've noticed a problem with cnet video content. I use an iMac, OS X 10..7 The controls, play, pause, resolution, are missing (fuzzed out). An example is here: http://reviews.cnet.com/desktops/apple-imac-spring-2011/4505-3118_7-34662599.html Seems to

  • How to resolve "ORA-12516 in cluster"

    Hi, Getting below error while connecting to database using tns. "ORA-12516: TNS:listener could not find available handler with matching protocol stack" apl11764a001:ORA37a > tnsping ora37_ap TNS Ping Utility for Linux: Version 11.1.0.7.0 - Production

  • Google Postini outbound configuration with Office 365

    Hi all, My company is currently looking into Office 365 migration. Currently we have Exchaneg 2010 on-premise with Google Postini services for mail security and e-discovery. We are routing all inbound and outbound e-mail trough the Postini-service fo

  • Is it possible auto TO for movement type 561? if so, how ?

    Hello, Could  any one suggest whether auto TO possible or not for movement type 561? regards rk