I am using forms, etc in ASP and so need to know what the next number is available for use. I know the sql works, but for some reason I can't get it to print to the page.
I keep getting the following error: ASP 0185 (0x8002000E)Default property not found for object.
<% Set Conn = Server.CreateObject("ADODB.Connection"
%>
<!--#include file=../includes/dbann.asp-->
<%dim NextID
NextNum="select Max(ACS_ROLE_ID)+1 from jjwwp.ACS_ROLE"
set NextID = conn.Execute(NextNum)
response.write (NextID)
%>
I keep getting the following error: ASP 0185 (0x8002000E)Default property not found for object.
<% Set Conn = Server.CreateObject("ADODB.Connection"
<!--#include file=../includes/dbann.asp-->
<%dim NextID
NextNum="select Max(ACS_ROLE_ID)+1 from jjwwp.ACS_ROLE"
set NextID = conn.Execute(NextNum)
response.write (NextID)
%>