Problem with 4.0.6 through 4.2RC2

From: Date: Thu, 11 Apr 2002 21:44:54 +0000
Subject: Problem with 4.0.6 through 4.2RC2
Groups: php.dev php.windows 
Request: Send a blank email to php-dev+get-82625@lists.php.net to get a copy of this message
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/

« previous php.dev (#82625) next »