public int saveFormRecord(Properties props) throws SQLException { String demographic_no = props.getProperty("demographic_no"); String sql = "SELECT * FROM formSatisfactionScale WHERE demographic_no=" + demographic_no + " AND ID=0"; FrmRecordHelp frh = new FrmRecordHelp(); frh.setDateFormat(_dateFormat); return ((frh).saveFormRecord(props, sql)); }
public Properties getPrintRecord(int demographicNo, int existingID) throws SQLException { String sql = "SELECT * FROM formSatisfactionScale WHERE demographic_no = " + demographicNo + " AND ID = " + existingID; FrmRecordHelp frh = new FrmRecordHelp(); frh.setDateFormat(_dateFormat); return ((frh).getPrintRecord(sql)); }
public String createActionURL(String where, String action, String demoId, String formId) throws SQLException { FrmRecordHelp frh = new FrmRecordHelp(); frh.setDateFormat(_dateFormat); return ((frh).createActionURL(where, action, demoId, formId)); }
public String findActionValue(String submit) throws SQLException { FrmRecordHelp frh = new FrmRecordHelp(); frh.setDateFormat(_dateFormat); return ((frh).findActionValue(submit)); }