protected void updateResultsTableName(ResultProducer rp) throws Exception {
  if (!isConnected()) {
    connectToDatabase();
  }
  if (!experimentIndexExists()) {
    createExperimentIndex();
  }
  String tableName=getResultsTableName(rp);
  if (tableName == null) {
    tableName=createExperimentIndexEntry(rp);
  }
  if (!tableExists(tableName)) {
    createResultsTable(rp,tableName);
  }
  m_ResultsTableName=tableName;
}

protected void updateResultsTableName ( ResultProducer rp ) throws Exception { if ( ! isConnected ( ) ) { connectToDatabase ( ) ; } if ( ! experimentIndexExists ( ) ) { createExperimentIndex ( ) ; } String tableName = getResultsTableName ( rp ) ; if ( tableName == null ) { tableName = createExperimentIndexEntry ( rp ) ; } if ( ! tableExists ( tableName ) ) { createResultsTable ( rp , tableName ) ; } m_ResultsTableName = tableName ; }
determines the table name that results will be inserted into . if required : a connection will be opened , an experiment index table created , and the results table created .
