don't you need that connect for the making of the recordset?
>If this code is from a DLL method the recordset oRecordCta has to be client >side, and also try disconnecting the recordset before returning with
>oRecordCta.ActiveConnection = Null
>HTH
>JCF, MCSD
>Check out
http://foxcentral.net