JavaScript Development
 
Forums: » Register « |  User CP |  Games |  Calendar |  Members |  FAQs |  Sitemap |  Support | 
User Name:
Password:
Remember me
Go Back   Dev Shed ForumsWeb DesignJavaScript Development

Reply
Add This Thread To:
  Del.icio.us   Digg   Google   Spurl   Blink   Furl   Simpy   Y! MyWeb 
Thread Tools Search this Thread Rate Thread Display Modes
 
Unread Dev Shed Forums Sponsor:
  #1  
Old July 11th, 2000, 04:58 AM
bonnyfused bonnyfused is offline
Junior Member
Dev Shed Newbie (0 - 499 posts)
 
Join Date: Jun 2000
Posts: 6 bonnyfused User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: < 1 sec
Reputation 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!

Reply With Quote
  #2  
Old July 11th, 2000, 07:57 PM
rycamor rycamor is offline
Gödelian monster
Dev Shed Regular (2000 - 2499 posts)
 
Join Date: Jul 1999
Location: Pembroke Pines, Florida, USA
Posts: 2,300 rycamor User rank is Sergeant Major (2000 - 5000 Reputation Level)rycamor User rank is Sergeant Major (2000 - 5000 Reputation Level)rycamor User rank is Sergeant Major (2000 - 5000 Reputation Level)rycamor User rank is Sergeant Major (2000 - 5000 Reputation Level)rycamor User rank is Sergeant Major (2000 - 5000 Reputation Level)rycamor User rank is Sergeant Major (2000 - 5000 Reputation Level) 
Time spent in forums: 3 Days 3 h 12 m 27 sec
Reputation Power: 53
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.

Reply With Quote
  #3  
Old July 12th, 2000, 02:03 AM
bonnyfused bonnyfused is offline
Junior Member
Dev Shed Newbie (0 - 499 posts)
 
Join Date: Jun 2000
Posts: 6 bonnyfused User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: < 1 sec
Reputation 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

Reply With Quote
  #4  
Old July 12th, 2000, 12:33 PM
rycamor rycamor is offline
Gödelian monster
Dev Shed Regular (2000 - 2499 posts)
 
Join Date: Jul 1999
Location: Pembroke Pines, Florida, USA
Posts: 2,300 rycamor User rank is Sergeant Major (2000 - 5000 Reputation Level)rycamor User rank is Sergeant Major (2000 - 5000 Reputation Level)rycamor User rank is Sergeant Major (2000 - 5000 Reputation Level)rycamor User rank is Sergeant Major (2000 - 5000 Reputation Level)rycamor User rank is Sergeant Major (2000 - 5000 Reputation Level)rycamor User rank is Sergeant Major (2000 - 5000 Reputation Level) 
Time spent in forums: 3 Days 3 h 12 m 27 sec
Reputation Power: 53
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.

Reply With Quote
Reply

Viewing: Dev Shed ForumsWeb DesignJavaScript Development > JavaScript may handle *.csv files?


Thread Tools  Search this Thread 
Search this Thread:

Advanced Search
Display Modes  Rate This Thread 
Rate This Thread:


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
View Your Warnings | New Posts | Latest News | Latest Threads | Shoutbox
Forum Jump


Forums: » Register « |  User CP |  Games |  Calendar |  Members |  FAQs |  Sitemap |  Support | 
  
 





© 2003-2008 by Developer Shed. All rights reserved. DS Cluster 4 hosted by Hostway