Results 1 to 2 of 2

Thread: Deleting from a text file

  1. #1

    Thread Starter
    Addicted Member Skeen's Avatar
    Join Date
    Jul 2000
    Location
    Abingdon, Oxon
    Posts
    138

    Wink

    Hiya,

    Can anyone tell me if it is possible to open a text file, delete some lines ( but not all Lines ) of text using a leading character as the marker, before sending to a database?

    Cheers skeen
    "It wasn't the booze that made me snooze, It was the Gin that did me in!"

  2. #2
    _______ HeSaidJoe's Avatar
    Join Date
    Jun 1999
    Location
    Canada
    Posts
    3,946

    <?>

    Using Line Input read the file into an array
    Then Redim preserve the array and omit any element
    starting with your character.
    then load the array into your field or file.

    "A myth is not the succession of individual images,
    but an integerated meaningful entity,
    reflecting a distinct aspect of the real world."

    ___ Adolf Jensen

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