473,465 Members | 1,726 Online
Bytes | Software Development & Data Engineering Community
Create Post

Home Posts Topics Members FAQ

Error on page

2 New Member
I am trying to update a record. It correctly opens the record first. but when i try to update it shows the error "Microsoft VBScript runtime (0x800A01A8)
Object required: ''
in line No 20"

this is the code that i used
Kindly help

<form method="post" action="heading.asp">

<% n1=request(trim("n1"))
n2=request(trim("n2"))
n3=request(trim("n3"))
n4=request(trim("n4"))
n5=request(trim("n5"))
n6=request(trim("n6"))
n7=request(trim("n7"))
n8=request(trim("n8"))
n9=request(trim("n9"))

DIM sd
dim rs
Set sd = Server.CreateObject("ADODB.Connection")
sd.ConnectionString = "Provider=Microsoft.Jet.OLEDB.4.0;Data Source=" & _
Server.MapPath ("/logon.mdb") & ";"
sd.Open
set rs=sd.execute(update students set DOB='"&n2&"',SName='"&n9&"',Clas="&n3&",Sec='"&n4& "',"FName='"&n5&"',MName='"&n6&"',Adrs='"&n7&"',Ph one='"&n8&"' where AdmNo="&n1&")
%>
<center>
<input type="submit" value="!Successfully Saved!">
Nov 28 '11 #1
0 1287

Sign in to post your reply or Sign up for a free account.

Similar topics

1
by: Bruce Sams | last post by:
Hello, I am running Tomcat 4.x and have tried to set global error handling using the following kind of entries in the web.xml file. But there is no redirection and I always end up with the...
1
by: Bopanna | last post by:
Hi all, I have a webapplication running on tomcat-4.1.24. I want to show a error page (error.jsp) if the server throws any error. can it be done by configuration of server.xml or web.xml? i dont...
7
by: Paul | last post by:
I thought this is more of an IE issue but i've had no joy on that group perhaps somebody here will have a clue. If i click a link to a web page embedded in Excel (97 OR 2000) i get the standard...
0
by: Ed Eichman | last post by:
Hi Everyone, Is it possible to generate, in code, exactly (or close to it) the detailed error page generated by (IIS? ASP.NET? .NET Framework?) when an exception is thrown in a ASP.NET web...
1
by: Greg Burns | last post by:
I am trying to write a global custom error page. I thought I would jot down some of what I've learned so far... At first I just used the default customErrors section with a defaultRedirect tag,...
7
by: Yongsub Eric Shin | last post by:
Hi. I'm just a beginner in ASP.Net. I started writing codes and I keep on getting this Runtime Error page, where it says "Description: An application error occurred on the server. The current...
6
by: dee | last post by:
Hi In web.config I have to the following: <configuration> <system.web> <customErrors defaultRedirect="error.htm" mode="On" /> </system.web> </configuration>
0
by: ravescar | last post by:
I am currently working on an generic error collection mechanism in ASP.NET2.0 written using C# that can catch unhandled exception on a web application in application level. it automatically save an...
7
by: DC | last post by:
Hi, there is a 500;13 page one can configure in the website properties, but ..Net Framework 1.1 also delivers the "server too busy" message sometimes and the IIS custom error page does not seem...
15
denny1824
by: denny1824 | last post by:
I have a working website. I copied all the files to a new folder in inetpub/wwwroot and then set that folder as a Virtual Directory in IIS. I try going to that site from the new folder and i am...
0
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
0
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...
0
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers,...
1
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows...
0
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each...
0
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing,...
0
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome a new...
0
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
0
by: 6302768590 | last post by:
Hai team i want code for transfer the data from one system to another through IP address by using C# our system has to for every 5mins then we have to update the data what the data is updated ...

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.