Environment:  WinNT4, Apache 1.3.23, PHP 4.0.6 THROUGH 4.2RC2

Code Snippet:

$strClientDb = "Provider=Microsoft.Jet.OLEDB.4.0;Data Source=Some location";
$client = new COM("ADODB.Recordset");

$strSQL = "SELECT * FROM AnyTable";

$client->open($strSQL, $strClientDb);
----

This works fine.

Problem:

$strClientDb = "Provider=Microsoft.Jet.OLEDB.4.0;Data Source=Some location";
$client = new COM("ADODB.Recordset");

$strSQL = "SELECT IDCode, FirstName, LastName, Provider, EmailAddr FROM AnyTable";

$client->open($strSQL, $strClientDb);

----

When I run this code, I get php_OLECHAR_to_char errors in 4.0.6 to 4.1.2, in RC2
I get the following error:

Warning: Invoke() failed: Exception occurred. Argument: 0 in d:\program
files\apache group\apache\htdocs\client\include\config.php on line 30

The only thing changed is the length of the SQL string.  (The SQL string works
fine if I run it in Access.)

Are there any ideas on this??

-- 
Scott Carr
OpenOffice.org
Whiteboard-Doc Maintainer
http://whiteboard.openoffice.org/doc/





-------------------------------------------------
This mail sent through IMP: http://horde.org/imp/

-- 
PHP Windows Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php

Reply via email to