ID: 15205 Updated by: phanto Reported By: [EMAIL PROTECTED] Old Status: Open Status: Feedback Bug Type: COM related Operating System: WIN2000 SP2 German PHP Version: 4.1.1 New Comment:
could you add '()' to all of your method calls. your script seems very odd this. Previous Comments: ------------------------------------------------------------------------ [2002-01-24 09:19:41] [EMAIL PROTECTED] <? $Source="c:\user.smd"; $conn=new COM("ADODB.Connection") or die("Cannot start ADO"); $record=new COM("ADODB.Recordset") or die("Cannot start ADO"); $conn->Provider = "Microsoft.Jet.OLEDB.4.0"; $conn->ConnectionString = "Data Source=$Source"; $conn->Mode=3; $conn->Open(); $SQL2="select * from FILES where FILE_ID=2"; $record->Open($SQL2,$conn,3); $record->MoveLast; $test=$record->Fields("FILE_NAME"); $test->Value="test"; /** Warning: PropPut() failed: Ausnahmefehler aufgetreten. Source: ADODB.Field Description: Das Objekt oder der Provider kann den angeforderten Vorgang nicht ausführen. in D:\Linux\neu.php on line 20 **/ $record->Update; $record->Requery; $record->Close; ?> WHY ?? -_Th.Weisbach ------------------------------------------------------------------------ Edit this bug report at http://bugs.php.net/?id=15205&edit=1 -- PHP Development Mailing List <http://www.php.net/> To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] To contact the list administrators, e-mail: [EMAIL PROTECTED]