bloody_football Registered User. Local time Tomorrow, 00:27 Joined Sep 8, 2004 Messages 70 Oct 7, 2006 #1 Code: Dim rsSet strSQL = "SELECT * FROM set_query" Set rsSet = Server.CreateObject("ADODB.Recordset") rsSet.Open strSQL, objConn Now this gets all the info out of a query but I to get the info straight out of the table.
Code: Dim rsSet strSQL = "SELECT * FROM set_query" Set rsSet = Server.CreateObject("ADODB.Recordset") rsSet.Open strSQL, objConn Now this gets all the info out of a query but I to get the info straight out of the table.
pbaldy Wino Moderator Staff member Local time Today, 05:27 Joined Aug 30, 2003 Messages 36,157 Oct 7, 2006 #2 Am I missing something? strSQL = "SELECT * FROM TableName"
bloody_football Registered User. Local time Tomorrow, 00:27 Joined Sep 8, 2004 Messages 70 Oct 7, 2006 #3 strSQL = "SELECT * FROM TableName" gives me a 'Syntax error in FROM clause. ' The table name is 'set' so it is definately not a spelling error James
strSQL = "SELECT * FROM TableName" gives me a 'Syntax error in FROM clause. ' The table name is 'set' so it is definately not a spelling error James