Hi there,
The error message you get could have been a little clearer, because the problem is related to your If statement. Funny thing is that when I reproduce the problem I get a different error message.
Anyway, you are mixing one-line If statements with 2 line statements:
If NOT rstSection.EOF then response.write rstSection("AerofoilName")Else Response.Write " "
works. But, IMO, it's better to use this:
If Not rstSection.EOF Then
Response.Write(rstSection("AerofoilName"))
Else
Response.Write(" ")
End If
This makes your code easier to read and less prone to errors.
Cheers,
Imar
---------------------------------------
Imar Spaanjaars
Everyone is unique, except for me.
|