473,547 Members | 2,653 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

Need help with attendance project in oracle9i

3 New Member
Hi

I'm working in oracle9i form developer and report developer

I'm doing school attendance system to take the attendance for students but I don't know how many tables I need and how to make all the forms correctly

I've done a form for registering new students, for classes, attendance and reports form

attendance form here we should take the attendance I've used student and class table but it doesn't work with me even the reports I don't know how to make it, there should be a daily, weekly and monthly report for the attendance but I don't know how to do it and how to make connection between form and report

Please help me to do it, I have to submit my project tomorrow and I don't know what to do... I will be thankful for any help
Jun 2 '06 #1
3 6445
gold casper
3 New Member
hello

no body there to help me or what??
Jun 3 '06 #2
Niheel
2,456 Recognized Expert Moderator Top Contributor
You have to post the code where you seem to be having a problem with. We can't help you debug if you don't show the code and error messages you get.
Jun 3 '06 #3
gold casper
3 New Member
I still not having the code, I want to know how many feilds I need for developing an attendance form I tried to develop it and I create tables i can show you an example of that

Drop table Student CASCADE CONSTRAINTS;
Drop table Class CASCADE CONSTRAINTS;
Drop table Teacher CASCADE CONSTRAINTS;
Drop table Teacher_Class CASCADE CONSTRAINTS;
Drop table Main CASCADE CONSTRAINTS;
Drop table Attendance CASCADE CONSTRAINTS;
Drop table Period CASCADE CONSTRAINTS;


Create table Student
(st_cpr_no number(9) primary key,
st_f_name varchar(25), st_s_name varchar2(25),
st_m_name varchar2(25), st_l_name varchar2(25),
st_address varchar2(30),
st_phone_no number(8),
st_nationality varchar2(30),
st_dob date,
st_j_date date);

COMMIT;

Create table Teacher
(t_cpr_no number(9) primary key,
t_name varchar2(25),
t_address varchar2(30),
t_phone_no number(8),
t_nationality varchar2(30));

COMMIT;

Create table Class
(class_id number(1) primary key,
class_name varchar2(25));

COMMIT;
Create table Teacher_Class
(t_cpr_no number(9), class_id number(1),
FOREIGN KEY (t_cpr_no) REFERENCES teacher(t_cpr_n o) on delete cascade,
FOREIGN KEY (class_id) REFERENCES class(class_id) ,
PRIMARY KEY (t_cpr_no, class_id));

COMMIT;

Create table Period
(period_id number(4) primary key,
class_id number(1) constraint fk_classid references class(class_id) ,
t_cpr_no number(9) constraint fk_tcpr references teacher(t_cpr_n o));

COMMIT;

Create table Main
(st_cpr_no number(9) references student(st_cpr_ no),
class_id number(1) references class(class_id) ,
date_d date,
constraint pr2_key primary key(st_cpr_no, class_id));

COMMIT;

Create table Attendance
(st_cpr_no number(9)
CONSTRAINT st_cpr_no_nn not null,
absent_late varchar2(7),
CONSTRAINT absent_late_chk
check ( absent_late in ('Absent','Late ','Present')),
constraint st_cpr_pk primary key (st_cpr_no));

COMMIT;

Insert into student values
(921007314,'Han an','Hussain',' Ahmed','Sarhan' ,
'Hamad Town 1425A', 17443496,'Bahra ini',
'27-Oct-92','16-Sep-98');

COMMIT;

Insert into student values
(930607314, 'Layla','Ahmed' ,'Mansoor','Sal im',
'Isa Town 125', 17689866, 'Bahraini',
'27-Jun-1993','10-Sep-1999');

COMMIT;

Insert into class values(1,'First Primary');

Insert into class values(2,'Secon d Primary');

Insert into class values(3,'Third Primary');

Insert into class values(4,'Forth Primary');

Insert into class values(5,'Fifth Primary');

Insert into class values(6,'Sixth Primary');

Insert into class values(7,'First Intermediate');

Insert into class values(8, 'Second Intermediate');

Insert into class values(9,'Third Intermedaite');

COMMIT;

Insert into teacher values
(752036584, 'Sameeha Ahmed');


Insert into teacher values
(780703050, 'Amal Al Muraisi');

Insert into teacher values
(610045264, 'Juhaina Eid');

COMMIT;


I want to create a form in (oracle9i form developer), my question, is all that tables I need? and which one I can use to make attendance form that includes class id that when I choose it the student number and name should appear to me and from there I can choose from a combo to decide if this student present, absent or lat) can you show me how to do it?

thanks alot
Jun 8 '06 #4

Sign in to post your reply or Sign up for a free account.

Similar topics

1
1387
by: moischmoe | last post by:
I am using MS Access 2000. I have a database that I use to keep weekly attendance records. In my table, each record consists of the fields: name, week 1, week 2, week 3, ect...(each week I add a new week field). I use a yes/no button to place a checkmark under each week to indicate whether a person was present (checked), or absent (no check)....
7
1560
by: Chantelle | last post by:
I've been delighted with the responses I've had from all you guys in relation to the two queries I raised recently and I'm back with another challenge! Here goes. I've got this DB in A2K that handles Contacts and Events. There's 1820 Contacts and 71 Events so far. The core of the DB is 3 tables viz Contacts, Events and one called...
0
1247
by: shun | last post by:
Hello I strated a project "attendance register". consiists of user login and logintime and logout time using ASP.net. can any one help me, or any sites which have free source code about this. Thanks in advance. regards Shun
1
2555
by: Shun | last post by:
Hello, My requirement is to develop an Employee Attendance Register. For ex: I am in some X country and my office is in Y country. now my requirement is i want to check the employees present and also there previous days attendance(i.e complete Month employee Attendance). I am farwarding in 2 ways, 1. By searching in Google for any...
4
2450
by: nellu | last post by:
Hi i am working in Attendance Project. Back end Access. i want to generate monthly Attendance using java. i dont want excel format. i want to generate report for all employees. plz help me. thank u
6
1466
by: Brian Link | last post by:
Panicked, as usual. Who says it's great being a sole proprietor? Using MS-SQLServer: Three tables: A_Appointment, AX_Appointment_Entity and E_Entity. AX_Appointment_Entity is an intersect/association table between A_Appointment and E_Entity. One appointment may have many attendees (Appointment_Entity). One attendee (Entity) may have many...
1
2100
shreekim
by: shreekim | last post by:
any body help me by providing code help for maintaining the student attendance, mothwise reports, total attendance beetween 2 dates, subjectwise attendance etc
0
7437
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can effortlessly switch the default language on Windows 10 without reinstalling. I'll walk you through it. First, let's disable language...
0
7947
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven tapestry of website design and digital marketing. It's not merely about having a website; it's about crafting an immersive digital experience that...
1
7463
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows Update option using the Control Panel or Settings app; it automatically checks for updates and installs any it finds, whether you like it or not. For...
0
5081
by: conductexam | last post by:
I have .net C# application in which I am extracting data from word file and save it in database particularly. To store word all data as it is I am converting the whole word file firstly in HTML and then checking html paragraph one by one. At the time of converting from word file to html my equations which are in the word document file was convert...
0
3493
by: TSSRALBI | last post by:
Hello I'm a network technician in training and I need your help. I am currently learning how to create and manage the different types of VPNs and I have a question about LAN-to-LAN VPNs. The last exercise I practiced was to create a LAN-to-LAN VPN between two Pfsense firewalls, by using IPSEC protocols. I succeeded, with both firewalls in...
0
3473
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
1
1923
by: 6302768590 | last post by:
Hai team i want code for transfer the data from one system to another through IP address by using C# our system has to for every 5mins then we have to update the data what the data is updated we have to send another system
1
1050
muto222
by: muto222 | last post by:
How can i add a mobile payment intergratation into php mysql website.
0
748
bsmnconsultancy
by: bsmnconsultancy | last post by:
In today's digital era, a well-designed website is crucial for businesses looking to succeed. Whether you're a small business owner or a large corporation in Toronto, having a strong online presence can significantly impact your brand's success. BSMN Consultancy, a leader in Website Development in Toronto offers valuable insights into creating...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.