Forums

PHP

This topic is locked

ODBC-Recordset by Phakt without Excel or CSV??!!

Posted 31 Aug 2001 10:18:37
1
has voted
31 Aug 2001 10:18:37 herbert mayer posted:
Hi,

I would like to create a record set to Excel or a CSV-Table by Phakt.

I can produce a (ODBC)-DSN to this files, but error messages always appear with producing record set.

Does the ODBC access function only with ACCESS?

THX
Ingolf

My System:
Win98, UD4, PHP4, Apache, Phakt, M$-Office

Replies

Replied 09 Sep 2001 20:25:13
09 Sep 2001 20:25:13 Tim Green replied:
Hi, sorry I haven't replied earlier, as I missed your post.

You can set up an ODBC connection to a number of different data sources, you just have to use the right ODBC driver.

If you wish to transfer a recordset to an Excel file, or a CSV file you will first need to start with a blank Excel file, and then create an ODBC connection to this file using the Excel ODBC driver. Once you have done this, create a new connection, and select ODBC as the data source type.

You should now be able to use this connection as a recipient for data from your recordset.

Unfortunately, I have no time to test this for you, though in theory it should work.

Hope this helps

Tim Green

Extension & PHP TalkZone Manager
<font size=1>-------------------------------------------
<i>Please read the Forum FAQ before posting
a question to this TalkZone.</i>
-------------------------------------------
www.UDzone.com : A dynamic Dreamweaver,
Ultradev and Fireworks site for developers
by developers.
-------------------------------------------</font id=size1>

Reply to this topic