Hi All!
I am just trying to move our existing Access datatables to SQL and make everything work as it did before. The tables are in SQL now, but I have problems reading them out.
I can not see some of the columns, however I did not change anything. When I do this:
strQuery ="SELECT * FROM Discuss;"
Set objRS = objConn.Execute(strQuery)
While not objRS.EOF
Response.Write " " & objRS("AuthorName" & "<br />"
Response.Write " " & objRS("ID" & "<br />"
Response.Write " " & objRS("Title" & "<br />"
Response.Write " " & objRS("body" & "<br />"
Response.Write " " & objRS("AuthorCode" & "<br />"
objRS.Movenext
Wend
The body field does not show up, but if I do this
strQuery ="SELECT * FROM Discuss;"
Set objRS = objConn.Execute(strQuery)
While not objRS.EOF
Response.Write " " & objRS("body" & "<br />"
Response.Write " " & objRS("AuthorName" & "<br />"
Response.Write " " & objRS("AuthorCode" & "<br />"
objRS.Movenext
Wend
What do I do wrong?
I am just trying to move our existing Access datatables to SQL and make everything work as it did before. The tables are in SQL now, but I have problems reading them out.
I can not see some of the columns, however I did not change anything. When I do this:
strQuery ="SELECT * FROM Discuss;"
Set objRS = objConn.Execute(strQuery)
While not objRS.EOF
Response.Write " " & objRS("AuthorName" & "<br />"
Response.Write " " & objRS("ID" & "<br />"
Response.Write " " & objRS("Title" & "<br />"
Response.Write " " & objRS("body" & "<br />"
Response.Write " " & objRS("AuthorCode" & "<br />"
objRS.Movenext
Wend
The body field does not show up, but if I do this
strQuery ="SELECT * FROM Discuss;"
Set objRS = objConn.Execute(strQuery)
While not objRS.EOF
Response.Write " " & objRS("body" & "<br />"
Response.Write " " & objRS("AuthorName" & "<br />"
Response.Write " " & objRS("AuthorCode" & "<br />"
objRS.Movenext
Wend
What do I do wrong?