Win a copy of Think Java: How to Think Like a Computer Scientist this week in the Java in General forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

need a help ,any one make it soon

 
Deepthi Xavy
Ranch Hand
Posts: 32
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hai friends...

Am doing campus management system..in that for attendance module,for a student per month one column should be used..for the next month next entry has to be made in next row ..and so on...so that the number of entryies will be minimised & it will be easy to retrieve...can any one help me ut from here for this querry please...

Thanks in advance......
 
Ulf Dittmer
Rancher
Posts: 42967
73
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
That's a complete problem description (albeit lacking many details). Which part of this task are you having problems with? What do you have so far? If you haven't started, what ideas have you had?
 
Jan Cumps
Bartender
Posts: 2588
11
C++ Linux Netbeans IDE
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
You could use text column with 31 positions. One position per day.
Put in a '1' if the student attended, put in a '0' if the student was absent, on the position that matches the day.
If the student attended 1 to 3 september, and was absent on the 4th, you would get:


(disclaimer: I am not really a fan of composed columns, it's not quite as per the data normalization rules).
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic