Simple question - tab delimited file to database

Ask a Question related to Macromedia ColdFusion, Design and Development.

  1. #1

    Default Re: Simple question - tab delimited file to database

    I have a question regarding the solution that you have provided here.

    I have a similar file that when reading the tab delimited line I may have as
    many as 60 blank fields at a time. When using the solution that you have
    recommended here it catches every other blank tab delimited field. for
    example: tab" "tab" "tab" "tab" "tab" "tab will only return three of the values
    that I sub in for the blank space, where as it should be returning five.

    Thoughts of how to resolve this?

    Thanks in advance.

    robstacey Guest

  2. Similar Questions and Discussions

    1. Reading a Comma Delimited File
      Hello all, So as the title says, I need to read a comma delimited file generated by MS Excel. I know that by doing GetListAt() or ListLen()...
    2. simple search database question
      can anyone point me in the right direction as how to create a search page that users can type into to pull up matching records from my database, im...
    3. Parsing pipe delimited file
      Hello everyone, Thanks to everyone who helped with my last problem last week. I've hit a snag in another problem this week. I need to parse...
    4. Read tab delimited file into an array with ASP
      Hi, Sorry if this has been asked before(I searched, but didn't see anything). I need to read a tab delimted file into an array with ASP. Should...
    5. General Delimited String Syntax Question
      The "Programming Ruby" books says in the section "General Delimited Input" Following the type character is a delimiter, which can be any...
  3. #2

    Default Re: Simple question - tab delimited file to database

    In response to my own question; you just use the above replace statement (and
    accompanying cfif statements) twice or I found a little function that will do
    all the work for you and then dump everything into an array.

    The function is GetTabTextFeed and can be located at:
    [url]http://www.cflib.org/udf.cfm?ID=855[/url].


    robstacey Guest

Posting Permissions

  • You may not post new threads
  • You may post replies
  • You may not post attachments
  • You may not edit your posts

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139