/beta/accounting/xml_GLAccount.asp
http://github.com/khaneh/Orders · ASP · 27 lines · 21 code · 3 blank · 3 comment · 5 complexity · b5a1b126e3b2b4bc017c684199c53372 MD5 · raw file
- <%@LANGUAGE="VBSCRIPT" CODEPAGE="1256"%>
- <!--#include file="../config.asp" -->
- <%
- if request("id")="" then
- ' response.write escape (" " )
- response.write escape (" " )
- response.end
- end if
-
- if not isnumeric(request("id")) then
- ' response.write escape ("! " )
- response.write escape (" " )
- response.end
- end if
-
- sql="SELECT * From GLAccounts WHERE id="& request("id") & " AND (GL="& OpenGL & ") ORDER BY Name"
- 'response.write sql
- set rs=Conn.Execute(sql)
- if (rs.EOF) then
- response.write escape (" " )
- else
- response.write escape( rs("name") )
- end if
-
- rs.close()
- conn.close()
- %>