473,468 Members | 1,349 Online
Bytes | Software Development & Data Engineering Community
Create 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 6437
gold casper
3 New Member
hello

no body there to help me or what??
Jun 3 '06 #2
Niheel
2,460 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_no) 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_no));

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,'Hanan','Hussain','Ahmed','Sarhan',
'Hamad Town 1425A', 17443496,'Bahraini',
'27-Oct-92','16-Sep-98');

COMMIT;

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

COMMIT;

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

Insert into class values(2,'Second 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
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...
7
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...
0
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....
1
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...
4
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. ...
6
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...
1
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
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...
1
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...
0
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each...
0
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing,...
1
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome a new...
0
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...
0
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
0
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 ...

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.