Im trying to help my son with a school project his teacher assigned him so were both new and learning.
The assignment is that he is an employee for a bank and his boss wants him to create an access database for a simple check register so other employees can enter the check information. It has four fields in the table, the database we created in access is as follows:
payee - text field
check number - number field
date - date/time field with a date input mask
amount - currency
we saved this as project.mdb
We started a new application in VS 2005 and on form1 we created a new connection to the project.mdb database and tested the connection through the wizard and it tested fine. We then selected the table and the fields and we can see them in VS2005. We then dragged the four things out onto the form1 but when we go to test the form to make sure you can enter new information into it it is not working. It wont save the test data that we entered into the fields such as check number and date and payee and amount. What coding do we need to add or what steps did we miss.
The assignment is that he is an employee for a bank and his boss wants him to create an access database for a simple check register so other employees can enter the check information. It has four fields in the table, the database we created in access is as follows:
payee - text field
check number - number field
date - date/time field with a date input mask
amount - currency
we saved this as project.mdb
We started a new application in VS 2005 and on form1 we created a new connection to the project.mdb database and tested the connection through the wizard and it tested fine. We then selected the table and the fields and we can see them in VS2005. We then dragged the four things out onto the form1 but when we go to test the form to make sure you can enter new information into it it is not working. It wont save the test data that we entered into the fields such as check number and date and payee and amount. What coding do we need to add or what steps did we miss.