Click here to Skip to main content
15,888,527 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
I'm writing code for a checkbook register project.
Criteria:
1). I have to be able to create multiple accounts.
a). Name, address, phone #...
2). Issue multiple checks within each account.
3). Show the running balance for each account.
4). Save info for each account to disk.


Thanks
Posted
Updated 26-Nov-10 18:08pm
v3
Comments
Sandeep Mewara 25-Nov-10 5:06am    
What indexing? Your question is not clear. Please edit and update the scenario. One should be able to save multiple checks for an account.
Abhinav S 27-Nov-10 1:17am    
So where are you facing a problem?

Quote: "I'm writing code for a checkbook register project."

What computer language are you using and how far have you got up to now. Try showing some of your work, where you have a problem and people will try to help you.

But please don't expect to receive a custom built application for nothing.
 
Share this answer
 
Comments
supposei 29-Nov-10 0:50am    
Being new at programming as of this semester, I just trying to get a handle on how to star this project.
supposei 1-Dec-10 21:25pm    
Visual Basic 2010
I'm not sure if I'm responding to the correct place. What I thought might work is, since I'm required to have:
1) Chk #
2) Date
3) Transaction Description
4) Payment Amount
5) Deposit Amount
6) Balance

To be able to access all information for a given check at once, I would use label boxes to create the cells, unless there's a better way to do it. All entries for a given check would be connected something like
".Items.Add(Check#Items.Items(Check#Items.SelectedIndex))"

Any help is appreciated.
 
Share this answer
 
Comments
Richard MacCutchan 29-Nov-10 3:18am    
Try this link: http://www.charlespetzold.com/dotnet/ for some basic help on writing C# programs.
I will explain it in C# which is the language in .net to write programs.
Its simple as you think. First of all create database using SQL2005 or any version you have. To create a database you need to use sql commands. That i will give you. But first of all u need sql, install it. you can install sql2005 express and sql 2005 management studio(both should be installed).
after that open it in start>sql2005>sql2005 management studio. now in file new queary. write this command
create database <database name>;

database name its ue wish u can name it as bank or accountsdb. Example:-
create database accountsdb;

and compile it using sql u will have a play button in toolbar just press it. It will compile and your databse will be created. Next create tables select database by using.
use <database name="">;</database>

and compile. create a table according to u r requirements. Now in visual studio. Create a new windows forum. Import the name space at the top.
using System.Data.Sqlclient;

Next Connect your windows forum to database. This method is called ADO.NET in .net. Next is Connection string which specifies where to connect and whome to connect and what kind of database and what is databse. use this line
SqlConnection con=new SqlConnection

("Here you have to give the connection string"); connection string means which hols connecton data like connection name,type security,database user name and password deatails, command to be exicuted for sql. means u want to see data in a tabel or write a data in table or update exising tabe with new values.
for this u need to use
SqlCommand comm=new SqlCommand();
 
Share this answer
 
v6
Comments
Richard MacCutchan 28-Nov-10 4:39am    
Tidied up formatting and removed email id.

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900