The Meal Plan module is where the user can record the weight of the components of the meals consumed.  The module consists of an upper and lower grid.  The upper grid is where the user enters the total weight of the meal, the calories, weight of carbohydrates, weight of total fat, and weight of protein of the meal.  Each of the meal components (except calories) is to be entered in grams.  The lower grid displays the overall statistics for the components of the meal.  

The user can select by menu which of the five meal components are displayed in the upper grid.  The lower grid will display only the components displayed in the upper grid.   If the user only desires to enter only a description of the meal consumed, then do not display any of the components.  This arrangement makes it very flexible for the user of the software.  The user can also determine, by menu selection,  whether the overall statistics grid is ever shown.  As a default condition, if the user does not display any of the five meal components, then the overall statistics is not displayed.

The Meal Plan module can print to paper the user data and the overall statistics.  One point of note is that currently when the user prints user data to paper, all five meal plan components are also printed to paper.  If the user chooses not to enter data into any of the meal plan components, a value of zero is entered the database for each of the five components.

The user can edit or delete an existing meal plan record.  

To edit an existing record, click the left mouse on the record in the upper grid the user chooses to edit.  Then click the left mouse on the Edit menu.  Scroll down to Edit A Record and click the left mouse on that menu selection.  All five meal components and the meal plan description will be visible for the user to edit.  The user can navigate from meal component to meal component by using the Tab key or hitting the Return key.  When the editing process is complete, press the "Enter the Meal Plan Data in the Database" button, and the changes will be entered into the database.

To delete an existing record, click the left mouse on the existing record in the upper grid.  Then click the left mouse on the Edit menu.  Scroll down to Delete A Record and click the left mouse on that menu selection.  A dialog box will appear requesting user confirmation to delete a record.  Remember, once a record is deleted from the database, it is gone forever.

To create a new meal plan record, press the "Create New Meal Plan Record" button.  Select a Meal Type - Breakfast, Lunch, Dinner, Snack, or Beverage by clicking on the down arrow.  You can enter your own meal type if your condition does not on the list shown.  The "Description of Meals Consumed" Column is exactly what it means.  Just describe the length of detail as you desire.  If you are on insulin and your diet limits you to a certain level of carbohydrates, the have the Carbs Column shown.  If your doctor limits your fat intake to a certain amount, then have the Total Fat column shown.  Some people with diabetes have kidney problems may be on a protein restricted diet.  If so, then have the protein column shown.  Just enter the weight in grams for the meal component shown.  Remember, calories is not a weight measurement.  I've designed the meal plan module to be very flexible for the user.




