Photo Gallery Member List Search Calendars FAQ Ticket List Log Out


Expected End error.......

 
Logged in as: Guest
arrSession:exec spGetSession 2,3,74
 Active Users: There are 0 members and 0 guests.
 Users viewing this topic: none
 

 

 
  
  Printable Version
All Forums >> [Scripting] >> ASP >> Expected End error.......
  Do you like VisualBasicScript.com? Link to us and help spread the word about our forum. Thanks!
Page: [1]
Login
Message << Older Topic   Newer Topic >>
 Expected End error....... - 5/31/2001 12:59:06 AM   
  mstargas

 

Posts: 6
Score: 0
Joined: 5/23/2001
From: USA
Status: offline
Upon executing the page it comes up with the error:

Microsoft VBScript compilation error '800a03f6'

Expected 'End'

/hfist/personal.asp, line 776

The code for the page can be found at http://www.xwing.nu/hfist/personal.txt

I've gone through it to the best of my knowledge, I am only a beginner, all the If, Then statements are Ended and the rest of the code is copied from another page that works fine. What am I missing? If you can help thanx.
 
 
Post #: 1
 
 Re: Expected End error....... - 5/31/2001 1:00:47 AM   
  adminkoe

 

Posts: 117
Score: 0
Joined: 12/23/2000
From:
Status: offline
At ~ line 265 you have this:

If objRS("regiment") = 1 then
Response.write("Regiment1/")
If objRS("regiment") = 2 then
Response.write("Regiment2/")
Else
End If

My guess, from looking at the rest of the code, is that the second If (If objRS("regiment") = 2 then) should actually be an Elseif (Elseif objRS("regiment") = 2 then)


Hope this helps

Regards,
Andi Zain

(in reply to mstargas)
 
 
Post #: 2
 
 
 
  

If you found our site useful please link to us <a href="http://www.visualbasicscript.com">VisualBasicScript.com</a>.
All Forums >> [Scripting] >> ASP >> Expected End error....... Page: [1]
Jump to:





New Messages No New Messages
Hot Topic w/ New Messages Hot Topic w/o New Messages
Locked w/ New Messages Locked w/o New Messages
 Post New Thread
 Reply to Message
 Post New Poll
 Submit Vote
 Delete My Own Post
 Delete My Own Thread
 Rate Posts