473,320 Members | 1,930 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,320 software developers and data experts.

Update method

I use the following to update:

Dim rsEdit1
Set rsEdit1 = Server.CreateObject("ADODB.Recordset")
rsEdit1.ActiveConnection = MM_shop_STRING
rsEdit1.Source = "SELECT * FROM products WHERE pautoid = 12"
rsEdit1.CursorType = 2
rsEdit1.LockType = 3
rsEdit1.Open()

rsEdit1.("authorMemo") = "TEST" *Error message from this line
rsEdit1.update

rsEdit1.Close()
Set rsEdit1 = Nothing

The problem is that I keep getting the following error message :

"Microsoft VBScript compilation (0x800A03F2) Expected identifier"

Can anyone help ?
Jul 19 '05 #1
1 1823
Please post to one newsgroup onlye

Answered in asp.db

Cheers
Ken

"Poppy" <pa**********@NOSPAMthemedialounge.com> wrote in message
news:OX*************@TK2MSFTNGP09.phx.gbl...
: I use the following to update:
:
: Dim rsEdit1
: Set rsEdit1 = Server.CreateObject("ADODB.Recordset")
: rsEdit1.ActiveConnection = MM_shop_STRING
: rsEdit1.Source = "SELECT * FROM products WHERE pautoid = 12"
: rsEdit1.CursorType = 2
: rsEdit1.LockType = 3
: rsEdit1.Open()
:
: rsEdit1.("authorMemo") = "TEST" *Error message from this line
: rsEdit1.update
:
: rsEdit1.Close()
: Set rsEdit1 = Nothing
:
: The problem is that I keep getting the following error message :
:
: "Microsoft VBScript compilation (0x800A03F2) Expected identifier"
:
: Can anyone help ?
:
:
Jul 19 '05 #2

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

9
by: zMisc | last post by:
When I try to update record, I kept getting this error: Row cannot be located for updating. Some values may have been changed since it was last read. No other users are accessing the database...
19
by: Steve | last post by:
ASP error number 13 - Type mismatch with SELECT...FOR UPDATE statement I got ASP error number 13 when I use the SELECT...FOR UPDATE statement as below. However, if I use SELECT statement without...
0
by: Erik | last post by:
Why isn't my update method getting called? Pasted below is an aspx from a 1.1 application I'm working on. It has two textboxes and a button for inserting data into the database, and a datagrid...
4
by: tim.cavins | last post by:
I have a GridView populated by an ObjectDataSource. I am having issues passing the parameters to the objectdatasource. I have verified that the method is being called but none of the parameters...
1
by: Max2006 | last post by:
Hi, I am truing to find a pattern for my Business Logic Layer to be able to work fine win ObjectDataSource's Update method. The challenge is ObjectDataSource is not able to work with an...
0
by: DolphinDB | last post by:
The formulas of 101 quantitative trading alphas used by WorldQuant were presented in the paper 101 Formulaic Alphas. However, some formulas are complex, leading to challenges in calculation. Take...
0
by: DolphinDB | last post by:
Tired of spending countless mintues downsampling your data? Look no further! In this article, you’ll learn how to efficiently downsample 6.48 billion high-frequency records to 61 million...
0
by: ryjfgjl | last post by:
ExcelToDatabase: batch import excel into database automatically...
0
isladogs
by: isladogs | last post by:
The next Access Europe meeting will be on Wednesday 6 Mar 2024 starting at 18:00 UK time (6PM UTC) and finishing at about 19:15 (7.15PM). In this month's session, we are pleased to welcome back...
1
isladogs
by: isladogs | last post by:
The next Access Europe meeting will be on Wednesday 6 Mar 2024 starting at 18:00 UK time (6PM UTC) and finishing at about 19:15 (7.15PM). In this month's session, we are pleased to welcome back...
0
by: Vimpel783 | last post by:
Hello! Guys, I found this code on the Internet, but I need to modify it a little. It works well, the problem is this: Data is sent from only one cell, in this case B5, but it is necessary that data...
1
by: PapaRatzi | last post by:
Hello, I am teaching myself MS Access forms design and Visual Basic. I've created a table to capture a list of Top 30 singles and forms to capture new entries. The final step is a form (unbound)...
0
by: af34tf | last post by:
Hi Guys, I have a domain whose name is BytesLimited.com, and I want to sell it. Does anyone know about platforms that allow me to list my domain in auction for free. Thank you
0
by: Faith0G | last post by:
I am starting a new it consulting business and it's been a while since I setup a new website. Is wordpress still the best web based software for hosting a 5 page website? The webpages will be...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.