Yeah thanks for your input,
I've been messing with your idea and having some difficulties. Hopefully you wont mind taking a glance at. The code i have doesn't error but i m not out putting any records. I thought maybe i should go to movefirst (just in case) but that produced a server error. the code and connection is nelow :
Dim oConn
dim conn_string
Set oConn = Server.CreateObject("ADODB.Connection")
conn_string = "Driver={MySQL ODBC 3.51 Driver};Server=localhost;Option=16834;Database=col lagenRX;Uid=colladmin;Pwd=collrx;"
oconn.Open(conn_string)
mySQL = "SELECT * FROM products"
Set productRS = Server.CreateObject("ADODB.Recordset")
productRS.CursorLocation = adUseClient
productRS.Open mySQL, oConn, adOpenStatic, adLockReadOnly, adCmdText
productRS.moveFirst
%>
Ive also included the adovbs file. As said, the productRS.movefirst is causing sever error ... as is at here http://www.collagenrx.co.uk/products.asp
If i take out the moveFirst, the code runs thruogh but no records are located.
Anyway help you can give would be much appreciated.
cheers
|