Please start any new threads on our new site at https://forums.sqlteam.com. We've got lots of great SQL Server experts to answer whatever question you can come up with.

 All Forums
 SQL Server 2000 Forums
 SQL Server Development (2000)
 Using Recordset in Javascript for inserts

Author  Topic 

AskSQLTeam
Ask SQLTeam Question

0 Posts

Posted - 2002-03-04 : 14:01:25
Leo Volin writes "Can anyone help me and teach how to accomplish same tasks which VBscript does with its recordset. As in below:
-rs.Open ..,...,..
-rs.AddNew
-rs("afield")=8.55
-rs("anotherfield") = "howerly wage"
-rs Update
-rs Close
Only using Jscript.
I get error messages on my 'open' statement in JavaScript.
Thanks in advance and best regards"

rrb
SQLTeam Poet Laureate

1479 Posts

Posted - 2002-03-04 : 18:05:03
1. If you're planning to connect with the DB from the client side -don't.

2. What error message do you get? Is it because you have the security settings in IE turned on and so it can't create the ADO object?

--
I hope that when I die someone will say of me "That guy sure owed me a lot of money"
Go to Top of Page
   

- Advertisement -