Re: Error using ado to read cvs file
- From: "Light" <a@xxxxx>
- Date: Fri, 21 Sep 2007 15:22:02 -0400
Thanks Bob.
I thought of your suggestion before, but this method will run into collision
problem if more than a few users are doing the importing at the same time.
Of course, we could always wait for the previous one to complete but on the
server, it is not an option.
"Bob Barrows [MVP]" <reb01501@xxxxxxxxxxxxxxx> wrote in message
news:OiP1fcH$HHA.4200@xxxxxxxxxxxxxxxxxxxxxxx
Upload the files into a staging folder. Then loop through them, moving
them one-at-a-time into the folder containing the schema.ini file,
renaming them in the process. Read the contents using ado, rename the
file back to the original name and move into a "completed folder" and go
to the next file.
Light wrote:
Thanks ek.
Our web application allows users to upload csv file to the server
before the data in the fles are imported to the server.
Obviously, the file names will be different, thus the requirement for
the wild card .
.
- Follow-Ups:
- Re: Error using ado to read cvs file
- From: Bob Barrows [MVP]
- Re: Error using ado to read cvs file
- From: Stephen Howe
- Re: Error using ado to read cvs file
- References:
- Error using ado to read cvs file
- From: Light
- RE: Error using ado to read cvs file
- From: "Walter Wang [MSFT]"
- Re: Error using ado to read cvs file
- From: Light
- Re: Error using ado to read cvs file
- From: ekkehard.horner
- Re: Error using ado to read cvs file
- From: Light
- Re: Error using ado to read cvs file
- From: Bob Barrows [MVP]
- Error using ado to read cvs file
- Prev by Date: Re: Error using ado to read cvs file
- Next by Date: Re: Error using ado to read cvs file
- Previous by thread: Re: Error using ado to read cvs file
- Next by thread: Re: Error using ado to read cvs file
- Index(es):
Relevant Pages
|
|