Want to protect your cyber security and still get fast solutions? Ask a secure question today.Go Premium

x
?
Solved

Expected statement error  on my ASP page

Posted on 2005-03-16
2
Medium Priority
?
284 Views
Last Modified: 2012-06-27
I am getting the above error on my asp page and the code fails at the "<%WEND%> line. Any help will be appreciated


<% if RSEnvironmental("PROJ_ID")="" Then %>
    THIS IS NOT A ENVIROMENTAL PROPERTY
<% else %>
<table border="4" bordercolor="b0c4de" cellpadding="2" cellspacing="2" align="center">
<tr>
              <td><br><br><b>PROJECT ID</b></td>
                <td><br><br><%=RSEnvironmental("PROJ_ID")%> </td>
        </tr>
      
        <tr>
              <td><b> OWNER </b></td>
                <td><%=RSEnvironmental("OWNER")%></td>
        </tr>
        <tr>
              <td><b> OCCUPANT </b></td>
                <td><%=RSEnvironmental("OCCUPANT")%></td>
        </tr>

       <tr>
              <td><b>PROPERTY ADDRESS</b></td>
                <td><%=RSEnvironmental("PARCEL_ADD")%>&nbsp;<%=RSEnvironmental("STREET_NAM")%></td>
        </tr>

        <tr>
              <td><b>ENVIRONMENTAL DATABASE</b></td>
                <td><%=RSEnvironmental("ENV_DBASE")%></td>
        </tr>
        <tr>
              <td><b>PREVIOUS BUSINESS</b></td>
                <td><%=RSEnvironmental("PREV_BUSIN")%></td>
        </tr>
  </table>  

<%      RSEnvironmental.MoveNext%>
<%      WEND%>

<% end if %>
0
Comment
Question by:trwd
2 Comments
 
LVL 3

Accepted Solution

by:
alexandermancera earned 2000 total points
ID: 13557528
The problem is that there is not a while in the code. If it exists before the if, the wend should go after the end if.
0
 

Author Comment

by:trwd
ID: 13557624
hey Thanks I completely overlooked it. I somehow couldn't tell what was wrong. let's just say it hasn't been a great morning
0

Featured Post

Keep up with what's happening at Experts Exchange!

Sign up to receive Decoded, a new monthly digest with product updates, feature release info, continuing education opportunities, and more.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Hello, all! I just recently started using Microsoft's IIS 7.5 within Windows 7, as I just downloaded and installed the 90 day trial of Windows 7. (Got to love Microsoft for allowing 90 days) The main reason for downloading and testing Windows 7 is t…
This demonstration started out as a follow up to some recently posted questions on the subject of logging in: http://www.experts-exchange.com/Programming/Languages/Scripting/JavaScript/Q_28634665.html and http://www.experts-exchange.com/Programming/…
Integration Management Part 2
When cloud platforms entered the scene, users and companies jumped on board to take advantage of the many benefits, like the ability to work and connect with company information from various locations. What many didn't foresee was the increased risk…
Suggested Courses
Course of the Month15 days, 23 hours left to enroll

580 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question