% dim rst, strSQL, Txt, cnt, Colour 'Create the Recordset object set Rst = server.CreateObject("ADOR.Recordset") 'Open the connection to the database 'Conn.Open strCon strSQL ="SELECT PageText.PAGETEXTID, PageText.PageName, PageText.Alias, PageText.Text FROM PageText WHERE (((PageText.PageName)='Adoptive_Parents'))" rst.open strsql,conn If rst.EOF = false then rst.Filter ="Alias='-MainText'" Txt = rst.Fields("Text") End if %>