由买买提看人间百态

topics

全部话题 - 话题: addnew
(共0页)
d**t
发帖数: 14
1
来自主题: Database版 - Help!-VB-Addnew?
When I use Addnew method and run my form, the error'91' said: Object variable
or With block variable not set. Could anybody tell me what's that mean and
what should I do?
Thanks a lot!
dgyt
~
h**********r
发帖数: 174
2
来自主题: Database版 - Question about ADO's Recordset
Using ADO's RecordSet in Access2000
I have a very simple table with only two fields(byte, text). I want
to use RecordSet to add a row into it by using the AddNew methods. But
it seems the Recordset opened with this table doesn't support the
AddNew method.
Could anyone tell me any possible reason of this?
Thanks a lot.
c*********e
发帖数: 16335
3
来自主题: Programming版 - 请教大牛们这个系统怎么设计
不一定要用rest,
可以直接post到一个url
比如
post
http://www.yoursite1.com/addnew.php
http://www.yoursite2.com/getupate.php
http://www.yoursite3.com/delete.php
这样,能分散服务器的负荷,response也不一定要http response code,是个json data
也行。
addnew.php只干add new data的事;
getupate.php只干update data的事;
delete.php只干delete data的事。

sensor
web
p******e
发帖数: 31
4
来自主题: BuildingWeb版 - help about sql connection with ASP
我想用ASP添加数据库record时,总是报错。
请问是怎么回事? 谢谢!
我的数据库并没有设为只读啊。
程序如下:

<%
dim db
dim strCon
db="access"
strCon="DRIVER={Microsoft Access Driver (*.mdb)};
DBQ=c:/Inetpub/wwwroot/name/name.mdb"
set db=Server.CreateObject("ADODB.Connection")
db.open strCon
%>
set res=Server.CreateObject("ADODB.Recordset")
res.Open "select * from
user",strCon,adOpenKeyset,adLockOptimistic
res.AddNew
res("pass")=pass
res("fname")=fname
res("lname")=lname
if city<>"" then
res("city")=city
.......
p**i
发帖数: 688
5
来自主题: Database版 - Help needed: MS Access 2000
Do you use addnew/update method with ADO recordset to add a record?
here ASP+access works fine for me, but it isn't serving lots of users.
(共0页)