Hi,
I have Three tables
1)
create table emp(
emp_id varchar2(6) constraint pk_emp_id primary key,
emp_name varchar2(40));
2)
create table dept_mst(
emp_id varchar2(6),
dept_code varchar2(40) constraint pk_dept_code primary key,
constraint fk_dept_mst_Emp foreign key(emp_id)
references emp(emp_id));
3)
create table dept_det(
dept_code varchar2(6),
dept_name varchar2(40),
dept_mgr varchar2(40),
constraint fk_dept_det foreign key(dept_code)
references dept_mst(dept_code));
Now i want to make a form in which all these above tables will come now relation is like this
"emp is a master table of dept_mst"
"dept_mst is a master table of dept_Det"
I have created a form and started making entry
I ENTERED EMP_ID,EMP_NAME IN EMP TABLE IN FORM THEN IN THE DEPT_MST TABLE I HAVE ENTERED DEPT_CODE BUT AS SOON AS I TRY TO MAKE ENTRY IN DEPT_DET IT SHOWS A MESSAGE
"DO YOU WANT TO SAVE RECORDS"
CAN I AVOID THIS MESSAGE AND CAN I MAKE A FULL ENTRY IN FORM AT SAME TIME
Thanks in advance
I have Three tables
1)
create table emp(
emp_id varchar2(6) constraint pk_emp_id primary key,
emp_name varchar2(40));
2)
create table dept_mst(
emp_id varchar2(6),
dept_code varchar2(40) constraint pk_dept_code primary key,
constraint fk_dept_mst_Emp foreign key(emp_id)
references emp(emp_id));
3)
create table dept_det(
dept_code varchar2(6),
dept_name varchar2(40),
dept_mgr varchar2(40),
constraint fk_dept_det foreign key(dept_code)
references dept_mst(dept_code));
Now i want to make a form in which all these above tables will come now relation is like this
"emp is a master table of dept_mst"
"dept_mst is a master table of dept_Det"
I have created a form and started making entry
I ENTERED EMP_ID,EMP_NAME IN EMP TABLE IN FORM THEN IN THE DEPT_MST TABLE I HAVE ENTERED DEPT_CODE BUT AS SOON AS I TRY TO MAKE ENTRY IN DEPT_DET IT SHOWS A MESSAGE
"DO YOU WANT TO SAVE RECORDS"
CAN I AVOID THIS MESSAGE AND CAN I MAKE A FULL ENTRY IN FORM AT SAME TIME
Thanks in advance