anchor.diff:  
   		if(!dbcon.IsConnected())
   			alert("Connection to the database lost. Aborting.")
  +		if(!printid)
  +			alert("Invalid query. Try again.")
   		var/DBQuery/query = dbcon.NewQuery("SELECT id, name, data FROM aurora_forms WHERE id=[printid]")
   		query.Execute()
   
  
positive.code: 						var/id = query.item[1]
  						var/name = query.item[2]
  						var/department = query.item[3]
  						dat += "<tr><td>NCF-[id]</td><td>[name]</td><td><a href='?src=\ref[src];sort=[department]'>[department]</a></td><td><a href='?src=\ref[src];print=[id]'>Print</a></td></tr>"
  					dat += "</table>"
  					dat += text("<br><A href='?src=\ref[src];setScreen=11'>Reset Search</a>")
  				dat += text("<BR><A href='?src=\ref[src];setScreen=0'>Back</A><BR>")
  
negative.code: 
  				if(!dbcon.IsConnected())
  					dat += text("<font color=red><b>ERROR</b>: Unable to contact external database. Please contact your system administrator for assistance.</font>")
  					log_game("SQL database connection failed. Attempted to fetch form information.")
  				else
  					dat += {"<table border='1'>
  					<tr><th>NCF ID</th><th>Form Name</th><td></td><td></td><td></td></tr>"}
  
  					//For reference:
  					//Command forms, 	01xx series
  