SuperX-Kernmodul
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

28 lines
641 B

<%@ page import ="org.dbforms.config.DbFormsConfigRegistry,
java.sql.Connection,
java.sql.Statement,
java.sql.ResultSet" %>
<%
Connection conDbforms;
Statement st;
ResultSet l_rset;
conDbforms=null;
try {
conDbforms = DbFormsConfigRegistry.instance().lookup().getConnection(mandantenid);
} catch (Exception e) {
System.out.println("Error getting dbforms connection:"
+ e.getMessage());
}
st=conDbforms.createStatement();
l_rset = st.executeQuery("select sp_get_dbform_right('"+db_form_name+"',"+userid+") from xdummy");
if(l_rset.next()==true)
{
erlaubt=l_rset.getString(1);
}
l_rset.close();
st.close();
conDbforms.close();
%>