#1
  1. No Profile Picture
    Junior Member
    Devshed Newbie (0 - 499 posts)

    Join Date
    Jun 2000
    Posts
    6
    Rep Power
    0
    How may I treat *.csv files to fill some arrays with JavaScript and then put everything into some FileMaker Pro database???
    Help me... also if you know only one part of my problem!
  2. #2
  3. No Profile Picture
    Gödelian monster
    Devshed Regular (2000 - 2499 posts)

    Join Date
    Jul 1999
    Location
    Central Florida, USA
    Posts
    2,307
    Rep Power
    61
    Maybe you should elaborate a little on exactly what you want to do. Where is the .csv file coming from, the server or the client's hard disk? Where is the FileMaker Pro database?

    I have used a combination of Javascript and server-side routines to accomplish similar things, but I need to know your specific needs.
  4. #3
  5. No Profile Picture
    Junior Member
    Devshed Newbie (0 - 499 posts)

    Join Date
    Jun 2000
    Posts
    6
    Rep Power
    0
    Well, OK. The *.csv file should be uploaded from the client's harddrive (or whatever on its PC), while the database resides on the server. I think that's it...

    TIA
  6. #4
  7. No Profile Picture
    Gödelian monster
    Devshed Regular (2000 - 2499 posts)

    Join Date
    Jul 1999
    Location
    Central Florida, USA
    Posts
    2,307
    Rep Power
    61
    Is this in an intranet situation where you have control over the browser installed on the client computers?

    If that is the case, and you can have IE5 installed on every computer, then there is a chance you can get this to work as a client-side app using databinding. It will be a complicated process, though.

    If you do not have control over the client browser, then you will need some server-side programming. (prompting the user to upload the .csv file to the server, then processing) There is no way that client-side javascript can handle this. It would take something like Perl, PHP, or ASP pages to do it.

    There is one other way I can think of, but it would require a small client-side macro in Excel. Basically, Excel would take the table, and perform a set of text operations to turn the columns _into_ javascript arrays, then save the file as a .js file, which could be referenced as an external SRC in the <script> tag. By the way, Excel can also make FTP connections, and perform internet operations, so there really might be no need to use Javascript at all.

Similar Threads

  1. Reading files that has certain parrent at once
    By cgi_pro in forum Perl Programming
    Replies: 2
    Last Post: January 29th, 2004, 10:13 PM
  2. External JavaScript file problem
    By FTK2003 in forum JavaScript Development
    Replies: 11
    Last Post: September 13th, 2003, 11:21 AM
  3. PDF files on the server
    By mspittlehouse in forum PHP Development
    Replies: 2
    Last Post: January 22nd, 2003, 05:42 AM
  4. Replies: 5
    Last Post: November 14th, 2002, 04:52 PM
  5. Including files in Javascript
    By sunitha in forum JavaScript Development
    Replies: 2
    Last Post: October 30th, 2000, 06:03 AM

IMN logo majestic logo threadwatch logo seochat tools logo