BTW work with Excel is pretty tricky thing. I published something about this
on http://www.experts-exchange.com/
Regards,
Gennadi
----- Original Message -----
From: "Billy Cravens" <[EMAIL PROTECTED]>
To: "CF-Talk" <[EMAIL PROTECTED]>
Sent: Tuesday, November 07, 2000 6:13 AM
Subject: Re: I have never done this.
> You can set up an Excel spreadsheet as a datasource (same as setting up
> an Access datasource)
>
> Here's what your sql looks like:
>
> select *
> >from "worksheetname$"
>
> worksheetname is pretty select explanatory. Instead of "*", you can
> specify tables (like any query). Keep in mind that ODBC sees the first
> row as the column names.
>
> Now, as far as CFHTTP is concerned, it can grab txt files that are comma
> delimited as you specified, but for a true Excel (.xls) file, it will
> return binary data, so CFHTTP will be pretty useless. Additionally,
> even if it is a csv, you can only grab the data as assign it to a
> recordset, not "query" it.
>
> --
> Billy Cravens
> [EMAIL PROTECTED]
>
>
> sebastian palmigiani wrote:
> >
> > What are the general steps for querying an excel spreadsheet? I would
think
> > that you would first use <cfhttp> to get the file. Would you use a comma
as
> > the delimiter and "" as text qualifier?
> >
> > Sebastian
> >
>
> --------------------------------------------------------------------------
----------------------
> > Archives: http://www.mail-archive.com/[email protected]/
> > Unsubscribe: http://www.houseoffusion.com/index.cfm?sidebar=lists or
send a message with 'unsubscribe' in the body to
[EMAIL PROTECTED]
> --------------------------------------------------------------------------
----------------------
> Archives: http://www.mail-archive.com/[email protected]/
> Unsubscribe: http://www.houseoffusion.com/index.cfm?sidebar=lists or send
a message with 'unsubscribe' in the body to
[EMAIL PROTECTED]
>
------------------------------------------------------------------------------------------------
Archives: http://www.mail-archive.com/[email protected]/
Unsubscribe: http://www.houseoffusion.com/index.cfm?sidebar=lists or send a message
with 'unsubscribe' in the body to [EMAIL PROTECTED]