Results 1 to 2 of 2

Thread: Tranfering data from text file

  1. #1

    Thread Starter
    New Member
    Join Date
    Sep 2000
    Posts
    4

    Unhappy


    I am having a bit of a problem, perhaps someone might have a few ideas.....
    I am trying to convert data from a txt file which is in the following format:

    "143" "2007800002" 6 "0009924" "04105"
    "L2/BUP12461" 2 "" "BUP12461" "L2 BUP12461:PAR WOORIM" "" ""

    The data comes in pairs of lines like above and I can have up to 5000 of these in the one file that needs to be converted. The feilds are separated by a space. The feilds marked with "" are strings and ones without are integers. The tricky part now is that the table that the second line is to be converted is represented by the third feild of the top line (this feild is not placed in the database)

    Any insight you can give towards this problem would be greatly appreciated

    Regards
    Clayton Read
    [email protected]

  2. #2
    Fanatic Member gwdash's Avatar
    Join Date
    Aug 2000
    Location
    Minnesota
    Posts
    666
    See my reply to your email
    GWDASH
    [b]VB6, Perl, ASP, HTML, JavaScript, VBScript, SQL, C, C++, Linux , Java, PHP, MySQL, XML[b]

Posting Permissions

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



Click Here to Expand Forum to Full Width