Hi all.
I just wish to let you know my background first before I get into asking my questions. I started out with Access in 2009, and learnt in Office 2003. We were taught Access by creating a School database (Pupils, Tutors, Certificates, Modules). This was a part of my college course in IT. Throughout that course, I have learnt a variety of subjects like programming, web design etc. Therefore, I am pretty confident when it comes to coding etc. Though, to be honest I have not played with Access since then.
On to my questions.
I am creating a basic database, with the whole purpose of it to expand in data (obviously) and tables throughout time. It's a school database, in the sense it will be holding the information of a number of schools, not the pupils, or teachers, just the school itself. So far I have two tables.
tbl_school:
I do not wish to be duplicating data. Something that I don't think we went over, or I can't remember going over.
So, so far I have created the 1 to 1 link, but when enforcing referential integrity, cascade update and delete I receive an error message. I do not have any data yet in tbl_passwords, and this is why I believe I am receiving that error message.
In an ideal world, what I wish to happen is that when I type in (or import) the School ID into tbl_passwords, the School name is populated from the information in tbl_school list.
Can this be done without a query? Or do I need to decompose one of my tables further?
Thank you and best regards
Paul
I just wish to let you know my background first before I get into asking my questions. I started out with Access in 2009, and learnt in Office 2003. We were taught Access by creating a School database (Pupils, Tutors, Certificates, Modules). This was a part of my college course in IT. Throughout that course, I have learnt a variety of subjects like programming, web design etc. Therefore, I am pretty confident when it comes to coding etc. Though, to be honest I have not played with Access since then.
On to my questions.
I am creating a basic database, with the whole purpose of it to expand in data (obviously) and tables throughout time. It's a school database, in the sense it will be holding the information of a number of schools, not the pupils, or teachers, just the school itself. So far I have two tables.
tbl_school:
- Education Board
- School ID (Primary Key)
- Type
- School Name
- Address
- Telephone
- School ID (Primary Key)
- School Name
- Password 1
- Password 2
- Password 3
I do not wish to be duplicating data. Something that I don't think we went over, or I can't remember going over.
So, so far I have created the 1 to 1 link, but when enforcing referential integrity, cascade update and delete I receive an error message. I do not have any data yet in tbl_passwords, and this is why I believe I am receiving that error message.
In an ideal world, what I wish to happen is that when I type in (or import) the School ID into tbl_passwords, the School name is populated from the information in tbl_school list.
Can this be done without a query? Or do I need to decompose one of my tables further?
Thank you and best regards
Paul