请帮我看看这段代码哪儿出错了
刚开始接触asp 请大家帮忙 谢谢!!!set rs=server.CreateObject("adodb.recordset")
sql ="select Point HyBuyCoun from hy "
rs.Open sql,conn
Point=rs("Point")
HyBuyCoun=rs("HyBuyCoun")
If Point=左边 then
HyTjMoneyAll=CurrentEndMoney*0.1
ElseIf Point=中间 Then
HyTjMoneyAll=CurrentEndMoney*0.15
ElseIf Point=右边 Then
HyTjMoneyAll=CurrentEndMoney*0.2
End if