Hi,
I am using the following syntax in VB 6.0 to copy distinct values from strTableName to TableName
strOpen = "Select distinct * into" & " " & strDupTableName & " from " & strTableName
rst.Open strOpen, db, adOpenDynamic, adLockOptimistic
But I am getting a runtime error "-2147217833". I have 900 records in the table and all the fields are set to type "memo".
Please help me to resolve this error.
Regards,
Dinil