AndyHumpherson
Registered User.
- Local time
- Today, 09:15
- Joined
- Jun 25, 2012
- Messages
- 22
Hi
I’m embarking upon my first real access system for work, it’s to manage a pin number (access code) for people who use our service.
I had a look at database answers and couldn’t really find a good example data model so had to design the concept myself… I’ve got past the conceptual stage and have set up my tables and relationships as best I can.
Some description:
- A person (tbl_person) is allocated some information about them using a table called tbl_prescriber_details (prescriber is someone who uses our service) which records information such as work base and organisation) I have some preset ones set up already so that’s why I use a junction table.
- I have two tables which again act as junction tables for contact numbers (tbl_Contact_Allocation) and e-mail addresses (tbl_email_allocation) as I want to record types of contact number and e-mail.
- I also will record information about prescribers training sessions (tbl_training_bookings) and group them together using tbl_staff_groups.
There are two types of pin number a prescriber might have, and the information is different so I thought to split them.
Prescribing Pins (Tbl_Pin_Allocation) have a set element of 2 letters and 4 numbers which describe their job code and trust (which are related using tbl_job_codes and tbl_trust), and they also have a unique 4 number element at the end. Each job code also has some billing information attached (tbl_bill_ref).
Authorising pins (Tbl_Auth_PIN_Allocation) are different and each has a ref cat (tbl_authoriser_ref_cat) which describes what the authorising pin can do.
Each authorising and prescribing pin is also linked to a trust (tbl_trusts)
I know it’s now a good time to review and check so was hoping for some choice words of criticism from users here… I've attached the database to this post.
Now I’ve also done some testing using some test data and mostly it seems alright. However if you look at Qry_Register which is going to be the basis of my training course register I get an error message talking about “ambiguous outer joins” and suggesting I use two queries. I’ve never done this before – does anyone have any suggestions or links to good articles on this?
I suppose I should say that the system will replace an excel workbook and I aim for it to assist in the creation, allocation, amendment and cancellation of pins using a graphical interface, as well as managing training courses.
Thanks
I’m embarking upon my first real access system for work, it’s to manage a pin number (access code) for people who use our service.
I had a look at database answers and couldn’t really find a good example data model so had to design the concept myself… I’ve got past the conceptual stage and have set up my tables and relationships as best I can.
Some description:
- A person (tbl_person) is allocated some information about them using a table called tbl_prescriber_details (prescriber is someone who uses our service) which records information such as work base and organisation) I have some preset ones set up already so that’s why I use a junction table.
- I have two tables which again act as junction tables for contact numbers (tbl_Contact_Allocation) and e-mail addresses (tbl_email_allocation) as I want to record types of contact number and e-mail.
- I also will record information about prescribers training sessions (tbl_training_bookings) and group them together using tbl_staff_groups.
There are two types of pin number a prescriber might have, and the information is different so I thought to split them.
Prescribing Pins (Tbl_Pin_Allocation) have a set element of 2 letters and 4 numbers which describe their job code and trust (which are related using tbl_job_codes and tbl_trust), and they also have a unique 4 number element at the end. Each job code also has some billing information attached (tbl_bill_ref).
Authorising pins (Tbl_Auth_PIN_Allocation) are different and each has a ref cat (tbl_authoriser_ref_cat) which describes what the authorising pin can do.
Each authorising and prescribing pin is also linked to a trust (tbl_trusts)
I know it’s now a good time to review and check so was hoping for some choice words of criticism from users here… I've attached the database to this post.
Now I’ve also done some testing using some test data and mostly it seems alright. However if you look at Qry_Register which is going to be the basis of my training course register I get an error message talking about “ambiguous outer joins” and suggesting I use two queries. I’ve never done this before – does anyone have any suggestions or links to good articles on this?
I suppose I should say that the system will replace an excel workbook and I aim for it to assist in the creation, allocation, amendment and cancellation of pins using a graphical interface, as well as managing training courses.
Thanks