>I tried o=createobject( "ADODB.Recordset" ) in the VFP command window and got the message "Class definition not found."
>
>What do I need to install to be able to create an ADO recordset? TIA.
I just tried it and it works. This is the correct syntax to use. Make sure all the required components to use ADO are installed in your workstation.
BTW, just curious, why do you want to use ADO from Visual FoxPro? You can use direct Visual FoxPro commands to access your SQL Server data.