Ask a Question related to Dreamweaver AppDev, Design and Development.
-
The Ox #1
mySQL problem
I am having a problem with the following code with mySQL. I normally write
with Access and do not get this problem, is there something that I am doing
wrong?
The error is as follows -
ADODB.Recordset.1 error '80004005'
Recordset is read-only
I am trying to update one field using the following code -
<%
Dim rsOutOrders
Dim rsOutOrders_numRows
Set rsOutOrders = Server.CreateObject("ADODB.Recordset")
rsOutOrders.ActiveConnection = MM_cStringname_STRING
rsOutOrders.Source = "SELECT * FROM orderdetails WHERE complete = '" +
Replace(rsOutOrders__MMColParam, "'", "''") + "' ORDER BY dateordered ASC"
rsOutOrders.CursorType = 0
rsOutOrders.CursorLocation = 2
rsOutOrders.LockType = 2
rsOutOrders.Open()
rsOutOrders_numRows = 0
%>
<%
rsOutOrders("complete") = "Yes"
rsOutOrders.Update
%>
Any help would be welcomed!
Thanks in advance...
The Ox Guest
-
Need Help, problem with OSX, MySQL, etc.
Hi, I'm working on an eMac with OSX 10.3.9 and all updates. It already had Apache and Sendmail and I installed MySQL and phpMyAdmin. Apache sees... -
ERROR 2002: Can't connect to local MySQL server through socket '/var/lib/mysql/mysql.sock' (2)
When i try to start my mysql server, i get this error ERROR 2002: Can't connect to local MySQL server through socket '/var/lib/mysql/mysql.sock'... -
Problem getting PHP to recognize MySQL, Using PHP 4.3.7 and MySQL 4.0.20
Hi there! I have both PHP 4.0( RPM) installed and MySQL 4.0.20 installed with the mysqld daemon up and running. But when I look at the output of... -
MySQL/PHP problem. getting field names from MySQL and using it asPHP variables
Is this possible? I'd like to just get the field names from my database and use it as variables to save me from making errors as to where i should... -
Problem with mysql and ASP
You probably need to change the date format you are using. #date# is used in MS Access but I don't think it is valid for MySQL. Check the MySQL...



Reply With Quote

