Hi All
One of my pages stopped working today with the error
Active Server Pages error 'ASP 0127'
Missing close of HTML comment
/Lawn/lawnprog/Print_invoices.asp, line 497
The HTML comment or server-side include lacks the close tag (-->).
I removed code until the page worked and then added code back until it failed. The code that worked is
I then added another IF like this
And it fails with the above error message! I have not changed this code for several months and the error does not seem to relate to the new code.
Any ideas please
One of my pages stopped working today with the error
Active Server Pages error 'ASP 0127'
Missing close of HTML comment
/Lawn/lawnprog/Print_invoices.asp, line 497
The HTML comment or server-side include lacks the close tag (-->).
I removed code until the page worked and then added code back until it failed. The code that worked is
Code:
<%
if designRS("Pay_Method") = "Yes" then %>
<tr><td style="border:0"><%=designRS("Pay_Method_Text")%></td></tr>
<%
if designRS("Pay_Cash") = "Yes" then %>
<tr><td style="border:0">• Cash</td></tr>
<%end if
if designRS("Pay_Bacs") = "Yes" then %>
<tr><td style="border:0">• Bacs: <%=CompanyRS("Bacs_No") %></td></tr>
<%end if
if designRS("Pay_Online") = "Yes" then %>
<tr><td style="border:0">• Online Payment: <%=CompanyRS("Bacs_No") %></td></tr>
<tr><td style="border:0"> (Please use your customer number '<%=BookingRS("CustID")%>' as your reference)</td></tr>
<%end if
end if %>
Code:
<%
if designRS("Pay_Method") = "Yes" then %>
<tr><td style="border:0"><%=designRS("Pay_Method_Text")%></td></tr>
<%
if designRS("Pay_Cash") = "Yes" then %>
<tr><td style="border:0">• Cash</td></tr>
<%end if
if designRS("Pay_Bacs") = "Yes" then %>
<tr><td style="border:0">• Bacs: <%=CompanyRS("Bacs_No") %></td></tr>
<%end if
if designRS("Pay_Online") = "Yes" then %>
<tr><td style="border:0">• Online Payment: <%=CompanyRS("Bacs_No") %></td></tr>
<tr><td style="border:0"> (Please use your customer number '<%=BookingRS("CustID")%>' as your reference)</td></tr>
<%end if
if designRS("Pay_Cheque") = "Yes" then %>
<tr><td style="border:0">jjkjdsfkjsdkjflskdlj</td></tr>
<tr><td style="border:0"> </td></tr>
<%end if
end if %>
Any ideas please