Microsoft SQL Server
 
Forums: » Register « |  User CP |  Games |  Calendar |  Members |  FAQs |  Sitemap |  Support | 
 
User Name:
Password:
Remember me
 
Go Back   Dev Articles Community ForumsDatabasesMicrosoft SQL Server

Reply
Add This Thread To:
  Del.icio.us   Digg   Google   Spurl   Blink   Furl   Simpy   Y! MyWeb 
Thread Tools Search this Thread Display Modes
 
Unread Dev Articles Community Forums Sponsor:
Stay one step ahead of the competition. Evaluate and give feedback on some of the hottest web development tools on the market today. Make your opinion heard! Click Here
  #1  
Old October 21st, 2002, 02:12 PM
Nauman Nauman is offline
Twenty Seven
Dev Articles Newbie (0 - 499 posts)
 
Join Date: May 2002
Location: Multan, Pakistan
Posts: 103 Nauman User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: 1 h 33 m 2 sec
Reputation Power: 7
Send a message via ICQ to Nauman
Piece of cake!!!

Hello...

I've created an excel 2000 file (Included) to solve the requirement of my colony's funds. Now I want to change all the system to Access 2000. I've created four tables:

1. Personal (includes SNo as pk, Name, Income)
2. Total Budget (Aam, Jalsa, SNo as fk)
3. Recovery (Aam, Jalsa, SNo as fk)
4. Balances (Aam, Jalsa, SNo as fk)

You see in excel file there are some more columns represents the Months in which the fund that raised from people is listed. I dont know how to represent these months and received amount in months in Access Table.

Thanks...
Nauman Ahmed
Attached Files
File Type: zip budget.zip (14.0 KB, 438 views)

Reply With Quote
  #2  
Old October 22nd, 2002, 03:11 PM
JayeshJain JayeshJain is offline
Contributing User
Dev Articles Newbie (0 - 499 posts)
 
Join Date: Sep 2002
Location: Auckland,New Zealand
Posts: 31 JayeshJain User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: < 1 sec
Reputation Power: 6
Hi

I think the best way to do this will be to create one more table
(fund) with fields

personalkey,aam,jalsa,month,year ( is is for future compatiblility)

what i mean here is the personalkey is a foriegn key to the
personal table and will be used to link to each person

aam and jalsa shall have the amount with month and year

assume you have table personal
with field personalkey,name

so lets say you want to know the find raised by jayesh in month jan for year 2002

select aam,jalsa from personal,fund where fund.personalkey = personal.personalkey and month = "jan" and year ="2002"

you can skip the year part if you want to

hope this helps

cheers

jayesh jain

Reply With Quote
  #3  
Old October 23rd, 2002, 12:37 PM
Nauman Nauman is offline
Twenty Seven
Dev Articles Newbie (0 - 499 posts)
 
Join Date: May 2002
Location: Multan, Pakistan
Posts: 103 Nauman User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: 1 h 33 m 2 sec
Reputation Power: 7
Send a message via ICQ to Nauman
Thanks...Thanks...Thanks

Thanks a lot...

I've never thought of extra Month and year field

Thanks...
Nauman Ahmed

Reply With Quote
Reply

Viewing: Dev Articles Community ForumsDatabasesMicrosoft SQL Server > Piece of cake!!!


Thread Tools  Search this Thread 
Search this Thread:

Advanced Search
Display Modes  Rate This Thread 
Rate This Thread:


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
View Your Warnings | New Posts | Latest News | Latest Threads | Shoutbox
Forum Jump


Forums: » Register « |  User CP |  Games |  Calendar |  Members |  FAQs |  Sitemap |  Support | 
  
 





© 2003-2008 by Developer Shed. All rights reserved. DS Cluster 4 hosted by Hostway