% set rs = server.CreateObject("ADODB.Recordset") selsql = "SELECT distinct tblTopic.UserId, tblTopic.CategoryId , tblTopic.Subject , tblUser.UserName From tblTopic,tblUser,tblCategory WHERE tblTopic.UserId = tblUser.UserId and tblTopic.CategoryId = tblCategory.CategoryId" rs.Open selsql,db,3 %>