Ask a Question related to FileMaker, Design and Development.

  1. #1

    Default data manipulation

    I am working on WinXP and using FileMaker 6.04

    I have a fairly large amount of data in a text file, Massachusetts
    Insurance Agents, that looks like the following:

    Name
    Company Name
    Address
    City, State Zip
    Phone
    Fax
    email address
    web site

    Name
    Company Name
    Address
    City, State Zip
    Phone
    Fax
    email address
    web site

    ...... this list view of data continues for thousands of records.

    My goal is to move this text file data into a contact database. I have
    tried manipulating the data into some sort of table format that can be
    imported into FileMaker, with no success.

    I have a sickening feeling that this is just going to be a lot of time
    consuming work, but thought it might be worth an ask if anyone has had
    some level of success doing something like this before.

    Even partial automation would be a blessing at this point.

    Many thanks in advance for any help.

    Michael Myett

    Michael Myett Guest

  2. Similar Questions and Discussions

    1. Date Manipulation
      hi list, i'd like to try a first perl-script that should: -define todays date -define todays date minus one week -find in a special directory...
    2. Data Manipulation Techniques
      Hi, I am working on an Application that pulls data from a variety of tables. I would like to run monthly reports and all of the queries will change...
    3. Old ASP - data manipulation
      Hi all, My application is based on old ASP (not .NET). I have a page which should display several DB records and allow inserting/updating/deleting....
    4. String manipulation
      Hi! I am trying to figure out a simple, Perl way to break down any sting similar to the following: $s0 =...
    5. crontab manipulation from php
      Maybe someone can give me a short help with this... I got a server application in a LAMP environment doing batch tasks. A cronjob serves as a...
  3. #2

    Default Re: data manipulation

    In article <dEHmb.6956$1C5.3927@nwrdny02.gnilink.net>, Michael Myett
    <michael.myett@verizon.net> wrote:
    > I am working on WinXP and using FileMaker 6.04
    >
    > I have a fairly large amount of data in a text file, Massachusetts
    > Insurance Agents, that looks like the following:
    >
    > Name
    > Company Name
    > Address
    > City, State Zip
    > Phone
    > Fax
    > email address
    > web site
    >
    > Name
    > Company Name
    > Address
    > City, State Zip
    > Phone
    > Fax
    > email address
    > web site
    >
    > ..... this list view of data continues for thousands of records.
    >
    > My goal is to move this text file data into a contact database. I have
    > tried manipulating the data into some sort of table format that can be
    > imported into FileMaker, with no success.
    >
    > I have a sickening feeling that this is just going to be a lot of time
    > consuming work, but thought it might be worth an ask if anyone has had
    > some level of success doing something like this before.
    >
    > Even partial automation would be a blessing at this point.
    >
    > Many thanks in advance for any help.
    >
    > Michael Myett
    First: MAKE A COPY OF THE FILE!!!! And only "play" with the copy, NOT
    the original.


    If the file isn't "too" big, then you could open it up into something
    like MS Word and do a couple of Find / Replaces to transform the data
    into something better.

    First Find all 'CR CR' (ie. two line returns, just copy them from the
    document and paste them into the Find window) and replace them with
    something not likely to be elsewhere in the text (eg. *-*-*).

    Next Find all 'CR' (ie. one line return) and replace it with a Tab
    (again, copy / paste both of these).

    Lastly Find all *-*-* and re-replace them with a single 'CR'.

    'Save As' the file TO A NEW NAME as Text format. You've now got a text
    file using tabs to separate field data and returns to separate each
    record ... and that should import into a FileMaker database with no
    problems.


    *BUT*
    This will only work if the original lines in the text file (eg.
    address) don't already contain tabs in the middle. Otherwise you'll
    need to do some more Find / Replace playing to get rid of those first.

    If the original lines contain line returns in the middle, then you're a
    bit stuck and may have to go through manually removing those first.



    It might take a while to Find / Replace and import if the file is
    REALLY big - you might want to also do a Save As to a new filename in
    between each step if you're using Word since it's notoriuos for
    crashing just when you don't want it to.



    Helpful Harry
    "Just trying to help whenever I can." :o)
    Helpful Harry Guest

  4. #3

    Default Re: data manipulation

    Harry,

    Thanks a million.

    Best regards,
    Michael Myett

    Helpful Harry wrote:
    > In article <dEHmb.6956$1C5.3927@nwrdny02.gnilink.net>, Michael Myett
    > <michael.myett@verizon.net> wrote:
    >
    >
    >>I am working on WinXP and using FileMaker 6.04
    >>
    >>I have a fairly large amount of data in a text file, Massachusetts
    >>Insurance Agents, that looks like the following:
    >>
    >>Name
    >>Company Name
    >>Address
    >>City, State Zip
    >>Phone
    >>Fax
    >>email address
    >>web site
    >>
    >>Name
    >>Company Name
    >>Address
    >>City, State Zip
    >>Phone
    >>Fax
    >>email address
    >>web site
    >>
    >>..... this list view of data continues for thousands of records.
    >>
    >>My goal is to move this text file data into a contact database. I have
    >>tried manipulating the data into some sort of table format that can be
    >>imported into FileMaker, with no success.
    >>
    >>I have a sickening feeling that this is just going to be a lot of time
    >>consuming work, but thought it might be worth an ask if anyone has had
    >>some level of success doing something like this before.
    >>
    >>Even partial automation would be a blessing at this point.
    >>
    >>Many thanks in advance for any help.
    >>
    >>Michael Myett
    >
    >
    > First: MAKE A COPY OF THE FILE!!!! And only "play" with the copy, NOT
    > the original.
    >
    >
    > If the file isn't "too" big, then you could open it up into something
    > like MS Word and do a couple of Find / Replaces to transform the data
    > into something better.
    >
    > First Find all 'CR CR' (ie. two line returns, just copy them from the
    > document and paste them into the Find window) and replace them with
    > something not likely to be elsewhere in the text (eg. *-*-*).
    >
    > Next Find all 'CR' (ie. one line return) and replace it with a Tab
    > (again, copy / paste both of these).
    >
    > Lastly Find all *-*-* and re-replace them with a single 'CR'.
    >
    > 'Save As' the file TO A NEW NAME as Text format. You've now got a text
    > file using tabs to separate field data and returns to separate each
    > record ... and that should import into a FileMaker database with no
    > problems.
    >
    >
    > *BUT*
    > This will only work if the original lines in the text file (eg.
    > address) don't already contain tabs in the middle. Otherwise you'll
    > need to do some more Find / Replace playing to get rid of those first.
    >
    > If the original lines contain line returns in the middle, then you're a
    > bit stuck and may have to go through manually removing those first.
    >
    >
    >
    > It might take a while to Find / Replace and import if the file is
    > REALLY big - you might want to also do a Save As to a new filename in
    > between each step if you're using Word since it's notoriuos for
    > crashing just when you don't want it to.
    >
    >
    >
    > Helpful Harry
    > "Just trying to help whenever I can." :o)
    Michael Myett Guest

  5. #4

    Default Re: data manipulation

    Another option, if you are using MS Word, is to use the Convert to Text
    feature (Table menu). Assuming EVERY record has the same # of lines as
    listed below, select all the text and choose Convert Text to Table. Set the
    number of columns to 9 (one for each line, including the blank line) and
    voila. You can then import to FMP. The one problem might be the City,
    State Zip line, as you will probably want those in separate fields. You can
    reformat that field in FMP with a script and "Pattern Count" "Right()"
    script steps.

    Just a thought.

    Fred

    On 10/25/03 8:59 PM, in article dEHmb.6956$1C5.3927@nwrdny02.gnilink.net,
    "Michael Myett" <michael.myett@verizon.net> wrote:
    > I am working on WinXP and using FileMaker 6.04
    >
    > I have a fairly large amount of data in a text file, Massachusetts
    > Insurance Agents, that looks like the following:
    >
    > Name
    > Company Name
    > Address
    > City, State Zip
    > Phone
    > Fax
    > email address
    > web site
    >
    > Name
    > Company Name
    > Address
    > City, State Zip
    > Phone
    > Fax
    > email address
    > web site
    >
    > ..... this list view of data continues for thousands of records.
    >
    > My goal is to move this text file data into a contact database. I have
    > tried manipulating the data into some sort of table format that can be
    > imported into FileMaker, with no success.
    >
    > I have a sickening feeling that this is just going to be a lot of time
    > consuming work, but thought it might be worth an ask if anyone has had
    > some level of success doing something like this before.
    >
    > Even partial automation would be a blessing at this point.
    >
    > Many thanks in advance for any help.
    >
    > Michael Myett
    >
    Fred 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