Hi, How can I read a file of Excel from Powerserver?
Hi, How can I read a file of Excel from Powerserver?
just open the file directly from the users machine:
1. have your users save excel as tab or csv file then import that into datawindow/store
2. use ole to read (or write) excel: ConnectToNewObject("excel.application") You can use ole to open the file then save it as csv/tab delimited. or you can read it cell by cell.
3. use a 3rd party dll or .net to read it directly into something like tab/csv format
4. use excel 'database' driver and open it using adodb via ole: ConnectToNewObject ( "ADODB.Connection" )
---------------
if it's a lot of heavy processing that takes a very long time, then it probably makes sense to do the work on a server so you would upload the file then run a process (pb or .net or something) and return the results to the user.
HI Shirley;
You would have two choices ...
Regards ... Chris