Hello,
I have two tables
1. Person
2. Doctor
DoctorId is in Person table as forfeign key.
I have created a form based on Query.
I am displaying person information (name, address, phone,..) along with its doctor info (Name, Address, tel). Name is in combo box which contains all doctors which are in doctor table.
For display its working fine but when try to change the doctor from combo box instead of changing Id in person table it creates new doctor record in docotr table... I also want that when i change doctor name from combo box its address and telephone should also change in respective text boxes.
Looking forward for solution.....
I have two tables
1. Person
2. Doctor
DoctorId is in Person table as forfeign key.
I have created a form based on Query.
I am displaying person information (name, address, phone,..) along with its doctor info (Name, Address, tel). Name is in combo box which contains all doctors which are in doctor table.
For display its working fine but when try to change the doctor from combo box instead of changing Id in person table it creates new doctor record in docotr table... I also want that when i change doctor name from combo box its address and telephone should also change in respective text boxes.
Looking forward for solution.....
Comment