0% found this document useful (0 votes)
198 views

Homework #4 CIS 166 - Validating Entries

This document provides instructions for homework assignment #4 which expands a checking account application. Students are asked to submit planning materials and project files that validate transaction entries for a checking account. The transaction entries must include date, amount, type of transaction, and processing status. Additionally, the form must display account balances and include controls to help the user correctly enter transaction information like a listbox to show all transactions and buttons to add transactions and clear entries.

Uploaded by

rriness
Copyright
© Attribution Non-Commercial (BY-NC)
Available Formats
Download as DOC, PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
198 views

Homework #4 CIS 166 - Validating Entries

This document provides instructions for homework assignment #4 which expands a checking account application. Students are asked to submit planning materials and project files that validate transaction entries for a checking account. The transaction entries must include date, amount, type of transaction, and processing status. Additionally, the form must display account balances and include controls to help the user correctly enter transaction information like a listbox to show all transactions and buttons to add transactions and clear entries.

Uploaded by

rriness
Copyright
© Attribution Non-Commercial (BY-NC)
Available Formats
Download as DOC, PDF, TXT or read online on Scribd
You are on page 1/ 1

Name: _________________________

Planning Materials (8 points): ______________


Project (17 points): ______________

Homework #4
CIS 166 – Validating Entries

This exercise expands the checking account application. Prepare materials that
describe the work to be performed. Copy your project files in a folder to the R: drive,
and turn in a printed copy of your code, your planning documents, and this sheet in
a folder. Make sure that your code includes comments. You may modify your earlier
homework or create a new project.

A transaction includes the following information: when the transaction occurred, the
amount of the transaction, the kind of transaction (deposit, withdrawal, service fee),
and whether the transaction has cleared the bank.
• The transaction amount should be tested to make sure it is a positive number.
• The transaction date should also be tested to be sure a date value has been
entered, and the date is on or before today.
• Each transaction must have a transaction type specified (deposit, service fee,
withdrawal).
• A withdrawal cannot cause the actual balance to be less than zero (a service fee
can result in a negative balance).

Two account balances need to be tracked: actual and processed (cleared). The
actual account balance changes when a new transaction is created IF all of the
requirements are met. The processed balance changes if all of the requirements are
met AND the transaction is marked as processed.

Create a form to capture transaction information and display account balances.


Choose controls to help the user enter information correctly. Include on your form:
• Add a listbox showing all transactions. When a new transaction is created, add
information about the transaction to the list box (date, amount, type of
transaction, and whether the transaction has been processed).
• A button to add a new transaction, display information in the listbox, and update
the account balances.
• A button to clear controls for entering a new transaction.
• A File Exit menu choice to exit the application.

12/10/10

You might also like