private void formScreen(String action,
							  Connection database,
							  HttpSession session,
							  HttpServletRequest request,
							  PrintWriter webPageOutput)
	  {
	  int descriptionNumber=0;
	  String description="";
	  Routines.tableStart(false,webPageOutput);
	  if("Change Description".equals(action))
		{
		try
		  {
		  Statement sql=database.createStatement();
		  ResultSet queryResult;
		  queryResult=sql.executeQuery("SELECT DescriptionNumber " +
									   "FROM playdescriptions " +
									   "ORDER BY Sequence DESC");
		  int tempDescriptionNumber=0;
		  while(queryResult.next())
			   {
			   tempDescriptionNumber=queryResult.getInt(1);
			   int currentSequence=0;
			   if("true".equals(request.getParameter(String.valueOf(tempDescriptionNumber))))
				 {
				 queryResult=sql.executeQuery("SELECT DescriptionNumber,Description " +
											  "FROM playdescriptions " +
											  "WHERE DescriptionNumber=" + tempDescriptionNumber);
				 if(queryResult.first())
				   {
				   descriptionNumber=queryResult.getInt(1);
				   description=queryResult.getString(2);
				   }
				 else
				   {
				   Routines.writeToLog(servletName,"Unable to find playdescription (" + tempDescriptionNumber + ")",false,context);	
				   }
				 }
			   }
			}
	   catch(SQLException error)
			{
			Routines.writeToLog(servletName,"Unable to retrieve playdescription : " + error,false,context);	
			}
	  Routines.tableHeader("Amend details of description",2,webPageOutput);
	  }
	  if("New Description".equals(action))
		{
		Routines.tableHeader("Enter details of new description",2,webPageOutput);
		}
	  Routines.tableDataStart(true,false,false,true,false,5,0,"scoresrow",webPageOutput);
	  webPageOutput.print("Description");
	  Routines.tableDataEnd(false,false,false,webPageOutput);
	  Routines.tableDataStart(true,false,false,false,false,75,0,"scoresrow",webPageOutput);
	  webPageOutput.print("<INPUT TYPE=\"TEXT\" NAME=\"descriptionName\" SIZE=\"30\" MAXLENGTH=\"30\" VALUE=\"" + description + "\">");
	  Routines.tableDataEnd(false,false,true,webPageOutput);
	  Routines.tableEnd(webPageOutput);
	  webPageOutput.println(Routines.spaceLines(1));
	  Routines.tableStart(false,webPageOutput);
	  Routines.tableHeader("Actions",1,webPageOutput);
	  Routines.tableDataStart(true,true,false,true,false,0,0,"scoresrow",webPageOutput);
	  if("New Description".equals(action))
		{
		webPageOutput.println("<INPUT TYPE=\"SUBMIT\" VALUE=\"Store New Description\" NAME=\"action\">");
		}
	  else
		{
		webPageOutput.println("<INPUT TYPE=\"SUBMIT\" VALUE=\"Store Changed Description\" NAME=\"action\">");
		}
	  webPageOutput.println("<INPUT TYPE=\"SUBMIT\" VALUE=\"Cancel\" NAME=\"action\">");
	  Routines.tableDataEnd(false,false,true,webPageOutput);
	  Routines.tableEnd(webPageOutput);
	  webPageOutput.println("<INPUT TYPE=\"hidden\" NAME=\"jsessionid\" VALUE=\"" + session.getId() + "\">");
	  webPageOutput.println("<INPUT TYPE=\"hidden\" NAME=\"skillNumber\" VALUE=\"" + descriptionNumber + "\">");
	  webPageOutput.println("</FORM>");
	  }