Wrox Programmer Forums
|
Classic ASP Professional For advanced coder questions in ASP 3. 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 Professional 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 January 12th, 2006, 02:09 AM
Authorized User
 
Join Date: Nov 2005
Posts: 13
Thanks: 0
Thanked 0 Times in 0 Posts
Default Microsoft VBScript compilation error '800a0408'

Microsoft VBScript compilation error '800a0408'

Invalid character

/xxx/xxx/xxxx.asp, line 96

                 List.MoveNext

My code is as follows

<%@LANGUAGE="VBSCRIPT" CODEPAGE="949"%>

<%

       if Session("adminok") = "" then
        Response.Redirect "session_end.asp"
    else
        '
         Select Case Request.QueryString("page")

            Case ""

               Session("CurrentPage") = 1

            Case "next"

               Session("CurrentPage") = Session("CurrentPage") + 1

            Case "previ"

               Session("CurrentPage") = Session("CurrentPage") - 1

        End Select

    sqlstr = "SELECT * FROM tblSevCustInfo "

    Set List = Server.CreateObject("ADODB.Recordset")

    List.PageSize = 4

    List.Open sqlstr, dbCon, 1

    List.AbsolutePage = Session("CurrentPage")

%>


<HTML>
<HEAD>
<META NAME="GENERATOR" Content="Microsoft Visual Studio 6.0">
</HEAD>

<BODY bgcolor="#FFFFFF">

<div align="center">
    <center>
        <p><strong>xxxxx</strong></p>
  </center>
</div>
<% If Not (List.EOF and List.BOF) then %>¡¡¡¡
<div align="center">
<center>
<table border="0" cellspacing="0" width="100%">
¡¡¡¡<tr align=center bgcolor="009C9C">
¡¡¡¡¡¡¡¡<td width=10%>
¡¡¡¡¡¡¡¡¡¡¡¡<b><div align="center">ID</div></td>
¡¡¡¡¡¡¡¡<td width=10%>
¡¡¡¡¡¡¡¡¡¡¡¡<b><div align="center">Survey</div></td>
¡¡¡¡¡¡¡¡<td width=20%>
¡¡¡¡¡¡¡¡¡¡¡¡<b><div align="center">Model</div></td>
¡¡¡¡¡¡¡¡<td width=20%>
¡¡¡¡¡¡¡¡¡¡¡¡<b><div align="center">VIN_NUM</div></td>
¡¡¡¡¡¡¡¡<td width=20%>
¡¡¡¡¡¡¡¡¡¡¡¡<b><div align="center">Customer Name</div></td>
 Â¡Â¡Â¡Â¡Â¡Â¡ <td width=20%>
¡¡¡¡¡¡¡¡¡¡¡¡<b><div align="center">Email</div></td>
¡¡¡¡</tr>
    <%
        End if

        i = 1
        Do until List.EOF Or i > List.PageSize
    %>

    <tr align=center>
¡¡¡¡¡¡¡¡<td width="10%" align=center>
¡¡¡¡¡¡¡¡¡¡ <div align="center"><%=Cint(List("ID"))%> </div>
¡¡¡¡¡¡¡¡</td>
¡¡¡¡¡¡¡¡<td width="10%" align=center>
¡¡¡¡¡¡¡¡¡¡ <div align="center"><%=Trim(List("TookSurvey"))%> </div>
¡¡¡¡¡¡¡¡</td>
¡¡¡¡¡¡¡¡<td width="20%" align=center>
¡¡¡¡¡¡¡¡¡¡¡¡<div align="center"> <%=right(Trim(List("ModelID")), 12)%> </div>
¡¡¡¡¡¡¡¡</td>
¡¡¡¡¡¡¡¡<td width="20%" align=center>
¡¡¡¡¡¡¡¡¡¡<div align="center"> <%=Trim(List("VIN_NUM"))%> </div>
¡¡¡¡¡¡¡¡</td>
¡¡¡¡¡¡¡¡<td width="20%" align=center>
¡¡¡¡¡¡¡¡¡¡ <div align="center"><%=Trim(List("OwnerName"))%> </div>
¡¡¡¡¡¡¡¡</td>
       <td width="20%" align=center>
¡¡¡¡¡¡¡¡¡¡ <div align="center"><a href="mailto:<%=Trim(List("Email"))%>"><%=Trim(Lis t("Email"))%></a></div>
¡¡¡¡¡¡¡¡</td>
¡¡¡¡
¡¡¡¡</tr>
¡¡¡¡ <%
¡¡¡¡ List.MoveNext
¡¡¡¡ i = i + 1
¡¡¡¡
            Loop



    %>
</table></center></div>
<br>
<BR>
<table align="center" width=100% border="0" cellspacing="1" cellpadding="0" bgcolor=#FFFFFF>
¡¡¡¡<tr align=left>
¡¡¡¡¡¡¡¡<td>
            <% If Session("CurrentPage") > 1 then %>

            <a href="allcustlist.asp?page=prev">Previous Page</a>

            <% end if %>

            <% If Session("CurrentPage") < List.PageCount then %>

            <a href="allcustlist.asp?page=next">Next Page`</a>

            <% end if %>


¡¡¡¡¡¡¡¡</td>
¡¡¡¡</tr>
</table>


<br />
<br />

<table cellspacing=0 cellpadding=0 align=center width=100%>
<tr>
    <td align="left"><a href="admin_list.asp">Back to Admin List</td>
</tr>
<tr>
    <td align=right>Page <%=Pageno%> / <%=List.PageCount%></td>
</tr>
</table>

</BODY>
</HTML>


<%
    End if
%>

 
Old January 12th, 2006, 02:24 AM
Authorized User
 
Join Date: Nov 2005
Posts: 13
Thanks: 0
Thanked 0 Times in 0 Posts
Default

http://www.aspfaq.com/show.asp?id=2376

 
Old February 3rd, 2006, 08:55 AM
Authorized User
 
Join Date: Feb 2006
Posts: 35
Thanks: 0
Thanked 0 Times in 0 Posts
Default

Hi !

 <%
¡¡¡¡ List.MoveNext
¡¡¡¡ i = i + 1
¡¡¡¡
            Loop



    %>

maby !

Code:
 <% 
           List.MoveNext 
           i = i + 1  
            Loop    
    %>



Steweb




I don’t Speak English very well, excuse me !

www.steweb.net





Similar Threads
Thread Thread Starter Forum Replies Last Post
Microsoft VBScript compilation error '800a03f6' jdutwell Classic ASP Basics 3 April 2nd, 2008 01:50 PM
Microsoft VBScript compilation error '800a03f6' ksrhyd Classic ASP Professional 0 October 11th, 2007 07:53 AM
Microsoft VBScript compilation error karlzoe Classic ASP Databases 2 December 29th, 2004 10:44 AM
Microsoft VBScript compilation error '800a0401' baistopgun BOOK: Beginning ASP 3.0 3 October 16th, 2004 12:52 PM





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