RainLover
VIP From a land downunder
- Local time
- Today, 17:12
- Joined
- Jan 5, 2009
- Messages
- 5,041
Some of this is minor but still worth pointing out.
You have used a Value List. If this changes then YOU have to go in and fix it. No one else can. This is known as Hard Coding. You are better off with a separate table to store the values which can have greater access by other people.
Use a Combo Box the same as you have previously done.Give the Combo a proper name. Combo 23 has no meaning to it. Try CboMeal or CnboParient and so on. Do it now and as you build. Don't say I was going to come back to it.
If you are going to show your work to someone else make sure it is as tidy as possible.I usually put the Foreign key immediately under the primary. This is not a Rule just makes it easier to read at times.
TblPatients has some of those typical mistakes that some people do. No Spaces in Names. No # Do you really need to use the Data type Memo. You cannot search sort etc. on a MEMO field. 255 for a Text box is usually enough.You use note in the description of each field in a Table. I have never found a benefit in that but if you wish continue using it until you are more comfortable designing.
Now for the Business stuff and what is what.
The Patient is given food from the table tbljnFoodPapients. Appears to be ok. But is it????
There really can't be much wrong with tblPatients.In FoodMeals there is One record made up of a selection from Meals and another from Foods.
This is where your problem lies.
Can you explain the use of tbljnFoodMeals. I cannot come up with a single positive use for this table. Same will apply to the other join table although I have not looked at it yet. So put your SIMPLE ENGLISH hat on and enlighten me.
Please post the latest when you are ready. Can you change things to make opening it a little easier. I did have a few problems as I could only get to a Maximised Table.
You have used a Value List. If this changes then YOU have to go in and fix it. No one else can. This is known as Hard Coding. You are better off with a separate table to store the values which can have greater access by other people.
Use a Combo Box the same as you have previously done.Give the Combo a proper name. Combo 23 has no meaning to it. Try CboMeal or CnboParient and so on. Do it now and as you build. Don't say I was going to come back to it.
If you are going to show your work to someone else make sure it is as tidy as possible.I usually put the Foreign key immediately under the primary. This is not a Rule just makes it easier to read at times.
TblPatients has some of those typical mistakes that some people do. No Spaces in Names. No # Do you really need to use the Data type Memo. You cannot search sort etc. on a MEMO field. 255 for a Text box is usually enough.You use note in the description of each field in a Table. I have never found a benefit in that but if you wish continue using it until you are more comfortable designing.
Now for the Business stuff and what is what.
The Patient is given food from the table tbljnFoodPapients. Appears to be ok. But is it????
There really can't be much wrong with tblPatients.In FoodMeals there is One record made up of a selection from Meals and another from Foods.
This is where your problem lies.
Can you explain the use of tbljnFoodMeals. I cannot come up with a single positive use for this table. Same will apply to the other join table although I have not looked at it yet. So put your SIMPLE ENGLISH hat on and enlighten me.
Please post the latest when you are ready. Can you change things to make opening it a little easier. I did have a few problems as I could only get to a Maximised Table.
Last edited: