Wrox Programmer Forums
|
Classic ASP Basics For beginner programmers starting with "classic" ASP 3, pre-".NET." NOT for ASP.NET 1.0, 1.1, or 2.0
Welcome to the p2p.wrox.com Forums.

You are currently viewing the Classic ASP Basics section of the Wrox Programmer to Programmer discussions. This is a community of software programmers and website developers including Wrox book authors and readers. New member registration was closed in 2019. New posts were shut off and the site was archived into this static format as of October 1, 2020. If you require technical support for a Wrox book please contact http://hub.wiley.com
 
Old October 10th, 2011, 03:12 PM
Registered User
 
Join Date: Oct 2011
Posts: 2
Thanks: 0
Thanked 0 Times in 0 Posts
Default Microsoft VBScript compilation error '800a03ea'

Dear Friends,

I am facing the problem and keep on getting the same error message. Can some one please help me with this Syntax error

<%
trecord = Request.form("trecord")
a = 0
do while not a = trecord

Lname = Request.Form("L_NAME"&a)

Execute "L_NAME"& a &"='"& Lname &"'"

a = a + 1
If trecord = a then
'exit do
end if
loop
Response.write L_NAME0

%>
 
Old October 10th, 2011, 06:37 PM
Friend of Wrox
 
Join Date: Jan 2004
Posts: 1,870
Thanks: 12
Thanked 20 Times in 20 Posts
Send a message via AIM to mat41
Default

For best help from forums you should indicate what line the errors occurs on, why omit this important part of the error???

is it becasue Request.form("trecord") doesnt have a value or is the value a string maybe (I assume from your code you expect a number)? if so wrap this around your code:

if cint(Request.form("trecord")) > 0 then
'place your code here
else
response.write "You form doen not contain a number"
end if

Of is it becasue of this line:

Response.write L_NAME0

Based on your code shouldnt this say 'L_NAME' ?

'L_NAME0' is just the value which is asigned the first time through your loop, if you code is getting to the loop! If you gave us the line number we would know this. To get the line number make sure you un-tick 'show friendly HTTP errors' (Tools/internet option/ advanced)
__________________
Wind is your friend
Matt





Similar Threads
Thread Thread Starter Forum Replies Last Post
Microsoft VBScript compilation error '800a03ea' activelobby.sim Classic ASP Basics 1 October 10th, 2011 03:09 PM
Microsoft VBScript compilation error '800a0401' aduggan Classic ASP Databases 1 May 5th, 2007 05:31 AM
Microsoft VBScript compilation error '800a03ea' activelobby.sim Classic ASP Basics 1 September 21st, 2006 09:22 AM
Microsoft VBScript compilation error karlzoe Classic ASP Databases 2 December 29th, 2004 10:44 AM
Microsoft VBScript compilation error '800a03f6' stevesole Access ASP 2 June 8th, 2004 02:04 PM





Powered by vBulletin®
Copyright ©2000 - 2020, Jelsoft Enterprises Ltd.
Copyright (c) 2020 John Wiley & Sons, Inc.