FlashCardsProject/build/project/src/jf/flashcards/address/model/FlashCardDatabase.java
/**
	 * removes specified card from the specified flash card stack 
	 * called within FlashCardOverview through the remove button
	 * @param cardId
	 * @param stackTable
	 * @return true if successful else false
	 */
removes specified card from the specified flash card stack
called within FlashCardOverview through the remove button
@param cardId
@param stackTable
@return true if successful else false
removes specified card from the specified flash card stack called within FlashCardOverview through the remove button @param cardId @param stackTable @return true if successful else false
public static boolean removeCardFromStack(int cardId, String stackTable)
	{
		try {
			String deleteQuery = "DELETE FROM " + stackTable.toLowerCase()
								 + " WHERE id= " + cardId;
			stmt.executeUpdate(deleteQuery);
			return true;
		}
		catch(Exception e)
		{
			System.err.println( e.getClass().getName() + ": " + e.getMessage() );
			return false;
		}
	}
public static boolean removeCardFromStack ( int cardId , String stackTable ) { try { String deleteQuery = "DELETE FROM " + stackTable . toLowerCase ( ) + " WHERE id= " + cardId ; stmt . executeUpdate ( deleteQuery ) ; return true ; } catch ( Exception e ) { System . err . println ( e . getClass ( ) . getName ( ) + ": " + e . getMessage ( ) ) ; return false ; } }
removes specified card from the specified flash card stack
 called within FlashCardOverview through the remove button
 @param cardId
 @param stackTable
 @return true if successful else false
removes specified card from the specified flash card stack called within FlashCardOverview through the remove button @param cardId @param stackTable @return true if successful else false