rs.Open(cmdTemp,Conn,3);but this is repetition of defining ActiveConnection. In your case you can consider using implicit connection (if this connection isn't used by other commands):
rs.Open([SQL command], [Connection string], 3);
Plamen Ivanov
MCSD .NET Early Achiever and MCAD .NET Charter Member (VB .NET/SQL Server 2000)
MCSD (VB 6.0/SQL Server 2000) br>
VB (.NET) - what other language do you need in the whole Universe?...