David:You're right. To my mind (theorectically) Kix should NOT be complaining about the second parameter. Just how "Object Aware" has KiX2001 become ? Is Kix querying the TypeLib's of Automation servers ? How else would it know that this method takes more than one parameter ? Unless the automation server is reporting this back to Kix.
Anyway... cj's bagged it...
code:
break on cls
$db = Createobject(ADODB.Connection)
$db.open ("PROVIDER=Microsoft.Jet.OLEDB.4.0; DATA SOURCE=m:\msaccess\db1.mdb","","","")
if $db
?"mode=" $db.mode
?"provider=" $db.provider
?"ConnectionString=" $db.connectionstring
$db.close()
endif
?"pause..." gets $k
exit
Shawn.
[This message has been edited by Shawn (edited 04 April 2001).]